Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
65415e4111
1 değiştirilmiş dosya ile 12 ekleme ve 12 silme
  1. 12
    12
      dsp/cmDspPgmKrTimeLineLite.c

+ 12
- 12
dsp/cmDspPgmKrTimeLineLite.c Dosyayı Görüntüle

@@ -60,7 +60,7 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr )
60 60
 
61 61
   cmDspInst_t* ai0 = cmDspSysAllocInst(h,"AudioIn",     NULL,  1, 0);
62 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 65
   cmDspInst_t* tlp  = cmDspSysAllocInst(h,"TimeLine",    "tl",  2, r.tlFn, r.tlPrefixPath );
66 66
   cmDspInst_t* scp  = cmDspSysAllocInst(h,"Score",       "sc",  1, r.scFn );
@@ -249,23 +249,23 @@ cmDspRC_t _cmDspSysPgm_TimeLineLite(cmDspSysH_t h, void** userPtrPtr )
249 249
   cmDspSysInstallCb(h, scp, "sel",    prp, "in",    NULL );
250 250
 
251 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 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 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 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 271
   // score follower to recd_play,modulator and printers

Loading…
İptal
Kaydet