Post by mo13 on Feb 22, 2022 12:42:16 GMT
Hello, I can use some help with a (drum trigger) sequencer that sends 10 notes from 0 to 9, coming in from different channels.
First part - The first 6 notes which are arriving from Ch. 1, I'd like to have notes 0 & 2 (aka Kick & Snare) always go through, but also have only note 2 randomly shuffle with note 7 which is another Snare on another device.
The rest come out randomized in a note range of 0-7 (as the receiving device has 8 notes) outgoing on Ch.12
90 00 - always through
90 01 - random
90 02 - only go out random - but either note 2 or 6 ( round robin it's called it I thnk )
90 03 - +R
90 04 - +R
90 05 - +R
90 06 - +R
09 07 - +R
only notes on with forced velocity 7F should go out.
first part is not yet implemented in the below script
Second part - notes 6-9 arriving from Ch.13 to 16. always have send out random PC's with 50% probability, in range of PC 0-15 outgoing on ch.4 (+block the notes)
I've compiled a few bits and pieces from the forum for learning purposes and added to my own :
# make random probability gaps in incoming notes
IF LOAD
ASS K0 = 32
IF MT == 90
IF M2 > 0
IF R64 > K0
XX = XX +B
Block
Block
End
END
END
END
# limit randomization range
If MT == 90
Calc M1 = $0 + R$15 +P
End
#additional notes 6-9 to triggering random PC's
9C = C3 +C
9D = C3 +C
9E = C3 +C
9F = C3 +C
XX = XX +B
still being in my SB learning journey, on the first set of rules I'm not yet in full understanding of how everything exactly works so it was a bit of a dice throw, some insight would be very educational as this is not the last time I want to be using probability+random.
First part - The first 6 notes which are arriving from Ch. 1, I'd like to have notes 0 & 2 (aka Kick & Snare) always go through, but also have only note 2 randomly shuffle with note 7 which is another Snare on another device.
The rest come out randomized in a note range of 0-7 (as the receiving device has 8 notes) outgoing on Ch.12
90 00 - always through
90 01 - random
90 02 - only go out random - but either note 2 or 6 ( round robin it's called it I thnk )
90 03 - +R
90 04 - +R
90 05 - +R
90 06 - +R
09 07 - +R
only notes on with forced velocity 7F should go out.
first part is not yet implemented in the below script
Second part - notes 6-9 arriving from Ch.13 to 16. always have send out random PC's with 50% probability, in range of PC 0-15 outgoing on ch.4 (+block the notes)
I've compiled a few bits and pieces from the forum for learning purposes and added to my own :
# make random probability gaps in incoming notes
IF LOAD
ASS K0 = 32
IF MT == 90
IF M2 > 0
IF R64 > K0
XX = XX +B
Block
Block
End
END
END
END
# limit randomization range
If MT == 90
Calc M1 = $0 + R$15 +P
End
#additional notes 6-9 to triggering random PC's
9C = C3 +C
9D = C3 +C
9E = C3 +C
9F = C3 +C
XX = XX +B
still being in my SB learning journey, on the first set of rules I'm not yet in full understanding of how everything exactly works so it was a bit of a dice throw, some insight would be very educational as this is not the last time I want to be using probability+random.