Audio Timeline

    Jul 02 2013 | 3:25 pm
    Hey guys,
    I had a look through the forum but could not really find what I needed here.
    Could someone advice me on whether it is possible to create a timeline which monitors a playing audio file?
    I have a buffer, groove and gizmo working to play an audio file which I can change the speed without affecting the pitch.
    This works just fine but I want to monitor where in the audio file it currently is and bang when it is at the beginning and end. I did in fact see something in a patch a few months ago that did this I think, but I can't find it/can't remember looking into how this was achieved.
    So if anyone has any ideas, it would be really appreciated. Not sure if it is worth me posting the patch of the buffer etc, because its pretty straight forward.
    All the best,

    • Jul 02 2013 | 3:45 pm
      the right output of groove~ is a signal that goes from 0 to 1 as the, indicating the current position. send that to a snapshot~ and then to a slider, with the float output enabled and range set from 0. to 1.
    • Jul 02 2013 | 3:58 pm
      the above solution is the simplest and most efficient. if you are using the waveform object you could do it like this:
    • Jul 02 2013 | 4:12 pm
      Nice one mate, struggled with it for some reason but finally got it working!
      Thanks a lot, thought I would post it in case anybody else needed help with it.
      All the best,
    • Jul 02 2013 | 4:46 pm
      wow that is a lot more impressive than mine haha.
    • Jul 02 2013 | 9:03 pm
      Quick question.
      I have a float connected to the output of the slider and I have a match 0.9 connected to the float. The problem is, it is not banging when the number travels past the number (its going up and down). It does when I use the mouse to drag the float to the number so why won't it bang when the slider is moving via the groove~
      all the best
    • Jul 02 2013 | 11:37 pm
      Match looks for an exact match, which is fairly unlikely to happen on a dependable basis with floating point values. (if you look closely, you'll discover that the right outlet signal of groove~ is approximately 0-1; not every cycle hits the same values)
      Look for the transition and you'll have it. Try > 0.9, change, then sel 1.
    • Jul 03 2013 | 11:59 am
      works perfect that peter, cheers.
      Another question relating to this, bit more tricky I fear. The system I am creating is basically starting the audio file, and then reversing it when it gets to 0.9 then I have been trying to get it to play normal when the reverse gets to 0.1. However, I used a similar method to the one you suggested >0.9 etc, but I changed it to < 0.1. This doesnt work though because the starting point of the audio file is 0.
      So is there are a way of getting around this by ignoring the
      All the best
    • Jul 03 2013 | 3:00 pm
      yeah - look for whether you're in reverse and only use the data from the
    • Jul 03 2013 | 3:01 pm
      The right outlet of groove~ does go all the way from 0 to 1, so you can use >=~ and Maybe something like this?