Randomize Groove


    May 13 2007 | 1:51 am
    I am making a somewhat unsophisticated sequencer in conjuction with the groove~ and buffer~ objects. I have attempted to implement a random~ object in order to make the output of the select~ object random, but have not had luck yet. Any suggestions for how to use the random function in this instance, or a better way to get each of the 16 sound files to play at random intervals?
    max v2;

    • May 13 2007 | 2:29 am
      Quote: emily.voegtlin@gmail.com wrote on Sat, 12 May 2007 18:51
      ----------------------------------------------------
      > I am making a somewhat unsophisticated sequencer in conjuction with the groove~ and buffer~ objects. I have attempted to implement a random~ object in order to make the output of the select~ object random, but have not had luck yet. Any suggestions for how to use the random function in this instance, or a better way to get each of the 16 sound files to play at random intervals?
      ----------------------------------------------------
      I don't actually see any random~ object (or random) in your patch. Did you mean for the counter between the metro and the select objects to be a random object? That would randomly switch what buffer~ your groove~ is using every metro bang, but this would be at regular intervals, not at random intervals as you mention. For that, you'd have to devise a different way of generating bangs or randomly change the speed of the metro. I'd also suggest looking at sfplay~ and preloading all of those soundfiles as cues rather than filling up all of those buffers.
      Lewis
    • May 13 2007 | 8:47 am
      On 13 May 2007, at 3:29, Lewis Keller wrote:
      > but this would be at regular intervals, not at random intervals as
      > you mention. For that, you'd have to devise a different way of
      > generating bangs or randomly change the speed of the metro.
      If you haven't already, get hold of the RTC-lib (from Karlheinz
      Essl), and the basic Litter package (from Peter Castine). Lots of
      different ways of generating random numbers.
      David
    • May 13 2007 | 4:21 pm
      And my random package at www.timara.oberlin.edu/GaryLeeNelson
      On 5/13/07 4:47 AM, "David Stevens" wrote:
      >
      > On 13 May 2007, at 3:29, Lewis Keller wrote:
      >> but this would be at regular intervals, not at random intervals as
      >> you mention. For that, you'd have to devise a different way of
      >> generating bangs or randomly change the speed of the metro.
      >
      > If you haven't already, get hold of the RTC-lib (from Karlheinz
      > Essl), and the basic Litter package (from Peter Castine). Lots of
      > different ways of generating random numbers.
      > Look on : http://www.maxobjects.com
      >
      >
      > David
      Cheers
      Gary Lee Nelson
      Oberlin College
      www.timara.oberlin.edu/GaryLeeNelson
    • May 14 2007 | 5:49 pm
      I'd imagine theres alot easier ways to do what you are trying to, if its a case of picking files- why not put the files all into one long file and create loop points within it- so just moving around one buffer - somewhat like Steims LISA - certianly be nicer to your processer and you wouldnt have to worry about selector~! - else I'd use gate~ + you need to use the max random into the selector- not the msp one.
      Hope this helps
      T