Skip to content

Commit

Permalink
Fixes to hex output
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed Feb 27, 2017
1 parent b31b95e commit e27abf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,11 +499,11 @@ class receiveMidiApplication : public JUCEApplicationBase, public MidiInputCall
}
else if (msg.isSongPositionPointer())
{
std::cout << "song-position " << output7Bit(msg.getSongPositionPointerMidiBeat()).paddedLeft(' ', 5) << std::endl;
std::cout << "song-position " << output14Bit(msg.getSongPositionPointerMidiBeat()).paddedLeft(' ', 5) << std::endl;
}
else if (msg.getRawDataSize() == 2 && msg.getRawData()[0] == 0xf3)
{
std::cout << "song-select " << String(msg.getRawData()[1]).paddedLeft(' ', 3) << std::endl;
std::cout << "song-select " << output7Bit(msg.getRawData()[1]).paddedLeft(' ', 3) << std::endl;
}
else if (msg.getRawDataSize() == 1 && msg.getRawData()[0] == 0xf6)
{
Expand Down

0 comments on commit e27abf2

Please sign in to comment.