@toxonic well.. it's a little of both.
the idea is, to have loads of samples in the 1-2 second range, but also a bunch in the 5 second range and then some longer ones.. picked by random and played together as "songs". by a couple of hundred samples, the idea is that by all the possible combinations, there will be millions of songs.
so, imagine we have three pools of sound samples (vocals, guitar and drums, for instance) of different lengths, and we want a sound from each pool to be played simultaneously, by random
picking them by random and playing is easy enough, but what if we want them to be played so they fit to each other? ie. samples should only be played along other samples of the same length, more or less.
i imagine it's possible to first sort them size-wise and then pick them by random?
You have a lot of zeros flying in from the [*] at the same time as the data and that is the problem.
A couple of spigots will solve it..... buggy.pd
Just changed.... I had the spigot defaults the wrong way around.
oh wow.. you are a hero!
i learned something today... spigot, interesting object!
i think select or route can solve your problem, but perhaps select makes more sense in your case:
edit: i think i misunderstood the problem
ooh, this looks fine. a bit less messy than my sequencing hack!
i have this strange problem i can't figure out, maybe i just don't get it or this is one of the quirks of PD...
i'm working on a step sequencer. the sequencing bit is working as i want it to. no problem.
it has two settings, normal counting and random counting ... 1, 2, 3, 4, 1, 2, 3, 4, etc. and random (in the range of 4). i have a switch between them to select which to run. easy.
my problem is, the hratio that i put in to illustrate which of the steps are active, only works on one of the two settings.
i tried putting in a hratio for each of the settings and that works fine, but it'd be silly to have two hratios when i can have one.
i have a feeling i'm overlooking something really simple. does anyone have an idea?
thanks in advance,
Even more chaotic 8-step sequencer.
Each step has square wave oscillator, sine wave oscillator, wav file sampler and noise generator.
Lenght of steps can be controlled, overall and individually, and sequentially muted.
Two square wave oscillators modulate each other and a third one modulates the combined two. Optional random frequency modulation on each one of them with control for range and speed.
Sine wave oscillators can be pure, randomized with control of range and tempo, with up/down sweeps or LFO.
Samplers can be set to start and end of loop, playback speed goes from -200% (reverse playback) to 200%.
Generators and left/stereo/right outputs on each step can be sequenced.
Each step has stereo delay.
Recording to wav files possible.
latest version here: http://pd.noiselove.net/PELLE8001-1.7.3.pd
i've been mucking about in PD for some years, but lately taking it more serious.. i'd like to share my first patch, that i feel is worth sharing:
it's a chaotic sequencer/rhythmic noise generator.
Each step has square wave oscillator, sine wave oscillator and a wav file sampler.
Two square wave oscillators modulate each other and a third one modulates the combined two. Optional random frequency modulation on each one of them with control for range and speed. Sine wave oscillators can be pure or with up/down sweeps or LFO. Samplers can be set to start and end of loop, playback speed goes from -200% (reverse playback) to 200%. Generators and left/stereo/right outputs on each step can be sequenced.
Bugs: all outputs are set to right on start-up, division by zero on samplers.
patch is here:
a sample of me jamming on it here:
http://mp3.shitcore.org/PELLE8000, as played by NOISEBOB, 190120.mp3