Hallo, Gerda Strobl hat gesagt: // Gerda Strobl wrote:
Padawan12 was so kind to send me an exemple patch, using audio rate comparision.
[phasor~ 0.1] | | [*~1000] | | [>~750] But I still dont get how to do this with normal audiofile where amplitude is not sawtooth like.
As Georg mentioned it depends on how you play the file. If you load it into a table with soundfiler and play it with [tabread4~] from there, you already have the index where to stop from the signal feeding the [tabread4~].
If you're playing with [readsf~] it's a bit harder. But you know when you start the file because you did bang [readsf~] at that time. So what I would do is to also bang a [vline~] at that point and let it go for a long time at the speed of your sample rate. See attached patch for the principle in action.
Frank Barknecht _ ______footils.org_ __goto10.org__