19 #include <sigc++/bind.h>
20 #include <glibmm/main.h>
42 notes.push_back (note);
55 for (Notes::iterator n =
notes.begin(); n !=
notes.end(); ++n) {
68 const uint32_t note_length_ms = 100;
70 Glib::signal_timeout().connect (sigc::bind (sigc::ptr_fun (&
NotePlayer::_off),
this),
71 note_length_ms, G_PRIORITY_DEFAULT);
85 for (Notes::iterator n =
notes.begin(); n !=
notes.end(); ++n) {
void add(boost::shared_ptr< NoteType >)
bool write_immediate_event(size_t size, const uint8_t *buf)
static bool _off(NotePlayer *)
NotePlayer(boost::shared_ptr< ARDOUR::MidiTrack >)
boost::shared_ptr< ARDOUR::MidiTrack > track