Browse Source

cmDspPgmKrTimeLineLite.c : Disconnected the MIDI file player from the score follower and MIDI out and connected a MIDI input port in it's place.

master
kevin 7 years ago
parent
commit
65415e4111
1 changed files with 12 additions and 12 deletions
  1. 12
    12
      dsp/cmDspPgmKrTimeLineLite.c

+ 12
- 12
dsp/cmDspPgmKrTimeLineLite.c View File

60
 
60
 
61
   cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 0);
61
   cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 0);
62
   cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 1);
62
   cmDspInst_t* ai1 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 1);
63
-  cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL, 0);
63
+  cmDspInst_t* mip = cmDspSysAllocInst(h,"MidiIn",      NULL,  2, "MOTU - Traveler mk3", "MIDI Port");
64
   
64
   
65
   cmDspInst_t* tlp  = cmDspSysAllocInst(h,"TimeLine",    "tl",  2, r.tlFn, r.tlPrefixPath );
65
   cmDspInst_t* tlp  = cmDspSysAllocInst(h,"TimeLine",    "tl",  2, r.tlFn, r.tlPrefixPath );
66
   cmDspInst_t* scp  = cmDspSysAllocInst(h,"Score",       "sc",  1, r.scFn );
66
   cmDspInst_t* scp  = cmDspSysAllocInst(h,"Score",       "sc",  1, r.scFn );
249
   cmDspSysInstallCb(h, scp, "sel",    prp, "in",    NULL );
249
   cmDspSysInstallCb(h, scp, "sel",    prp, "in",    NULL );
250
 
250
 
251
   // MIDI file player to score follower and sampler
251
   // MIDI file player to score follower and sampler
252
-  cmDspSysInstallCb(h, mfp,  "smpidx",  sfp, "smpidx",NULL );
253
-  cmDspSysInstallCb(h, mfp,  "id",      sfp, "muid",  NULL );
252
+  cmDspSysInstallCb(h, mip,  "smpidx",  sfp, "smpidx",NULL );
253
+  //cmDspSysInstallCb(h, mfp,  "id",      sfp, "muid",  NULL );
254
 
254
 
255
-  cmDspSysInstallCb(h, mfp,   "d1",     sfp,  "d1",    NULL );
256
-  cmDspSysInstallCb(h, mfp,   "d1",     nmp,  "d1",    NULL );
255
+  cmDspSysInstallCb(h, mip,   "d1",     sfp,  "d1",    NULL );
256
+  cmDspSysInstallCb(h, mip,   "d1",     nmp,  "d1",    NULL );
257
   cmDspSysInstallCb(h, nmp,   "d1",     mop,  "d1",    NULL );
257
   cmDspSysInstallCb(h, nmp,   "d1",     mop,  "d1",    NULL );
258
-  cmDspSysInstallCb(h, nmp,   "d1",     mo2p, "d1",    NULL );
258
+  //cmDspSysInstallCb(h, nmp,   "d1",     mo2p, "d1",    NULL );
259
 
259
 
260
-  cmDspSysInstallCb(h, mfp,  "d0",      sfp,  "d0",   NULL );
261
-  cmDspSysInstallCb(h, mfp,  "d0",      nmp,  "d0",   NULL );
260
+  cmDspSysInstallCb(h, mip,  "d0",      sfp,  "d0",   NULL );
261
+  cmDspSysInstallCb(h, mip,  "d0",      nmp,  "d0",   NULL );
262
   cmDspSysInstallCb(h, nmp,  "d0",      mop,  "d0",   NULL );
262
   cmDspSysInstallCb(h, nmp,  "d0",      mop,  "d0",   NULL );
263
-  cmDspSysInstallCb(h, nmp,  "d0",      mo2p, "d0",   NULL );
263
+  //cmDspSysInstallCb(h, nmp,  "d0",      mo2p, "d0",   NULL );
264
 
264
 
265
-  cmDspSysInstallCb(h, mfp,  "status",  sfp,  "status",NULL );
266
-  cmDspSysInstallCb(h, mfp,  "status",  nmp,  "status",NULL );
265
+  cmDspSysInstallCb(h, mip,  "status",  sfp,  "status",NULL );
266
+  cmDspSysInstallCb(h, mip,  "status",  nmp,  "status",NULL );
267
   cmDspSysInstallCb(h, nmp,  "status",  mop,  "status",NULL );
267
   cmDspSysInstallCb(h, nmp,  "status",  mop,  "status",NULL );
268
-  cmDspSysInstallCb(h, nmp,  "status",  mo2p, "status",NULL );
268
+  //cmDspSysInstallCb(h, nmp,  "status",  mo2p, "status",NULL );
269
 
269
 
270
 
270
 
271
   // score follower to recd_play,modulator and printers
271
   // score follower to recd_play,modulator and printers

Loading…
Cancel
Save