MIDIClient.init;
MIDIIn.connectAll;
(
var notes, on, off;
notes = Array.newClear(128);
on = MIDIFunc.noteOn({ arg veloc, num, chan, src;
notes[num] = Synth(\saw, [\freq, num.midicps]);
});
off = MIDIFunc.noteOff({ arg veloc, num, chan, src;
notes[num].release;
});
)
I would like to transpose this Synth one semitone higher. I tried something like “num=num+1” or “(num+1).midicps” but this isn’t doing what I am looking for and I don’t have any ideas left.
Maybe I am doing something wrong. If I try what you suggest it starts to sound a bit more cluster-like on my device. It’s not what I am looking for in this situation.