MCPcopy Create free account
hub / github.com/LMMS/lmms / playNote

Method playNote

src/tracks/InstrumentTrack.cpp:480–492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478
479
480void 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

Callers 1

playMethod · 0.45

Calls 1

processNoteMethod · 0.45

Tested by

no test coverage detected