This file is part of LilyPond, the GNU music typesetter.
Copyright (C) 2007--2011 Han-Wen Nienhuys <hanwen@lilypond.org>
This file is part of LilyPond, the GNU music typesetter.
Copyright (C) 2007--2011 Han-Wen Nienhuys <hanwen@lilypond.org>
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
LilyPond is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "string-convert.hh"
Midi_track::Midi_track (int number, bool port)
#include "string-convert.hh"
Midi_track::Midi_track (int number, bool port)
- // "00" "ff58" "0404" "0218" "08"
- // "00" "ff51" "0307" "a120"
- // why a key at all, in midi?
- // key: C
- // "00" "ff59" "02" "00" "00"
- // key: F (scsii-menuetto)
- // "00" "ff59" "02" "ff" "00"
- ;
+ // "00" "ff58" "0404" "0218" "08"
+ // "00" "ff51" "0307" "a120"
+ // why a key at all, in midi?
+ // key: C
+ // "00" "ff59" "02" "00" "00"
+ // key: F (scsii-menuetto)
+ // "00" "ff59" "02" "ff" "00"
+ ;
{
string delta_string = int2midi_varint_string (delta_ticks_);
string midi_string = midi_->to_string ();
{
string delta_string = int2midi_varint_string (delta_ticks_);
string midi_string = midi_->to_string ();
string str = header_string_;
string dat = data_string ();
string length_string = String_convert::int2hex (dat.length ()
string str = header_string_;
string dat = data_string ();
string length_string = String_convert::int2hex (dat.length ()