Setting buffer sample rate?

anstahc's icon

It's "sr #" message in Max, but how do you do this in gen?

Thanks

Evan's icon

samplerate will give you the sampling rate of the DSP, which will be constant throughout the gen patch. If you want to change sample rate you'll have to upsample/downsample using one of the techniques available (poly, etc.).

I think - there might be something that I'm unaware of here, so if I'm wrong feel free to correct me!