comparison hackday/testApp.cpp @ 29:69083ce48b83

alternative tempo strategy when matching.
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Mon, 05 Dec 2011 21:47:19 +0000
parents 49a5b023df1e
children be2e779d76b5
comparison
equal deleted inserted replaced
28:49a5b023df1e 29:69083ce48b83
28 midiIn.listPorts(); 28 midiIn.listPorts();
29 midiIn.openPort(midiPort); 29 midiIn.openPort(midiPort);
30 midiPortName = ""; 30 midiPortName = "";
31 //midiPortName = midiIn.portNames(midiPort); 31 //midiPortName = midiIn.portNames(midiPort);
32 32
33 transpose = 12; 33 transpose = 0;
34 noteInStream.transposeVal = &transpose; 34 noteInStream.transposeVal = &transpose;
35 35
36 noteInStream.startTime = &midiEvents.startTime;//point start time of note in stream to the same time in MIDI events 36 noteInStream.startTime = &midiEvents.startTime;//point start time of note in stream to the same time in MIDI events
37 37
38 noteInStream.factor = &midiEvents.ticksFactor; 38 noteInStream.factor = &midiEvents.ticksFactor;