# Define the pad sound pad_sound = { 'osc1_wave': 'sine', 'osc1_tune': 69, 'osc2_wave': 'noise', 'osc2_tune': 72, 'filter_type': 'highpass', 'filter_cutoff': 500 }
import mido
# Define the lead sound lead_sound = { 'osc1_wave': 'sawtooth', 'osc1_tune': 60, 'osc2_wave': 'pulse', 'osc2_tune': 67, 'filter_type': 'lowpass', 'filter_cutoff': 200, 'filter_resonance': 50 }
# Create the sequence pattern = [ {'note': 60, 'velocity': 100, 'duration': 500}, {'note': 67, 'velocity': 100, 'duration': 500}, {'note': 69, 'velocity': 100, 'duration': 250}, {'note': 72, 'velocity': 100, 'duration': 500} ]
"JD-XA Voyage"
# Create a new MIDI file mid = mido.MidiFile() track = mido.MidiTrack() mid.tracks.append(track)
|
Report
|
|
Donate
Oh o, this user has not set a donation button.
|
|
Novel Cool
Read thousands of novels online
|
# Define the pad sound pad_sound = { 'osc1_wave': 'sine', 'osc1_tune': 69, 'osc2_wave': 'noise', 'osc2_tune': 72, 'filter_type': 'highpass', 'filter_cutoff': 500 }
import mido
# Define the lead sound lead_sound = { 'osc1_wave': 'sawtooth', 'osc1_tune': 60, 'osc2_wave': 'pulse', 'osc2_tune': 67, 'filter_type': 'lowpass', 'filter_cutoff': 200, 'filter_resonance': 50 }
# Create the sequence pattern = [ {'note': 60, 'velocity': 100, 'duration': 500}, {'note': 67, 'velocity': 100, 'duration': 500}, {'note': 69, 'velocity': 100, 'duration': 250}, {'note': 72, 'velocity': 100, 'duration': 500} ]
"JD-XA Voyage"
# Create a new MIDI file mid = mido.MidiFile() track = mido.MidiTrack() mid.tracks.append(track)