|
|
|
|
75
|
|
75
|
|
76
|
cmDspInst_t* mfp = cmDspSysAllocInst(h,"MidiFilePlay",NULL, 0 );
|
76
|
cmDspInst_t* mfp = cmDspSysAllocInst(h,"MidiFilePlay",NULL, 0 );
|
77
|
cmDspInst_t* nmp = cmDspSysAllocInst(h,"NanoMap", NULL, 0 );
|
77
|
cmDspInst_t* nmp = cmDspSysAllocInst(h,"NanoMap", NULL, 0 );
|
78
|
- cmDspInst_t* pic = cmDspSysAllocInst(h,"Picadae", NULL, 0 );
|
|
|
79
|
- //cmDspInst_t* mop = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "Scarlett 18i20 USB","Scarlett 18i20 USB MIDI 1");
|
|
|
|
|
78
|
+ cmDspInst_t* mdly_st = cmDspSysAllocInst(h,"MsgDelay", NULL, 2, 1024, 500.0 );
|
|
|
79
|
+ cmDspInst_t* mdly_d0 = cmDspSysAllocInst(h,"MsgDelay", NULL, 2, 1024, 500.0 );
|
|
|
80
|
+ cmDspInst_t* mdly_d1 = cmDspSysAllocInst(h,"MsgDelay", NULL, 2, 1024, 500.0 );
|
|
|
81
|
+
|
|
|
82
|
+ //cmDspInst_t* pic = cmDspSysAllocInst(h,"Picadae", NULL, 0 );
|
80
|
cmDspInst_t* mop = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "Fastlane","Fastlane MIDI A" );
|
83
|
cmDspInst_t* mop = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "Fastlane","Fastlane MIDI A" );
|
81
|
//cmDspInst_t* mo2p = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "picadae","picadae MIDI 1");
|
84
|
//cmDspInst_t* mo2p = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "picadae","picadae MIDI 1");
|
82
|
- cmDspInst_t* mo2p = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "Fastlane","Fastlane MIDI B");
|
|
|
|
|
85
|
+ cmDspInst_t* mo2p = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "Scarlett 18i20 USB","Scarlett 18i20 USB MIDI 1");
|
|
|
86
|
+ //cmDspInst_t* mo2p = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "Fastlane","Fastlane MIDI A");
|
83
|
cmDspInst_t* sfp = cmDspSysAllocInst(h,"ScFol", NULL, 5, r.scFn, sfBufCnt, sfMaxWndCnt, sfMinVel, sfEnaMeasFl );
|
87
|
cmDspInst_t* sfp = cmDspSysAllocInst(h,"ScFol", NULL, 5, r.scFn, sfBufCnt, sfMaxWndCnt, sfMinVel, sfEnaMeasFl );
|
84
|
cmDspInst_t* amp = cmDspSysAllocInst(h,"ActiveMeas", NULL, 1, 100 );
|
88
|
cmDspInst_t* amp = cmDspSysAllocInst(h,"ActiveMeas", NULL, 1, 100 );
|
85
|
cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod", NULL, 2, r.modFn, "m1" );
|
89
|
cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod", NULL, 2, r.modFn, "m1" );
|
|
|
|
|
102
|
cmDspInst_t* ao3 = cmDspSysAllocInst(h,"AudioOut", NULL, 1, baseAudioOutCh+1 ); // 3 2
|
106
|
cmDspInst_t* ao3 = cmDspSysAllocInst(h,"AudioOut", NULL, 1, baseAudioOutCh+1 ); // 3 2
|
103
|
|
107
|
|
104
|
cmDspSysNewPage(h,"Main");
|
108
|
cmDspSysNewPage(h,"Main");
|
105
|
- cmDspInst_t* notesOffb= cmDspSysAllocInst(h,"Button", "notesOff", 2, kButtonDuiId, 1.0 );
|
|
|
|
|
109
|
+ //cmDspInst_t* notesOffb= cmDspSysAllocInst(h,"Button", "notesOff", 2, kButtonDuiId, 1.0 );
|
106
|
cmDspInst_t* onb = cmDspSysAllocInst(h,"Button", "start", 2, kButtonDuiId, 1.0 );
|
110
|
cmDspInst_t* onb = cmDspSysAllocInst(h,"Button", "start", 2, kButtonDuiId, 1.0 );
|
107
|
cmDspInst_t* offb = cmDspSysAllocInst(h,"Button", "stop", 2, kButtonDuiId, 1.0 );
|
111
|
cmDspInst_t* offb = cmDspSysAllocInst(h,"Button", "stop", 2, kButtonDuiId, 1.0 );
|
108
|
cmDspInst_t* mod_sel = cmDspSysAllocMsgList(h, NULL, "mod_sel", 1 );
|
112
|
cmDspInst_t* mod_sel = cmDspSysAllocMsgList(h, NULL, "mod_sel", 1 );
|
|
|
|
|
135
|
cmDspInst_t* mi0p = cmDspSysAllocInst(h,"AMeter","In 0", 0);
|
139
|
cmDspInst_t* mi0p = cmDspSysAllocInst(h,"AMeter","In 0", 0);
|
136
|
cmDspInst_t* mi1p = cmDspSysAllocInst(h,"AMeter","In 1", 0);
|
140
|
cmDspInst_t* mi1p = cmDspSysAllocInst(h,"AMeter","In 1", 0);
|
137
|
|
141
|
|
|
|
142
|
+ cmDspInst_t* msgDly = cmDspSysAllocInst(h,"Scalar", "Delay", 5, kNumberDuiId, 1.0, 1000.0,1.0, 500.0 );
|
|
|
143
|
+ cmDspSysInstallCb( h, msgDly, "val", mdly_st, "delay", NULL);
|
|
|
144
|
+ cmDspSysInstallCb( h, msgDly, "val", mdly_d0, "delay", NULL);
|
|
|
145
|
+ cmDspSysInstallCb( h, msgDly, "val", mdly_d1, "delay", NULL);
|
|
|
146
|
+
|
138
|
cmDspInst_t* meas = cmDspSysAllocInst(h,"Scalar", "Meas", 5, kNumberDuiId, 1.0, 59.0,1.0, 1.0 );
|
147
|
cmDspInst_t* meas = cmDspSysAllocInst(h,"Scalar", "Meas", 5, kNumberDuiId, 1.0, 59.0,1.0, 1.0 );
|
139
|
cmDspSysInstallCb( h, meas, "val", scp, "meas", NULL);
|
148
|
cmDspSysInstallCb( h, meas, "val", scp, "meas", NULL);
|
140
|
cmDspSysInstallCb( h, meas, "val", tlp, "meas", NULL);
|
149
|
cmDspSysInstallCb( h, meas, "val", tlp, "meas", NULL);
|
|
|
|
|
241
|
|
250
|
|
242
|
cmDspSysInstallCb(h, prePath, "out", tlp, "path", NULL );
|
251
|
cmDspSysInstallCb(h, prePath, "out", tlp, "path", NULL );
|
243
|
|
252
|
|
244
|
- cmDspSysInstallCb(h, notesOffb, "sym", pic, "alloff", NULL );
|
|
|
|
|
253
|
+ //cmDspSysInstallCb(h, notesOffb, "sym", pic, "alloff", NULL );
|
245
|
|
254
|
|
246
|
// start connections
|
255
|
// start connections
|
247
|
cmDspSysInstallCb(h, onb, "sym", tlRt, "s-in", NULL );
|
256
|
cmDspSysInstallCb(h, onb, "sym", tlRt, "s-in", NULL );
|
|
|
|
|
265
|
cmDspSysInstallCb(h, pts, "off", modp,"cmd", NULL );
|
274
|
cmDspSysInstallCb(h, pts, "off", modp,"cmd", NULL );
|
266
|
cmDspSysInstallCb(h, offb, "sym", mop, "reset", NULL );
|
275
|
cmDspSysInstallCb(h, offb, "sym", mop, "reset", NULL );
|
267
|
cmDspSysInstallCb(h, offb, "sym", mo2p,"reset", NULL );
|
276
|
cmDspSysInstallCb(h, offb, "sym", mo2p,"reset", NULL );
|
|
|
277
|
+ cmDspSysInstallCb(h, offb, "sym", mdly_st,"clear", NULL );
|
|
|
278
|
+ cmDspSysInstallCb(h, offb, "sym", mdly_d0,"clear", NULL );
|
|
|
279
|
+ cmDspSysInstallCb(h, offb, "sym", mdly_d1,"clear", NULL );
|
268
|
|
280
|
|
269
|
|
281
|
|
270
|
// time-line to MIDI file player selection
|
282
|
// time-line to MIDI file player selection
|
|
|
|
|
286
|
cmDspSysInstallCb(h, msrc, "d1", sfp, "d1", NULL );
|
298
|
cmDspSysInstallCb(h, msrc, "d1", sfp, "d1", NULL );
|
287
|
cmDspSysInstallCb(h, msrc, "d1", nmp, "d1", NULL );
|
299
|
cmDspSysInstallCb(h, msrc, "d1", nmp, "d1", NULL );
|
288
|
cmDspSysInstallCb(h, nmp, "d1", mop, "d1", NULL );
|
300
|
cmDspSysInstallCb(h, nmp, "d1", mop, "d1", NULL );
|
289
|
- cmDspSysInstallCb(h, nmp, "d1", pic, "d1", NULL );
|
|
|
290
|
- cmDspSysInstallCb(h, pic, "d1", mo2p, "d1", NULL );
|
|
|
|
|
301
|
+ //cmDspSysInstallCb(h, nmp, "d1", mdly_d1, "in", NULL );
|
|
|
302
|
+ //cmDspSysInstallCb(h, mdly_d1, "out", mo2p, "d1", NULL );
|
|
|
303
|
+ //cmDspSysInstallCb(h, pic, "d1", mo2p, "d1", NULL );
|
|
|
304
|
+ cmDspSysInstallCb(h, nmp, "d1", mo2p, "d1", NULL );
|
291
|
|
305
|
|
292
|
cmDspSysInstallCb(h, msrc, "d0", sfp, "d0", NULL );
|
306
|
cmDspSysInstallCb(h, msrc, "d0", sfp, "d0", NULL );
|
293
|
cmDspSysInstallCb(h, msrc, "d0", nmp, "d0", NULL );
|
307
|
cmDspSysInstallCb(h, msrc, "d0", nmp, "d0", NULL );
|
294
|
cmDspSysInstallCb(h, nmp, "d0", mop, "d0", NULL );
|
308
|
cmDspSysInstallCb(h, nmp, "d0", mop, "d0", NULL );
|
295
|
- cmDspSysInstallCb(h, nmp, "d0", pic, "d0", NULL );
|
|
|
296
|
- cmDspSysInstallCb(h, pic, "d0", mo2p, "d0", NULL );
|
|
|
|
|
309
|
+ //cmDspSysInstallCb(h, nmp, "d0", mdly_d0, "in", NULL );
|
|
|
310
|
+ //cmDspSysInstallCb(h, mdly_d0, "out", mo2p, "d0", NULL );
|
|
|
311
|
+ //cmDspSysInstallCb(h, pic, "d0", mo2p, "d0", NULL );
|
|
|
312
|
+ cmDspSysInstallCb(h, nmp, "d0", mo2p, "d0", NULL );
|
297
|
|
313
|
|
298
|
cmDspSysInstallCb(h, msrc, "status", sfp, "status",NULL );
|
314
|
cmDspSysInstallCb(h, msrc, "status", sfp, "status",NULL );
|
299
|
cmDspSysInstallCb(h, msrc, "status", nmp, "status",NULL );
|
315
|
cmDspSysInstallCb(h, msrc, "status", nmp, "status",NULL );
|
300
|
cmDspSysInstallCb(h, nmp, "status", mop, "status",NULL );
|
316
|
cmDspSysInstallCb(h, nmp, "status", mop, "status",NULL );
|
301
|
- cmDspSysInstallCb(h, nmp, "status", pic, "status",NULL );
|
|
|
302
|
- cmDspSysInstallCb(h, pic, "status", mo2p, "status", NULL );
|
|
|
|
|
317
|
+ //cmDspSysInstallCb(h, nmp, "status", mdly_st, "in", NULL );
|
|
|
318
|
+ //cmDspSysInstallCb(h, mdly_st, "out", mo2p, "status", NULL );
|
|
|
319
|
+ cmDspSysInstallCb(h, nmp, "status", mo2p, "status", NULL );
|
|
|
320
|
+
|
|
|
321
|
+ //cmDspSysInstallCb(h, pic, "status", mo2p, "status", NULL );
|
303
|
|
322
|
|
304
|
|
323
|
|
305
|
// score follower to recd_play,modulator and printers
|
324
|
// score follower to recd_play,modulator and printers
|