Skip to content

Commit

Permalink
Fix various typos in midi module.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Oct 18, 2015
1 parent 00aa0e7 commit e1f8f1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fofix/core/midi/MidiOutFile.py
Expand Up @@ -140,7 +140,7 @@ def midi_time_code(self, msg_type, values):
values: 0-15
"""
value = (msg_type<<4) + values
self.event_slice(fromBytes([MIDI_TIME_CODE, value]))
self.event_slice(fromBytes([MTC, value]))


def song_position_pointer(self, value):
Expand Down Expand Up @@ -246,7 +246,7 @@ def sequence_number(self, value):
"""
value: 0-65535
"""
self.meta_slice(meta_type, writeBew(value, 2))
self.meta_slice(SEQUENCE_NUMBER, writeBew(value, 2))


def text(self, text):
Expand Down Expand Up @@ -387,7 +387,7 @@ def sequencer_specific(self, data):
"""
data: The data as byte values
"""
self.meta_slice(SEQUENCER_SPECIFIC, data)
self.meta_slice(SPECIFIC, data)



Expand Down
2 changes: 1 addition & 1 deletion fofix/core/midi/MidiToText.py
Expand Up @@ -49,7 +49,7 @@ def pitch_bend(self, channel, value):


def system_exclusive(self, data):
print 'system_exclusive - data size: %s' % len(date)
print 'system_exclusive - data size: %s' % len(data)


def song_position_pointer(self, value):
Expand Down

0 comments on commit e1f8f1c

Please sign in to comment.