Mercurial > hg > svcore
comparison data/fileio/MIDIFileReader.cpp @ 1644:513192aa9b03 single-point
Further API updates
author | Chris Cannam |
---|---|
date | Wed, 13 Mar 2019 16:00:13 +0000 |
parents | 7a23dfe65d66 |
children | 8a06e16948d7 |
comparison
equal
deleted
inserted
replaced
1643:7a23dfe65d66 | 1644:513192aa9b03 |
---|---|
1030 Event note(startFrame, (*i)->getPitch(), | 1030 Event note(startFrame, (*i)->getPitch(), |
1031 endFrame - startFrame, level, noteLabel); | 1031 endFrame - startFrame, level, noteLabel); |
1032 | 1032 |
1033 // SVDEBUG << "Adding note " << startFrame << "," << (endFrame-startFrame) << " : " << int((*i)->getPitch()) << endl; | 1033 // SVDEBUG << "Adding note " << startFrame << "," << (endFrame-startFrame) << " : " << int((*i)->getPitch()) << endl; |
1034 | 1034 |
1035 model->addPoint(note); | 1035 model->add(note); |
1036 break; | 1036 break; |
1037 } | 1037 } |
1038 | 1038 |
1039 case MIDI_PITCH_BEND: | 1039 case MIDI_PITCH_BEND: |
1040 // I guess we could make some use of this... | 1040 // I guess we could make some use of this... |