hi crew i just have a question about the tool Xstream
ok i just want to use Xstream to generate random effect commands in various columns or maybe just 1 column to begin with
for instance
if i wanted to generate random Exx commands on a sample with an envelope assigned and this envelope has multiple break points…for generating stab sounds or more sustained ones…
how i accomplish that using Xstream…
the way i wanted to make it:
every time the pattern repeats …Xstream generates a new set of generated commands …diff values …located randomly in the fx column
please keep in mind that i dont know how to code …and im going to use this to generate Sxx commands and Exx
-------------------------------------------------------------------------------
-- Apply a random Exx command to all notes in column #1
-------------------------------------------------------------------------------
-- a "note" has a value of less than 120
-- (120 = empty note, and 121 = note off)
if (xline.note_columns[1].note_value < 120) then
xline.effect_columns[1].number_string = "0E"
xline.effect_columns[1].amount_value = math.random(0,255)
end
Simply create a new model in xStream and paste the code. Then enter some notes, hit the “TRK” button and profit
every time the pattern repeats …
Sounds like it’s something you want to apply to a pattern while you’re in the pattern editor (hint: check the keyboard shortcuts).
But obviously, xStream does streaming too - pretty cool for e.g. looping over a pattern until you come across a particularly good set of random values.
I guess you’ll have to decide which one fits best.
-------------------------------------------------------------------------------
-- Apply a random Exx command to all notes in column #1
-------------------------------------------------------------------------------
-- a "note" has a value of less than 120
-- (120 = empty note, and 121 = note off)
if (xline.note_columns[1].note_value < 120) then
xline.effect_columns[1].number_string = "0E"
xline.effect_columns[1].amount_value = math.random(0,255)
end