1,374 questions
1,493 answers
3,332 comments
265 users
Hi,
I am trying to use ramp: to control panning from one side to another while playing a sample. Is there a way to know the duration of a sample playback with different frequency in GenericSourde if it is not looping so i can finish a ramp just in time when the sample is finished? Or I should use another prototype for the purpose?
Thanks,
Allen
Hi Allen,
you could try this: 1 ramp: ('sample name with ending e.g. wav or aif' sampleFileDuration s / !Rate)
!Rate is the ratio between the default frequency and the different frequency.