[Csnd] local sample rate
| Date | 2025-03-03 19:11 | 
| From | Parham Izadyar  | 
| Subject | [Csnd] local sample rate | 
Hi, i would appreciate it if you help me:
i need a local sampling rate inside an instrument which be different from global sr value.
which allows me to have a higher sampling rate than my soundcard's sr (to avoid aliasing)
is there any opcodes or UDOs similar to setksmps for sr? 
i searched around and found these opcodes:
upsamp and downsamp
but im not sure these are the solution for my needs
thank you in advance
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here | 
| Date | 2025-03-03 19:36 | 
| From | "Jeanette C."  | 
| Subject | Re: [Csnd] local sample rate | 
Hello Parham,
AFAIK only Csound 7, which is in Beta, allows that. And you are right, upsamp 
doesn't do that.
Best wishes,
Jeanette
-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c
If only I could trade the fancy cars
For a chance today,
it's incomparable <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here | 
| Date | 2025-03-03 19:58 | 
| From | joachim heintz  | 
| Subject | Re: [Csnd] local sample rate | 
thanks jeanette!  what is it in CS7?  any new opcode?
On 03/03/2025 20:36, Jeanette C. wrote:
> Hello Parham,
> AFAIK only Csound 7, which is in Beta, allows that. And you are right, 
> upsamp doesn't do that.
> 
> Best wishes,
> 
> Jeanette
> 
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here | 
| Date | 2025-03-03 20:20 | 
| From | "Jeanette C."  | 
| Subject | Re: [Csnd] local sample rate | 
Hi Joahcim,
I'm sorry, I don't know. I just heard that CS7 has a facitility to set a local 
samplerate. A friend of mine read it or heard it on one of the Csound 
meetings. It got mentioned, because it sounds like a brilliant feature for a 
few techniques.
Best wishes,
Jeanette
-- 
  * Website: http://juliencoder.de - for summer is a state of sound
  * Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
  * Audiobombs: https://www.audiobombs.com/users/jeanette_c
  * GitHub: https://github.com/jeanette-c
If only I could trade the fancy cars
For a chance today,
it's incomparable <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here | 
| Date | 2025-03-03 20:29 | 
| From | joachim heintz  | 
| Subject | Re: [Csnd] local sample rate | 
thanks --- i have an idea whom to ask ...
On 03/03/2025 21:20, Jeanette C. wrote:
> Hi Joahcim,
> I'm sorry, I don't know. I just heard that CS7 has a facitility to set a 
> local samplerate. A friend of mine read it or heard it on one of the 
> Csound meetings. It got mentioned, because it sounds like a brilliant 
> feature for a few techniques.
> 
> Best wishes,
> 
> Jeanette
> 
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here | 
| Date | 2025-03-03 22:42 | 
| From | Victor Lazzarini <000010b17ddd988e-dmarc-request@LISTSERV.HEANET.IE> | 
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] local sample rate | 
oversample and undersample are the new opcodes for SR conversion to local sr in UDOs. https://github.com/csound/manual/blob/csound7/opcodes/oversample.xml https://github.com/csound/manual/blob/csound7/opcodes/undersample.xml They don’t seem to have been added yet to the new manual. ======================== Prof. Victor Lazzarini Maynooth University Ireland > On 3 Mar 2025, at 20:20, Jeanette C.  | 
| Date | 2025-03-04 20:48 | 
| From | joachim heintz  | 
| Subject | Re: [Csnd] [EXTERNAL] [Csnd] local sample rate | 
fantastic extension --- thanks! On 03/03/2025 23:42, Victor Lazzarini wrote: > oversample and undersample are the new opcodes for SR conversion to local sr in UDOs. > > https://github.com/csound/manual/blob/csound7/opcodes/oversample.xml > > https://github.com/csound/manual/blob/csound7/opcodes/undersample.xml > > They don’t seem to have been added yet to the new manual. > ======================== > Prof. Victor Lazzarini > Maynooth University > Ireland > >> On 3 Mar 2025, at 20:20, Jeanette C.  |