Package echonest :: Package remix :: Package support :: Package midi :: Module example_transpose_octave :: Class Transposer
[hide private]
[frames] | no frames]

Class Transposer

source code


Transposes all notes by 1 octave
Instance Methods [hide private]
 
_transp(self, ch, note) source code
 
note_on(self, channel=0, note=0x40, velocity=0x40)
channel: 0-15 note, velocity: 0-127
source code
 
note_off(self, channel=0, note=0x40, velocity=0x40)
channel: 0-15 note, velocity: 0-127
source code

Inherited from MidiOutFile.MidiOutFile: __init__, aftertouch, channel_pressure, continuous_controller, copyright, cuepoint, end_of_track, eof, event_slice, header, instrument_name, key_signature, lyric, marker, meta_event, meta_slice, midi_ch_prefix, midi_port, midi_time_code, patch_change, pitch_bend, sequence_name, sequence_number, sequencer_specific, smtp_offset, song_position_pointer, song_select, start_of_track, system_exclusive, tempo, text, time_signature, tuning_request, write

Inherited from MidiOutStream.MidiOutStream: abs_time, active_sensing, channel_message, get_current_track, get_run_stat, rel_time, reset_run_stat, reset_time, set_current_track, set_run_stat, song_continue, song_start, song_stop, system_reset, timing_clock, update_time

Method Details [hide private]

note_on(self, channel=0, note=0x40, velocity=0x40)

source code 
channel: 0-15 note, velocity: 0-127
Overrides: MidiOutStream.MidiOutStream.note_on
(inherited documentation)

note_off(self, channel=0, note=0x40, velocity=0x40)

source code 
channel: 0-15 note, velocity: 0-127
Overrides: MidiOutStream.MidiOutStream.note_off
(inherited documentation)