groove~ time index


    Feb 19 2007 | 2:00 pm
    Is it possible to get groove~ to output a time index, in other words the current playback position within the sample, mapped between 0. and 1. and regardless of loop points? I need an hslider to accurately report the playback position within the entire sample, even when I adjust the loop points.
    Thanks!

    • Feb 19 2007 | 6:17 pm
      Quote: Aluxxes wrote on Mon, 19 February 2007 06:00
      ----------------------------------------------------
      > Is it possible to get groove~ to output a time index, in other words the current playback position within the sample, mapped between 0. and 1. and regardless of loop points? I need an hslider to accurately report the playback position within the entire sample, even when I adjust the loop points.
      >
      > Thanks!
      ----------------------------------------------------
      It already outputs a sig~ from 0 to 1 via the right outlet. You can change that to a float with number~ or snapshop~. Then you just have to do the math to map that number properly to your hslider as you change the loop points.
    • Feb 19 2007 | 10:52 pm
      Jack Rosete wrote:
      > Is it possible to get groove~ to output a time index, in other words
      > the current playback position within the sample, mapped between 0.
      > and 1. and regardless of loop points? I need an hslider to
      > accurately report the playback position within the entire sample,
      > even when I adjust the loop points.
      You could create the loop other than with the loop functionality of
      groove~, just readjust the position according to the position outlet...
      Stefan
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com
    • Feb 19 2007 | 11:37 pm
      On Feb 19, 2007, at 6:01 AM, Jack Rosete wrote:
      >
      > Is it possible to get groove~ to output a time index, in other
      > words the current playback position within the sample, mapped
      > between 0. and 1. and regardless of loop points? I need an hslider
      > to accurately report the playback position within the entire
      > sample, even when I adjust the loop points.
      >
      > Thanks!
      Like this? (pardon the mess, just whipped this up)
      _Mark
      max v2;
    • Feb 20 2007 | 12:01 am
      That is a great solution Mark, I think that will solve my problem, thanks...
    • Feb 20 2007 | 6:20 am
      Mark Pauley wrote:
      >> Is it possible to get groove~ to output a time index, in other words
      >> the current playback position within the sample, mapped between 0.
      >> and 1.
      A snapshot~ in polling mode is evil, it will eat you scheduler cycles
      for breakfast. An edge~ version below without built-in looping to get
      the correct report for position...
      --
      Stefan Tiedje------------x-------
      --_____-----------|--------------
      --(_|_ ----|-----|-----()-------
      -- _|_)----|-----()--------------
      ----------()--------www.ccmix.com