Thanks Roland but the Jean-Louis response is what i need!
Thanks

Il giorno mar 22 mar 2022 alle ore 13:32 Jean-Louis Paquelin <
jean-lo...@paquelin.net> ha scritto:

> Hello,
>
> Here is a simple sequencer function. It doesn't provide a gate signal to
> trigger an envelope but I (or you) can add it if you need.
> sequencer(NOTE_COUNT, notes, trigger) = notes : ba.selectn(NOTE_COUNT,
> selection)
> with {
> selection = trigger : +(NOTE_COUNT) : (+ : %(NOTE_COUNT)) ~ _;
> };
>
> period = 60 * ma.SR / hslider("BPM", 120, 30, 300, 1) : int;
> process = ba.pulse(period) : sequencer(3, (60, 62, 64)) : ba.midikey2hz :
> os.osc;
>
> You can change the number of notes in the first sequencer() parameter (and
> provide a different note sequence in the second parameter) but this number
> must be known at compile time because ba.selectn() requires it.
>
> Best,
>
> jlp
>
>
> Le lun. 21 mars 2022 à 21:58, francesco mulassano <
> francesco.mulass...@gmail.com> a écrit :
>
>> Hi, for prototyping purpose
>> i'm searching for a simple faust step sequencer for triggering melodies
>> while developing the synth dsp part.
>>
>> Any suggestions?
>> Thanks
>> Ciao
>> _______________________________________________
>> Faudiostream-users mailing list
>> Faudiostream-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>>
>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to