This is probably really simple. Apologies in advance for my lack of knowledge.
I'm making a simple instrument for my friend that plays specific chords on specific keys.
If you think - it works like XFER Cthulu - but with way less functionality and comically bad MSpaint graphics.
The way I've gone about it but using switches to change between different sets of chords that are pre-set on each key. For Example:
if ($switch1 = 1)
if($EVENT_NOTE = 0 or $EVENT_NOTE = 12 or $EVENT_NOTE = 24 or $EVENT_NOTE = 36 or $EVENT_NOTE = 48 or $EVENT_NOTE = 60 or $EVENT_NOTE = 72 or $EVENT_NOTE = 84 or $EVENT_NOTE = 96 or $EVENT_NOTE = 108 or $EVENT_NOTE = 120)
message ("AM")
play_note($EVENT_NOTE+7,$EVENT_VELOCITY,0,-1)
play_note($EVENT_NOTE+16,$EVENT_VELOCITY,0,-1)
end if
end if
So I want to add a transpose menu or knob. Ideally one that shows what key you're transposing to.
I've tried using the "Transpose" factory script, both on a new script tab and within the main script. Both don't work as I hoped - but suspect I'm missing something.
When Transpose script is on the main script, the only note that transposes is the note pressed (the "chord" stays the same) and while on a new script tab - everything transposes but it doubles up everything (polyphony jumps to 6 instead of three in the above example)
I'm also sure I'm going about this a really roundabout way by writing this as an "if $Event_Note = x)" type thing - Perhaps I should be using a table or array or some clever math that's beyond me?
Again, apologies for the lack of understanding - however would really appreciate a point in the right direction if anyone has any ideas.