瀏覽代碼

cmDspPgmKrTimeLineLite.c : Added use of 'Picadae' processor.

master
kevin.larke 4 年之前
父節點
當前提交
d5f072fb40
共有 1 個文件被更改,包括 11 次插入7 次删除
  1. 11
    7
      dsp/cmDspPgmKrTimeLineLite.c

+ 11
- 7
dsp/cmDspPgmKrTimeLineLite.c 查看文件

@@ -59,8 +59,8 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr )
59 59
   if( krLoadRsrc(h,&err,&r) != kOkDspRC )
60 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 64
   //cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL,  2, "MOTU - Traveler mk3", "MIDI Port");
65 65
   //cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL,  2, "Apple Inc. - IAC Driver", "Bus 1");
66 66
   
@@ -70,8 +70,9 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr )
70 70
 
71 71
   cmDspInst_t* mfp  = cmDspSysAllocInst(h,"MidiFilePlay",NULL,  0 );
72 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 76
   cmDspInst_t* sfp  = cmDspSysAllocInst(h,"ScFol",       NULL,  5, r.scFn, sfBufCnt, sfMaxWndCnt, sfMinVel, sfEnaMeasFl );
76 77
   cmDspInst_t* amp  = cmDspSysAllocInst(h,"ActiveMeas",  NULL,  1, 100 );
77 78
   cmDspInst_t* modp = cmDspSysAllocInst(h,"ScMod",       NULL,  2, r.modFn, "m1" );
@@ -276,17 +277,20 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr )
276 277
   cmDspSysInstallCb(h, msrc,   "d1",     sfp,  "d1",    NULL );
277 278
   cmDspSysInstallCb(h, msrc,   "d1",     nmp,  "d1",    NULL );
278 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 283
   cmDspSysInstallCb(h, msrc,  "d0",      sfp,  "d0",   NULL );
282 284
   cmDspSysInstallCb(h, msrc,  "d0",      nmp,  "d0",   NULL );
283 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 289
   cmDspSysInstallCb(h, msrc,  "status",  sfp,  "status",NULL );
287 290
   cmDspSysInstallCb(h, msrc,  "status",  nmp,  "status",NULL );
288 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 296
   // score follower to recd_play,modulator and printers

Loading…
取消
儲存