|
|
|
|
59
|
if( krLoadRsrc(h,&err,&r) != kOkDspRC )
|
59
|
if( krLoadRsrc(h,&err,&r) != kOkDspRC )
|
60
|
return rc;
|
60
|
return rc;
|
61
|
|
61
|
|
62
|
- cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 0);
|
|
|
63
|
- cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 1);
|
|
|
|
|
62
|
+ cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 2);
|
|
|
63
|
+ cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn", NULL, 1, 3);
|
64
|
//cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn", NULL, 2, "MOTU - Traveler mk3", "MIDI Port");
|
64
|
//cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn", NULL, 2, "MOTU - Traveler mk3", "MIDI Port");
|
65
|
//cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn", NULL, 2, "Apple Inc. - IAC Driver", "Bus 1");
|
65
|
//cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn", NULL, 2, "Apple Inc. - IAC Driver", "Bus 1");
|
66
|
|
66
|
|
|
|
|
|
70
|
|
70
|
|
71
|
cmDspInst_t* mfp = cmDspSysAllocInst(h,"MidiFilePlay",NULL, 0 );
|
71
|
cmDspInst_t* mfp = cmDspSysAllocInst(h,"MidiFilePlay",NULL, 0 );
|
72
|
cmDspInst_t* nmp = cmDspSysAllocInst(h,"NanoMap", NULL, 0 );
|
72
|
cmDspInst_t* nmp = cmDspSysAllocInst(h,"NanoMap", NULL, 0 );
|
73
|
- cmDspInst_t* mop = cmDspSysAllocInst(h,"MidiOut", NULL, 2, r.midiDevice,r.midiOutPort);
|
|
|
74
|
- cmDspInst_t* mo2p = cmDspSysAllocInst(h,"MidiOut", NULL, 2, r.midiDevice,r.midiOutPort2);
|
|
|
|
|
73
|
+ cmDspInst_t* pic = cmDspSysAllocInst(h,"Picadae", NULL, 0 );
|
|
|
74
|
+ cmDspInst_t* mop = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "Scarlett 18i20 USB","Scarlett 18i20 USB MIDI 1");
|
|
|
75
|
+ cmDspInst_t* mo2p = cmDspSysAllocInst(h,"MidiOut", NULL, 2, "picadae","picadae MIDI 1");
|
75
|
cmDspInst_t* sfp = cmDspSysAllocInst(h,"ScFol", NULL, 5, r.scFn, sfBufCnt, sfMaxWndCnt, sfMinVel, sfEnaMeasFl );
|
76
|
cmDspInst_t* sfp = cmDspSysAllocInst(h,"ScFol", NULL, 5, r.scFn, sfBufCnt, sfMaxWndCnt, sfMinVel, sfEnaMeasFl );
|
76
|
cmDspInst_t* amp = cmDspSysAllocInst(h,"ActiveMeas", NULL, 1, 100 );
|
77
|
cmDspInst_t* amp = cmDspSysAllocInst(h,"ActiveMeas", NULL, 1, 100 );
|
77
|
cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod", NULL, 2, r.modFn, "m1" );
|
78
|
cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod", NULL, 2, r.modFn, "m1" );
|
|
|
|
|
276
|
cmDspSysInstallCb(h, msrc, "d1", sfp, "d1", NULL );
|
277
|
cmDspSysInstallCb(h, msrc, "d1", sfp, "d1", NULL );
|
277
|
cmDspSysInstallCb(h, msrc, "d1", nmp, "d1", NULL );
|
278
|
cmDspSysInstallCb(h, msrc, "d1", nmp, "d1", NULL );
|
278
|
cmDspSysInstallCb(h, nmp, "d1", mop, "d1", NULL );
|
279
|
cmDspSysInstallCb(h, nmp, "d1", mop, "d1", NULL );
|
279
|
- //cmDspSysInstallCb(h, nmp, "d1", mo2p, "d1", NULL );
|
|
|
|
|
280
|
+ cmDspSysInstallCb(h, nmp, "d1", pic, "d1", NULL );
|
|
|
281
|
+ cmDspSysInstallCb(h, pic, "d1", mo2p, "d1", NULL );
|
280
|
|
282
|
|
281
|
cmDspSysInstallCb(h, msrc, "d0", sfp, "d0", NULL );
|
283
|
cmDspSysInstallCb(h, msrc, "d0", sfp, "d0", NULL );
|
282
|
cmDspSysInstallCb(h, msrc, "d0", nmp, "d0", NULL );
|
284
|
cmDspSysInstallCb(h, msrc, "d0", nmp, "d0", NULL );
|
283
|
cmDspSysInstallCb(h, nmp, "d0", mop, "d0", NULL );
|
285
|
cmDspSysInstallCb(h, nmp, "d0", mop, "d0", NULL );
|
284
|
- //cmDspSysInstallCb(h, nmp, "d0", mo2p, "d0", NULL );
|
|
|
|
|
286
|
+ cmDspSysInstallCb(h, nmp, "d0", pic, "d0", NULL );
|
|
|
287
|
+ cmDspSysInstallCb(h, pic, "d0", mo2p, "d0", NULL );
|
285
|
|
288
|
|
286
|
cmDspSysInstallCb(h, msrc, "status", sfp, "status",NULL );
|
289
|
cmDspSysInstallCb(h, msrc, "status", sfp, "status",NULL );
|
287
|
cmDspSysInstallCb(h, msrc, "status", nmp, "status",NULL );
|
290
|
cmDspSysInstallCb(h, msrc, "status", nmp, "status",NULL );
|
288
|
cmDspSysInstallCb(h, nmp, "status", mop, "status",NULL );
|
291
|
cmDspSysInstallCb(h, nmp, "status", mop, "status",NULL );
|
289
|
- //cmDspSysInstallCb(h, nmp, "status", mo2p, "status",NULL );
|
|
|
|
|
292
|
+ cmDspSysInstallCb(h, nmp, "status", pic, "status",NULL );
|
|
|
293
|
+ cmDspSysInstallCb(h, pic, "status", mo2p, "status", NULL );
|
290
|
|
294
|
|
291
|
|
295
|
|
292
|
// score follower to recd_play,modulator and printers
|
296
|
// score follower to recd_play,modulator and printers
|