Zrythm v2.0.0-alpha.1+31.4967fd053471
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::dsp::midi_event::NoteOffBeforeNoteOnCompare Struct Reference

Comparator for sorting MidiEvents by time, with noteOff before noteOn at the same timestamp. More...

#include <src/dsp/midi_event.h>

Public Member Functions

template<typename TimeType>
bool operator() (const MidiEvent< TimeType > &a, const MidiEvent< TimeType > &b) const

Detailed Description

Comparator for sorting MidiEvents by time, with noteOff before noteOn at the same timestamp.

Definition at line 320 of file midi_event.h.

Member Function Documentation

◆ operator()()

template<typename TimeType>
bool zrythm::dsp::midi_event::NoteOffBeforeNoteOnCompare::operator() ( const MidiEvent< TimeType > & a,
const MidiEvent< TimeType > & b ) const
inline

Definition at line 324 of file midi_event.h.


The documentation for this struct was generated from the following file: