-Midi_stream&
-Midi_stream::operator <<( int i )
-{
- // output binary string ourselves
- *this << Midi_item::i2varint_str( i );
- return *this;
-}
+ // ugh, should have separate debugging output with Midi*::print routines
+ if (do_midi_debugging_global)
+ {
+ str = String_convert::bin2hex (str) + "\n";
+ for (ssize i = str.find ("0a"); i != NPOS; i = str.find ("0a"))
+ {
+ str[i] = '\n';
+ str[i + 1] = '\t';
+ }
+ }