| 478 | |
| 479 | |
| 480 | void InstrumentTrack::playNote( NotePlayHandle* n, sampleFrame* workingBuffer ) |
| 481 | { |
| 482 | // arpeggio- and chord-widget has to do its work -> adding sub-notes |
| 483 | // for chords/arpeggios |
| 484 | m_noteStacking.processNote( n ); |
| 485 | m_arpeggio.processNote( n ); |
| 486 | |
| 487 | if( n->isMasterNote() == false && m_instrument != NULL ) |
| 488 | { |
| 489 | // all is done, so now lets play the note! |
| 490 | m_instrument->playNote( n, workingBuffer ); |
| 491 | } |
| 492 | } |
| 493 | |
| 494 | |
| 495 |