hi
Ive got an Akai S612 sampler. I got the hideaway mods for it.
Im trying to mess with the Front panel animator with patterns. I can get it playing, but the CC messages are not getting through.
From the manual of the FPA
"5 Parameters are available for continuous control via the following MIDI CC channels: The MIDI CC channels are as follows (hard coded to MIDI channel 1):
- CC20 Sample Start Position / Splice
- CC21 Sample End Position
- CC22 LFO Speed
- CC23 Sample Decay Rate
- CC24 Filter Cutoff"
I left out lfo (22) for now. Here is my code. I looked around before I posted this ,believe me.
This plays and the dur works, But the CC’s do not…
(
// substitute your own device here
var mOut = MIDIOut.newByName("UM-ONE", "UM-ONE").latency_(Server.default.latency);
​
p = Pbind(
\type, \midi,
// this line is optional b/c noteOn is the default
// just making it explicit here
\midicmd, \noteOn,
\midiout, mOut, // must provide the MIDI target here
\chan, 0,
// degree is converted to midinote, not just frequency
\degree, Pseq(#[3], inf),
\dur, Pseq(#[2,0.1,0.4], inf),
\amp, Pseq(#[1], inf),
\ctlNum, 20,
\control, 15,
\ctlNum, 21,
\control, 56,
\ctlNum, 23,
\control, Pexprand(5, 12, inf),
\ctlNum, 24,
\control, Pexprand(5, 55, inf)
).play(quant: 1);
)
​p.clear;
p.stop;
Midi monitors output is ;
20:57:14.888 | To UM-ONE | Note On | 1 | F3 | 127 |
---|---|---|---|---|---|
20:57:14.968 | To UM-ONE | Note Off | 1 | F3 | 127 |
20:57:14.988 | To UM-ONE | Note On | 1 | F3 | 127 |
20:57:22.887 | To UM-ONE | Note On | 1 | D3 | 127 |
20:57:24.488 | To UM-ONE | Note Off | 1 | D3 | 127 |
20:57:24.888 | To UM-ONE | Note On | 1 | D3 | 127 |
20:57:24.968 | To UM-ONE | Note Off | 1 | D3 | 127 |
20:57:24.988 | To UM-ONE | Note On | 1 | D3 | 127 |
20:57:33.888 | To UM-ONE | Note On | 1 | F3 | 127 |
20:57:35.488 | To UM-ONE | Note Off | 1 | F3 | 127 |
20:57:35.888 | To UM-ONE | Note On | 1 | F3 | 127 |
20:57:35.968 | To UM-ONE | Note Off | 1 | F3 | 127 |
20:57:35.988 | To UM-ONE | Note On | 1 | F3 | 127 |
20:57:36.308 | To UM-ONE | Note Off | 1 | F3 | 127 |
20:57:36.388 | To UM-ONE | Note On | 1 | F3 | 127 |
20:57:43.888 | To UM-ONE | Note On | 1 | F3 | 127 |
20:57:45.488 | To UM-ONE | Note Off | 1 | F3 | 127 |
20:57:45.888 | To UM-ONE | Note On | 1 | F3 | 127 |