First time here? Check out the FAQ!
x

Getting Playtime of a Sample

0 votes
332 views

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

asked Aug 13, 2018 in Sound Design by experimental-music-studios (170 points)

1 Answer

0 votes

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.

answered Aug 13, 2018 by knut-kaulke (Adept) (2,050 points)
...