SYMBOL INDEX (5164 symbols across 76 files) FILE: amy/__init__.py function _get_synth_commands_stub (line 6) | def _get_synth_commands_stub(synth): function millis (line 40) | def millis(): function trunc (line 53) | def trunc(number): function trunc3 (line 62) | def trunc3(number): function trim_trailing (line 67) | def trim_trailing(vals, pred): function parse_ctrl_coefs (line 75) | def parse_ctrl_coefs(coefs): function parse_list_or_comma_string (line 122) | def parse_list_or_comma_string(obj): function str_of_int (line 133) | def str_of_int(arg): function message (line 164) | def message(**kwargs): function send_raw (line 217) | def send_raw(m): function log_patch (line 227) | def log_patch(): function retrieve_patch (line 233) | def retrieve_patch(): function amy_do_nothing (line 245) | def amy_do_nothing(message): function start_store_patch (line 248) | def start_store_patch(): function stop_store_patch (line 254) | def stop_store_patch(patch): function send (line 262) | def send(**kwargs): function show (line 269) | def show(data): function write (line 288) | def write(data, filename): function play (line 294) | def play(samples): function render (line 299) | def render(seconds): function restart (line 308) | def restart(default_synths=0): function inject_midi (line 312) | def inject_midi(a, b, c, d=None): function unload_sample (line 318) | def unload_sample(patch=0): function sysex_write (line 327) | def sysex_write(message, output_name='AMYboard'): function b64 (line 352) | def b64(b): function b64 (line 356) | def b64(b): function start_sample (line 359) | def start_sample(preset=0, bus=1, max_frames=0, midinote=60, loopstart=... function stop_sample (line 363) | def stop_sample(): function load_sample_bytes (line 366) | def load_sample_bytes(b, stereo=False, preset=0, midinote=60, loopstart=... function disk_sample (line 382) | def disk_sample(wavfilename, preset=0, midinote=60): function transfer_file (line 394) | def transfer_file(source_filename, dest_filename=None): function load_sample (line 420) | def load_sample(wavfilename, preset=0, midinote=0, loopstart=0, loopend=0): function reset (line 457) | def reset(osc=None, **kwargs): function chorus (line 470) | def chorus(level=-1, max_delay=-1, freq=-1, amp=-1): function reverb (line 489) | def reverb(level=-1, liveness=-1, damping=-1, xover_hz=-1): function echo (line 508) | def echo(level=None, delay_ms=None, max_delay_ms=None, feedback=None, fi... function get_synth_commands (line 530) | def get_synth_commands(synth, patch_num=None, dest_synth=None, num_voice... FILE: amy/examples.py class Patch (line 9) | class Patch: method _new_patch_number (line 20) | def _new_patch_number(cls): method reset (line 27) | def reset(cls): method __init__ (line 30) | def __init__(self, **kwargs): method __int__ (line 34) | def __int__(self): method setup (line 38) | def setup(self, **kwargs): class simple_sine (line 42) | class simple_sine(Patch): method setup (line 43) | def setup(self, **kwargs): class filter_bass (line 48) | class filter_bass(Patch): method setup (line 49) | def setup(self, **kwargs): class amp_lfo (line 55) | class amp_lfo(Patch): method setup (line 56) | def setup(self, **kwargs): class pitch_lfo (line 65) | class pitch_lfo(Patch): method setup (line 66) | def setup(self, **kwargs): class bass_drum (line 74) | class bass_drum(Patch): method setup (line 75) | def setup(self, **kwargs): class noise_snare (line 84) | class noise_snare(Patch): method setup (line 85) | def setup(self, **kwargs): class closed_hat (line 90) | class closed_hat(Patch): method setup (line 91) | def setup(self, **kwargs): function play_example_patches (line 105) | def play_example_patches(wait=1, **kwargs): function play_baked_patches (line 130) | def play_baked_patches(wait=1, patch_total = 256, **kwargs): function example_multimbral_synth (line 143) | def example_multimbral_synth(): function example_reset (line 149) | def example_reset(start=0): function example_voice_alloc (line 152) | def example_voice_alloc(): function example_voice_chord (line 171) | def example_voice_chord(patch=0): function example_synth_chord (line 186) | def example_synth_chord(patch=0): function example_sustain_pedal (line 205) | def example_sustain_pedal(patch=0): function example_patches (line 241) | def example_patches(): function example_reverb (line 255) | def example_reverb(): function example_chorus (line 258) | def example_chorus(): function example_ks (line 261) | def example_ks(): function example_sine (line 264) | def example_sine(): function example_multimbral_fm (line 267) | def example_multimbral_fm(): function example_sequencer_drums (line 276) | def example_sequencer_drums(): function example_fm (line 305) | def example_fm(): function example_patch_from_events (line 324) | def example_patch_from_events(): FILE: amy/fm.py class DX7Operator (line 11) | class DX7Operator: class DX7Patch (line 29) | class DX7Patch: method from_patch_number (line 48) | def from_patch_number(patch_number): method from_bytestream (line 56) | def from_bytestream(bytestream): method get_bytestream (line 108) | def get_bytestream(self): class AMYOscillator (line 143) | class AMYOscillator: method from_dx7_op (line 153) | def from_dx7_op(op): function fm_trunc (line 167) | def fm_trunc(number): class AMYPatch (line 173) | class AMYPatch: method from_dx7 (line 189) | def from_dx7(dx7_patch): method send_to_AMY (line 227) | def send_to_AMY(self, reset=True): function dx7level_to_linear (line 303) | def dx7level_to_linear(dx7level): function linear_to_dx7level (line 307) | def linear_to_dx7level(linear): function pitchval_to_ratio (line 311) | def pitchval_to_ratio(pitchval): function ratio_to_pitchval (line 322) | def ratio_to_pitchval(ratio): function calc_loglin_eg_breakpoints (line 330) | def calc_loglin_eg_breakpoints(rates, levels, dx7_attacks=True, function eg_to_bp (line 385) | def eg_to_bp(egrate, eglevel, calc_eg_args={}): function eg_to_bp_pitch (line 394) | def eg_to_bp_pitch(egrate, eglevel): function coarse_fine_fixed_hz (line 399) | def coarse_fine_fixed_hz(coarse, fine, detune=7): function coarse_fine_ratio (line 403) | def coarse_fine_ratio(coarse, fine, detune=7): function lfo_speed_to_hz (line 409) | def lfo_speed_to_hz(byte): function lfo_wave (line 420) | def lfo_wave(byte): function play_np_array (line 431) | def play_np_array(np_array, samplerate=amy.AMY_SAMPLE_RATE): FILE: amy/headers.py function _read_wavetables (line 10) | def _read_wavetables(wavetable_files): function generate_amy_pcm_header (line 27) | def generate_amy_pcm_header(sample_set, name, pcm_AMY_SAMPLE_RATE=22050,... function generate_pcm_headers (line 156) | def generate_pcm_headers(): function cos_lut (line 161) | def cos_lut(table_size, harmonics_weights, harmonics_phases=None): function create_lutset (line 174) | def create_lutset(LUTentry, harmonic_weights, harmonic_phases=None, function make_table (line 222) | def make_table(min_val, max_val, fn, table_size=257, dtype=np.int16): function create_exp2_lut (line 229) | def create_exp2_lut(npts): function create_log2_lut (line 234) | def create_log2_lut(npts): function write_lutset_to_h (line 239) | def write_lutset_to_h(filename, variable_base, lutset): function write_fxpt_lutable (line 285) | def write_fxpt_lutable(f, lutable, name, samples_per_row=8): function write_lutset_to_h_as_fxpt (line 304) | def write_lutset_to_h_as_fxpt(filename, variable_base, lutset): function make_log2_exp2_luts (line 351) | def make_log2_exp2_luts(filename): function make_clipping_lut (line 367) | def make_clipping_lut(filename): function make_piano_patch (line 398) | def make_piano_patch(): function make_amyboard_patch (line 407) | def make_amyboard_patch(): function make_patches (line 423) | def make_patches(filename): function write_vector_as_c (line 470) | def write_vector_as_c(f, data, name, dtype='uint8_t', items_per_row=20): function make_interp_partials (line 480) | def make_interp_partials(filename, data_dict): function generate_all (line 526) | def generate_all(): function main (line 581) | def main(): FILE: amy/juno.py function exp2 (line 14) | def exp2(x): function exp2 (line 17) | def exp2(x): function to_attack_time (line 65) | def to_attack_time(val): function to_decay_time (line 73) | def to_decay_time(val): function to_release_time (line 83) | def to_release_time(val): function to_level (line 92) | def to_level(val): function level_to_amp (line 97) | def level_to_amp(level): function to_lfo_freq (line 104) | def to_lfo_freq(val): function to_lfo_delay (line 110) | def to_lfo_delay(val): function to_resonance (line 118) | def to_resonance(val): function to_filter_freq (line 123) | def to_filter_freq(val): function ffmt (line 133) | def ffmt(val): function get_juno_patch (line 139) | def get_juno_patch(patch_number): class JunoPatch (line 153) | class JunoPatch: method from_patch_number (line 214) | def from_patch_number(patch_number): method from_sysex (line 219) | def from_sysex(cls, sysexbytes, name=None, patch_number=None): method _init_from_patch_number (line 228) | def _init_from_patch_number(self, patch_number): method _init_from_sysex (line 233) | def _init_from_sysex(self, sysexbytes): method to_sysex (line 249) | def to_sysex(self): method set_synth (line 273) | def set_synth(self, amy_synth): method _breakpoint_string (line 276) | def _breakpoint_string(self): method _amp_coef_string (line 283) | def _amp_coef_string(self, level): method _freq_coef_string (line 286) | def _freq_coef_string(self, base_freq): method base_freq (line 290) | def base_freq(self): method _portamento_ms (line 299) | def _portamento_ms(self, port_val): method init_AMY (line 305) | def init_AMY(self): method update_lfo (line 344) | def update_lfo(self): method update_dco (line 349) | def update_dco(self): method update_vcf (line 385) | def update_vcf(self): method update_env (line 407) | def update_env(self): method update_cho (line 416) | def update_cho(self): method set_param (line 446) | def set_param(self, param, val): method send_deferred_params (line 455) | def send_deferred_params(self): method set_patch (line 462) | def set_patch(self, patch): method set_sysex (line 467) | def set_sysex(self, sysex): method set_pitch_bend (line 472) | def set_pitch_bend(self, value): method amy_send (line 476) | def amy_send(self, osc, **kwargs): FILE: amy/piano.py function piano_example (line 7) | def piano_example(base_note=72, volume=5, send_command=amy.send, init_co... function juno_example (line 23) | def juno_example(): function dx7_example (line 27) | def dx7_example(): function harms_params_from_note_index_vel_index (line 73) | def harms_params_from_note_index_vel_index(note_index, vel_index): function interp_harms_params (line 83) | def interp_harms_params(hp0, hp1, alpha): function cents_to_hz (line 90) | def cents_to_hz(cents): function db_to_lin (line 94) | def db_to_lin(d): function harms_params_for_note_vel (line 99) | def harms_params_for_note_vel(note, vel): function init_piano_voice (line 129) | def init_piano_voice(num_partials, base_osc=0, **kwargs): function setup_piano_voice (line 138) | def setup_piano_voice(harms_params, base_osc=0, **kwargs): function init_piano_voices (line 154) | def init_piano_voices(num_partials=NUM_HARMONICS[0]): function play_piano_partials_1 (line 162) | def play_piano_partials_1(): function piano_note_on (line 166) | def piano_note_on(note=60, vel=1, **kwargs): function play_piano_partials_2 (line 176) | def play_piano_partials_2(): FILE: amy/sineclock.py function setup_triple (line 12) | def setup_triple( function start_sine_clock (line 29) | def start_sine_clock(hour, minute, second, vel=0.1): FILE: amy/test.py function wavread (line 16) | def wavread(filename): function rms (line 26) | def rms(samples): function dB (line 30) | def dB(level): class AmyTest (line 35) | class AmyTest: method __init__ (line 40) | def __init__(self): method test (line 43) | def test(self): class TestSineOsc (line 71) | class TestSineOsc(AmyTest): method run (line 73) | def run(self): class TestPulseOsc (line 79) | class TestPulseOsc(AmyTest): method run (line 81) | def run(self): class TestSawDownOsc (line 87) | class TestSawDownOsc(AmyTest): method run (line 89) | def run(self): class TestSawUpOsc (line 95) | class TestSawUpOsc(AmyTest): method run (line 97) | def run(self): class TestTriangleOsc (line 103) | class TestTriangleOsc(AmyTest): method run (line 105) | def run(self): class TestNoiseOsc (line 111) | class TestNoiseOsc(AmyTest): method run (line 113) | def run(self): class TestPcm (line 120) | class TestPcm(AmyTest): method run (line 122) | def run(self): class TestPcmShift (line 127) | class TestPcmShift(AmyTest): method run (line 129) | def run(self): class TestPcmPatchChange (line 137) | class TestPcmPatchChange(AmyTest): method run (line 140) | def run(self): class TestPcmLoop (line 147) | class TestPcmLoop(AmyTest): method run (line 149) | def run(self): class TestPcmLoopEnvFilt (line 155) | class TestPcmLoopEnvFilt(AmyTest): method run (line 158) | def run(self): class TestBuildYourOwnPartials (line 168) | class TestBuildYourOwnPartials(AmyTest): method run (line 170) | def run(self): class TestBYOPVoices (line 186) | class TestBYOPVoices(AmyTest): method run (line 188) | def run(self): class TestBYOPNoteOff (line 204) | class TestBYOPNoteOff(AmyTest): method run (line 206) | def run(self): class TestInterpPartials (line 220) | class TestInterpPartials(AmyTest): method run (line 222) | def run(self): class TestInterpPartialsRetrigger (line 235) | class TestInterpPartialsRetrigger(AmyTest): method run (line 237) | def run(self): class TestSineEnv (line 253) | class TestSineEnv(AmyTest): method run (line 255) | def run(self): class TestSineEnv2 (line 262) | class TestSineEnv2(AmyTest): method run (line 264) | def run(self): class TestSineAM (line 275) | class TestSineAM(AmyTest): method run (line 278) | def run(self): class TestAlgo (line 287) | class TestAlgo(AmyTest): method run (line 289) | def run(self): class TestAlgo2 (line 295) | class TestAlgo2(AmyTest): method run (line 297) | def run(self): class TestWoodPiano (line 304) | class TestWoodPiano(AmyTest): method run (line 307) | def run(self): class TestFMRepeat (line 327) | class TestFMRepeat(AmyTest): method run (line 330) | def run(self): class TestXanaduFM (line 338) | class TestXanaduFM(AmyTest): method run (line 341) | def run(self): class TestFilter (line 353) | class TestFilter(AmyTest): method run (line 355) | def run(self): class TestFilter24 (line 361) | class TestFilter24(AmyTest): method run (line 363) | def run(self): class TestFilterLFO (line 369) | class TestFilterLFO(AmyTest): method run (line 371) | def run(self): class TestLFO (line 378) | class TestLFO(AmyTest): method run (line 380) | def run(self): class TestDuty (line 390) | class TestDuty(AmyTest): method run (line 392) | def run(self): class TestPWM (line 401) | class TestPWM(AmyTest): method run (line 403) | def run(self): class TestGlobalEQ (line 410) | class TestGlobalEQ(AmyTest): method run (line 412) | def run(self): class TestChorus (line 419) | class TestChorus(AmyTest): method run (line 421) | def run(self): class TestBrass (line 430) | class TestBrass(AmyTest): method run (line 433) | def run(self): class TestBrassAlt (line 456) | class TestBrassAlt(AmyTest): method run (line 459) | def run(self): class TestBrass2 (line 478) | class TestBrass2(AmyTest): method run (line 481) | def run(self): class TestGuitar (line 490) | class TestGuitar(AmyTest): method run (line 493) | def run(self): class TestBleep (line 505) | class TestBleep(AmyTest): method run (line 508) | def run(self): class TestOverload (line 515) | class TestOverload(AmyTest): method run (line 518) | def run(self): class TestJunoPatch (line 526) | class TestJunoPatch(AmyTest): method run (line 529) | def run(self): class TestJunoClip (line 542) | class TestJunoClip(AmyTest): method run (line 545) | def run(self): class TestLowVcf (line 557) | class TestLowVcf(AmyTest): method run (line 560) | def run(self): class TestLowerVcf (line 571) | class TestLowerVcf(AmyTest): method run (line 574) | def run(self): class TestFlutesEq (line 585) | class TestFlutesEq(AmyTest): method run (line 588) | def run(self): class TestOscBD (line 603) | class TestOscBD(AmyTest): method run (line 606) | def run(self): class TestChainedOsc (line 616) | class TestChainedOsc(AmyTest): method run (line 619) | def run(self): class TestJunoTrumpetPatch (line 635) | class TestJunoTrumpetPatch(AmyTest): method run (line 638) | def run(self): class TestJunoCheapTrumpetPatch (line 646) | class TestJunoCheapTrumpetPatch(AmyTest): method run (line 649) | def run(self): class TestFilterReleaseGlitch (line 658) | class TestFilterReleaseGlitch(AmyTest): method run (line 661) | def run(self): class TestPortamento (line 667) | class TestPortamento(AmyTest): method run (line 669) | def run(self): class TestEcho (line 688) | class TestEcho(AmyTest): method run (line 690) | def run(self): class TestEchoLPF (line 697) | class TestEchoLPF(AmyTest): method run (line 699) | def run(self): class TestEchoHPF (line 706) | class TestEchoHPF(AmyTest): method run (line 708) | def run(self): class TestVoiceManagement (line 715) | class TestVoiceManagement(AmyTest): method run (line 718) | def run(self): class TestVoiceStealing (line 737) | class TestVoiceStealing(AmyTest): method __init__ (line 740) | def __init__(self): method run (line 744) | def run(self): class TestVoiceStealDecay (line 769) | class TestVoiceStealDecay(AmyTest): method run (line 772) | def run(self): class TestVoiceStealClick (line 790) | class TestVoiceStealClick(AmyTest): method run (line 793) | def run(self): class TestOwBassClick (line 805) | class TestOwBassClick(AmyTest): method run (line 808) | def run(self): class TestMidiDrums (line 826) | class TestMidiDrums(AmyTest): method __init__ (line 829) | def __init__(self): method run (line 833) | def run(self): class TestDrumsVoiceStealing (line 842) | class TestDrumsVoiceStealing(AmyTest): method __init__ (line 845) | def __init__(self): method run (line 849) | def run(self): class TestDefaultChan1Synth (line 858) | class TestDefaultChan1Synth(AmyTest): method __init__ (line 861) | def __init__(self): method run (line 865) | def run(self): class TestSynthProgChange (line 876) | class TestSynthProgChange(AmyTest): method __init__ (line 879) | def __init__(self): method run (line 883) | def run(self): class TestSynthDrums (line 896) | class TestSynthDrums(AmyTest): method __init__ (line 899) | def __init__(self): method run (line 903) | def run(self): class TestSynthFlags (line 911) | class TestSynthFlags(AmyTest): method run (line 914) | def run(self): class TestDoubleNoteOff (line 925) | class TestDoubleNoteOff(AmyTest): method run (line 928) | def run(self): class TestSustainPedal (line 935) | class TestSustainPedal(AmyTest): method run (line 938) | def run(self): class TestPatchFromEvents (line 953) | class TestPatchFromEvents(AmyTest): method __init__ (line 956) | def __init__(self): method run (line 960) | def run(self): class TestInvalidPatchNumber (line 972) | class TestInvalidPatchNumber(AmyTest): method run (line 975) | def run(self): class TestBreakpointsRealloc (line 988) | class TestBreakpointsRealloc(AmyTest): method run (line 991) | def run(self): class TestFileTransfer (line 997) | class TestFileTransfer(AmyTest): method test (line 999) | def test(self): class TestDiskSample (line 1021) | class TestDiskSample(AmyTest): method run (line 1023) | def run(self): class TestDiskSampleWithSilentGap (line 1028) | class TestDiskSampleWithSilentGap(AmyTest): method run (line 1030) | def run(self): class TestRestartFileSample (line 1035) | class TestRestartFileSample(AmyTest): method run (line 1037) | def run(self): class TestDiskSampleStereo (line 1043) | class TestDiskSampleStereo(AmyTest): method run (line 1045) | def run(self): class TestLoadSample (line 1052) | class TestLoadSample(AmyTest): method run (line 1059) | def run(self): class TestSample (line 1064) | class TestSample(AmyTest): method run (line 1066) | def run(self): class TestParamsInPatchCmd (line 1082) | class TestParamsInPatchCmd(AmyTest): method run (line 1084) | def run(self): class TestHPFHighBaseFreq (line 1096) | class TestHPFHighBaseFreq(AmyTest): method run (line 1098) | def run(self): class TestWavetable (line 1110) | class TestWavetable(AmyTest): method run (line 1113) | def run(self): class TestCopyingSynthConfig (line 1119) | class TestCopyingSynthConfig(AmyTest): method __init__ (line 1122) | def __init__(self): method run (line 1126) | def run(self): class TestGetSynthCommandsGetsMidiCcs (line 1141) | class TestGetSynthCommandsGetsMidiCcs(AmyTest): method test (line 1143) | def test(self): class TestClearMidiCCs (line 1167) | class TestClearMidiCCs(AmyTest): method test (line 1170) | def test(self): class TestClearOneMidiCC (line 1193) | class TestClearOneMidiCC(AmyTest): method test (line 1196) | def test(self): class TestResetOscs (line 1220) | class TestResetOscs(AmyTest): method run (line 1223) | def run(self): class TestPreset257 (line 1230) | class TestPreset257(AmyTest): method run (line 1233) | def run(self): class TestChangeSustain (line 1239) | class TestChangeSustain(AmyTest): method run (line 1242) | def run(self): function float_or_val (line 1249) | def float_or_val(str, error_val=None): class TestResetPreset (line 1257) | class TestResetPreset(AmyTest): method run (line 1260) | def run(self): function main (line 1269) | def main(argv): FILE: amy/timing.py function wavread (line 10) | def wavread(filename): function rms (line 20) | def rms(samples): function dB (line 24) | def dB(level): class AmyTest (line 29) | class AmyTest: method __init__ (line 34) | def __init__(self): method test (line 38) | def test(self): class TestSineOsc (line 61) | class TestSineOsc(AmyTest): method run (line 63) | def run(self): class TestPulseOsc (line 69) | class TestPulseOsc(AmyTest): method run (line 71) | def run(self): class TestSawDownOsc (line 77) | class TestSawDownOsc(AmyTest): method run (line 79) | def run(self): class TestSawUpOsc (line 85) | class TestSawUpOsc(AmyTest): method run (line 87) | def run(self): class TestTriangleOsc (line 93) | class TestTriangleOsc(AmyTest): method run (line 95) | def run(self): class TestNoiseOsc (line 101) | class TestNoiseOsc(AmyTest): method run (line 103) | def run(self): class TestPcm (line 110) | class TestPcm(AmyTest): method run (line 112) | def run(self): class TestPcmShift (line 117) | class TestPcmShift(AmyTest): method run (line 119) | def run(self): class TestSineEnv (line 128) | class TestSineEnv(AmyTest): method run (line 130) | def run(self): class TestFilter (line 138) | class TestFilter(AmyTest): method run (line 140) | def run(self): class TestFilterLFO (line 146) | class TestFilterLFO(AmyTest): method run (line 148) | def run(self): class TestLFO (line 155) | class TestLFO(AmyTest): method run (line 157) | def run(self): class TestDuty (line 167) | class TestDuty(AmyTest): method run (line 169) | def run(self): class TestPWM (line 178) | class TestPWM(AmyTest): method run (line 180) | def run(self): class TestGlobalEQ (line 187) | class TestGlobalEQ(AmyTest): method run (line 189) | def run(self): class TestChorus (line 196) | class TestChorus(AmyTest): method run (line 198) | def run(self): class TestBrass (line 207) | class TestBrass(AmyTest): method run (line 210) | def run(self): class TestBrass2 (line 232) | class TestBrass2(AmyTest): method run (line 235) | def run(self): class TestGuitar (line 242) | class TestGuitar(AmyTest): method run (line 245) | def run(self): class TestBleep (line 255) | class TestBleep(AmyTest): method run (line 258) | def run(self): class TestTiming (line 264) | class TestTiming(AmyTest): method run (line 267) | def run(self): class TestJunoPatch (line 286) | class TestJunoPatch(AmyTest): method run (line 289) | def run(self): class TestJunoPatch3 (line 300) | class TestJunoPatch3(AmyTest): method run (line 303) | def run(self): function main (line 309) | def main(argv): FILE: amy/wave.py class Error (line 78) | class Error(Exception): class Chunk (line 93) | class Chunk: method __init__ (line 94) | def __init__(self, file, align=True, bigendian=True, inclheader=False): method getname (line 116) | def getname(self): method getsize (line 119) | def getsize(self): method close (line 122) | def close(self): method isatty (line 129) | def isatty(self): method seek (line 134) | def seek(self, pos, whence=0): method tell (line 148) | def tell(self): method read (line 153) | def read(self, size=-1): method skip (line 170) | def skip(self): class Wave_read (line 192) | class Wave_read: method initfp (line 223) | def initfp(self, file): method __init__ (line 256) | def __init__(self, f): method __del__ (line 269) | def __del__(self): method __enter__ (line 272) | def __enter__(self): method __exit__ (line 275) | def __exit__(self, *args): method getfp (line 281) | def getfp(self): method rewind (line 284) | def rewind(self): method close (line 288) | def close(self): method tell (line 294) | def tell(self): method getnchannels (line 297) | def getnchannels(self): method getnframes (line 300) | def getnframes(self): method getsampwidth (line 303) | def getsampwidth(self): method getframerate (line 306) | def getframerate(self): method getcomptype (line 309) | def getcomptype(self): method getcompname (line 312) | def getcompname(self): method getparams (line 315) | def getparams(self): method getmarkers (line 320) | def getmarkers(self): method getmark (line 323) | def getmark(self, id): method setpos (line 326) | def setpos(self, pos): method readframes (line 332) | def readframes(self, nframes): method _read_smpl_chunk (line 352) | def _read_smpl_chunk(self, chunk): method _read_fmt_chunk (line 357) | def _read_fmt_chunk(self, chunk): class Wave_write (line 368) | class Wave_write: method __init__ (line 394) | def __init__(self, f): method initfp (line 406) | def initfp(self, file): method __del__ (line 418) | def __del__(self): method __enter__ (line 421) | def __enter__(self): method __exit__ (line 424) | def __exit__(self, *args): method setnchannels (line 430) | def setnchannels(self, nchannels): method getnchannels (line 437) | def getnchannels(self): method setsampwidth (line 442) | def setsampwidth(self, sampwidth): method getsampwidth (line 449) | def getsampwidth(self): method setframerate (line 454) | def setframerate(self, framerate): method getframerate (line 461) | def getframerate(self): method setnframes (line 466) | def setnframes(self, nframes): method getnframes (line 471) | def getnframes(self): method setcomptype (line 474) | def setcomptype(self, comptype, compname): method getcomptype (line 482) | def getcomptype(self): method getcompname (line 485) | def getcompname(self): method setparams (line 488) | def setparams(self, params): method getparams (line 498) | def getparams(self): method setmark (line 504) | def setmark(self, id, pos, name): method getmark (line 507) | def getmark(self, id): method getmarkers (line 510) | def getmarkers(self): method tell (line 513) | def tell(self): method writeframesraw (line 516) | def writeframesraw(self, data): method writeframes (line 529) | def writeframes(self, data): method close (line 534) | def close(self): method _ensure_header_written (line 551) | def _ensure_header_written(self, datasize): method _write_header (line 561) | def _write_header(self, initlength): method _patchheader (line 582) | def _patchheader(self): function open (line 594) | def open(f, mode=None): FILE: amy/xanadu.py function pitch2freq (line 24) | def pitch2freq(pitch): function pitch2note (line 32) | def pitch2note(pitch): function shift_pitch (line 37) | def shift_pitch(pitch, shift): function amy_message_of_send_args (line 49) | def amy_message_of_send_args(list_of_arg_dicts): function note1_patch (line 57) | def note1_patch(pan=0.5): function note2_patch (line 72) | def note2_patch(pitch_dev=0.1, pan=0.5): function fm_note_patch (line 86) | def fm_note_patch(duration=7.5): function synth_note_on (line 96) | def synth_note_on(synth=0, note=60, vel=1, timestamp=0): function Note (line 99) | def Note(pitch, vel=1.0, time=0, pitch_shift=0, second_delay=200, use_th... function NoteFM (line 109) | def NoteFM(pitch, vel=1.0, time=0, duration=8000): function broken_chord (line 117) | def broken_chord(base_pitch, intervals, start_time, **kwargs): function xanadu_init (line 124) | def xanadu_init(): function loop (line 164) | def loop(): FILE: daisy/amy_daisy.cpp function AudioCallback (line 19) | void AudioCallback(AudioHandle::InterleavingInputBuffer in, function test_audio_in (line 38) | void test_audio_in() { function midi_polyphony (line 54) | void midi_polyphony(uint32_t start, uint16_t patch) { function event_polyphony (line 68) | void event_polyphony(uint32_t start, uint16_t patch) { function HandleMidiMessage (line 91) | void HandleMidiMessage(MidiEvent m) { function sequencer_timer_callback (line 125) | void sequencer_timer_callback(void* arg) { function init_sequencer (line 129) | void init_sequencer() { function main (line 151) | int main(void) FILE: docs/amy.aw.js function createWasmAudioWorkletProcessor (line 15) | function createWasmAudioWorkletProcessor(audioParams) { class BootstrapMessages (line 140) | class BootstrapMessages extends AudioWorkletProcessor { method constructor (line 141) | constructor(arg) { method process (line 198) | process() { FILE: docs/amy.js function locateFile (line 1) | function locateFile(path){if(Module["locateFile"]){return Module["locate... function growMemViews (line 1) | function growMemViews(){if(wasmMemory.buffer!=HEAP8.buffer){updateMemory... function startWasmWorker (line 1) | function startWasmWorker(props){wwParams=props;wasmMemory=props.wasmMemo... function wrapMsgHandler (line 1) | function wrapMsgHandler(h){var f=wrappedHandlers.get(h);if(!f){f=msg=>h(... function createWasmAudioWorkletProcessor (line 1) | function createWasmAudioWorkletProcessor(audioParams){class WasmAudioWor... class BootstrapMessages (line 1) | class BootstrapMessages extends AudioWorkletProcessor{constructor(arg){s... method constructor (line 1) | constructor(arg){super();startWasmWorker(arg.processorOptions);if(!(po... method process (line 1) | process(){} function updateMemoryViews (line 1) | function updateMemoryViews(){var b=wasmMemory.buffer;HEAP8=new Int8Array... function initMemory (line 1) | function initMemory(){if(ENVIRONMENT_IS_WASM_WORKER){return}if(Module["w... function preRun (line 1) | function preRun(){if(Module["preRun"]){if(typeof Module["preRun"]=="func... function initRuntime (line 1) | function initRuntime(){runtimeInitialized=true;if(ENVIRONMENT_IS_WASM_WO... function postRun (line 1) | function postRun(){if(ENVIRONMENT_IS_WASM_WORKER){return}if(Module["post... function abort (line 1) | function abort(what){Module["onAbort"]?.(what);what="Aborted("+what+")";... function findWasmBinary (line 1) | function findWasmBinary(){return locateFile("amy.wasm")} function getBinarySync (line 1) | function getBinarySync(file){if(file==wasmBinaryFile&&wasmBinary){return... function getWasmBinary (line 1) | async function getWasmBinary(binaryFile){if(!wasmBinary){try{var respons... function instantiateArrayBuffer (line 1) | async function instantiateArrayBuffer(binaryFile,imports){try{var binary... function instantiateAsync (line 1) | async function instantiateAsync(binary,binaryFile,imports){if(!binary&&!... function getWasmImports (line 1) | function getWasmImports(){assignWasmImports();var imports={a:wasmImports... function createWasm (line 1) | async function createWasm(){function receiveInstance(instance,module){wa... class ExitStatus (line 1) | class ExitStatus{name="ExitStatus";constructor(status){this.message=`Pro... method constructor (line 1) | constructor(status){this.message=`Program terminated with exit(${statu... method constructor (line 1) | constructor(message){super(message);this.name="BindingError"} function sharedRegisterType (line 1) | function sharedRegisterType(rawType,registeredInstance,options={}){var n... function registerType (line 1) | function registerType(rawType,registeredInstance,options={}){return shar... function readPointer (line 1) | function readPointer(pointer){return this.fromWireType((growMemViews(),H... function decodeMemoryView (line 1) | function decodeMemoryView(handle){var size=(growMemViews(),HEAPU32)[hand... method fromWireType (line 1) | fromWireType(value){var length=(growMemViews(),HEAPU32)[value>>2];var pa... method toWireType (line 1) | toWireType(destructors,value){if(value instanceof ArrayBuffer){value=new... method destructorFunction (line 1) | destructorFunction(ptr){_free(ptr)} method destructorFunction (line 1) | destructorFunction(ptr){_free(ptr)} function checkIsRunning (line 1) | function checkIsRunning(){if(thisMainLoopId{Asyncify.exportCall... method instrumentWasmExports (line 1) | instrumentWasmExports(exports){var ret={};for(let[x,original]of Object.e... method getCallStackId (line 1) | getCallStackId(func){if(!Asyncify.callstackFuncToId.has(func)){var id=As... method maybeStopUnwind (line 1) | maybeStopUnwind(){if(Asyncify.currData&&Asyncify.state===Asyncify.State.... method whenDone (line 1) | whenDone(){return new Promise((resolve,reject)=>{Asyncify.asyncPromiseHa... method allocateData (line 1) | allocateData(){var ptr=_malloc(12+Asyncify.StackSize);Asyncify.setDataHe... method setDataHeader (line 1) | setDataHeader(ptr,stack,stackSize){(growMemViews(),HEAPU32)[ptr>>2]=stac... method setDataRewindFunc (line 1) | setDataRewindFunc(ptr){var bottomOfCallStack=Asyncify.exportCallStack[0]... method getDataRewindFunc (line 1) | getDataRewindFunc(ptr){var id=(growMemViews(),HEAP32)[ptr+8>>2];var func... method doRewind (line 1) | doRewind(ptr){var original=Asyncify.getDataRewindFunc(ptr);var func=Asyn... method handleSleep (line 1) | handleSleep(startAsync){if(ABORT)return;if(Asyncify.state===Asyncify.Sta... function convertReturnValue (line 1) | function convertReturnValue(ret){if(returnType==="string"){return UTF8To... function onDone (line 1) | function onDone(ret){runtimeKeepalivePop();if(stack!==0)stackRestore(sta... function assignWasmExports (line 1) | function assignWasmExports(wasmExports){_free=Module["_free"]=wasmExport... function assignWasmImports (line 1) | function assignWasmImports(){wasmImports={b:___assert_fail,A:__abort_js,... function run (line 1) | function run(){if(ENVIRONMENT_IS_WASM_WORKER){readyPromiseResolve?.(Modu... function amy_js_start (line 65) | async function amy_js_start() { function setup_midi_devices (line 82) | async function setup_midi_devices() { function start_midi (line 100) | async function start_midi() { function sleep_ms (line 136) | async function sleep_ms(ms) { function toggle_audioin (line 141) | async function toggle_audioin() { function _str_of_int (line 281) | function _str_of_int(arg) { function _trunc (line 285) | function _trunc(number) { function _parse_list (line 299) | function _parse_list(obj) { function _trim_trailing (line 306) | function _trim_trailing(arr) { function _parse_ctrl_coefs (line 312) | function _parse_ctrl_coefs(coefs) { function amy_message (line 355) | function amy_message(params) { function amy_send (line 391) | function amy_send(params, log) { FILE: docs/amy.ww.js function wrapMsgHandler (line 21) | function wrapMsgHandler(h) { FILE: docs/amyrepl.js function start_python_and_amy (line 9) | async function start_python_and_amy() { function run_async (line 14) | async function run_async(code) { function start_python (line 19) | async function start_python() { function resetAMY (line 45) | async function resetAMY() { function print_error (line 51) | async function print_error(text) { function runCodeBlock (line 57) | async function runCodeBlock(index) { function create_editor (line 70) | function create_editor(element, index) { function amy_sequencer_js_hook (line 111) | function amy_sequencer_js_hook(tick) { FILE: docs/chunk.py class Chunk (line 51) | class Chunk: method __init__ (line 52) | def __init__(self, file, align=True, bigendian=True, inclheader=False): method getname (line 79) | def getname(self): method getsize (line 83) | def getsize(self): method close (line 87) | def close(self): method isatty (line 92) | def isatty(self): method seek (line 97) | def seek(self, pos, whence=0): method tell (line 116) | def tell(self): method read (line 121) | def read(self, size=-1): method skip (line 144) | def skip(self): FILE: docs/enable-threads.js function handleFetch (line 10) | async function handleFetch(request) { FILE: docs/micropython.mjs function _createMicroPythonModule (line 6) | async function _createMicroPythonModule(moduleArg = {}) { function loadMicroPython (line 5707) | async function loadMicroPython(options) { function runCLI (line 5865) | async function runCLI() { class PyProxy (line 5995) | class PyProxy { method constructor (line 5996) | constructor(ref) { method toJs (line 6001) | static toJs(js_obj) { method isExtensible (line 6096) | isExtensible() { method ownKeys (line 6099) | ownKeys(target) { method getOwnPropertyDescriptor (line 6110) | getOwnPropertyDescriptor(target, prop) { method has (line 6118) | has(target, prop) { method get (line 6126) | get(target, prop) { method set (line 6169) | set(target, prop, value) { method deleteProperty (line 6181) | deleteProperty(target, prop) { class PyProxyThenable (line 6192) | class PyProxyThenable { method constructor (line 6193) | constructor(ref) { method then (line 6197) | then(resolve, reject) { constant PROXY_JS_REF_NUM_STATIC (line 6237) | const PROXY_JS_REF_NUM_STATIC = 2; constant PROXY_KIND_MP_EXCEPTION (line 6241) | const PROXY_KIND_MP_EXCEPTION = -1; constant PROXY_KIND_MP_NULL (line 6242) | const PROXY_KIND_MP_NULL = 0; constant PROXY_KIND_MP_NONE (line 6243) | const PROXY_KIND_MP_NONE = 1; constant PROXY_KIND_MP_BOOL (line 6244) | const PROXY_KIND_MP_BOOL = 2; constant PROXY_KIND_MP_INT (line 6245) | const PROXY_KIND_MP_INT = 3; constant PROXY_KIND_MP_FLOAT (line 6246) | const PROXY_KIND_MP_FLOAT = 4; constant PROXY_KIND_MP_STR (line 6247) | const PROXY_KIND_MP_STR = 5; constant PROXY_KIND_MP_CALLABLE (line 6248) | const PROXY_KIND_MP_CALLABLE = 6; constant PROXY_KIND_MP_GENERATOR (line 6249) | const PROXY_KIND_MP_GENERATOR = 7; constant PROXY_KIND_MP_OBJECT (line 6250) | const PROXY_KIND_MP_OBJECT = 8; constant PROXY_KIND_MP_JSPROXY (line 6251) | const PROXY_KIND_MP_JSPROXY = 9; constant PROXY_KIND_MP_EXISTING (line 6252) | const PROXY_KIND_MP_EXISTING = 10; constant PROXY_KIND_JS_UNDEFINED (line 6254) | const PROXY_KIND_JS_UNDEFINED = 0; constant PROXY_KIND_JS_NULL (line 6255) | const PROXY_KIND_JS_NULL = 1; constant PROXY_KIND_JS_BOOLEAN (line 6256) | const PROXY_KIND_JS_BOOLEAN = 2; constant PROXY_KIND_JS_INTEGER (line 6257) | const PROXY_KIND_JS_INTEGER = 3; constant PROXY_KIND_JS_DOUBLE (line 6258) | const PROXY_KIND_JS_DOUBLE = 4; constant PROXY_KIND_JS_STRING (line 6259) | const PROXY_KIND_JS_STRING = 5; constant PROXY_KIND_JS_OBJECT (line 6260) | const PROXY_KIND_JS_OBJECT = 6; constant PROXY_KIND_JS_PYPROXY (line 6261) | const PROXY_KIND_JS_PYPROXY = 7; class PythonError (line 6263) | class PythonError extends Error { method constructor (line 6264) | constructor(exc_type, exc_details) { function proxy_js_init (line 6271) | function proxy_js_init() { function proxy_js_check_existing (line 6287) | function proxy_js_check_existing(c_ref) { function proxy_js_add_obj (line 6308) | function proxy_js_add_obj(js_obj) { function proxy_call_python (line 6328) | function proxy_call_python(target, argumentsList) { function proxy_convert_js_to_mp_obj_jsside (line 6377) | function proxy_convert_js_to_mp_obj_jsside(js_obj, out) { function proxy_convert_js_to_mp_obj_jsside_force_double_proxy (line 6422) | function proxy_convert_js_to_mp_obj_jsside_force_double_proxy(js_obj, ou... function proxy_convert_mp_to_js_obj_jsside (line 6437) | function proxy_convert_mp_to_js_obj_jsside(value) { function proxy_convert_mp_to_js_obj_jsside_with_free (line 6505) | function proxy_convert_mp_to_js_obj_jsside_with_free(value) { function python_index_semantics (line 6511) | function python_index_semantics(target, index_in) { FILE: docs/server.py function test (line 9) | def test (*args): class CORSRequestHandler (line 15) | class CORSRequestHandler (SimpleHTTPRequestHandler): method end_headers (line 16) | def end_headers (self): FILE: experiments/dx7_simulator.py function final_hpf (line 10) | def final_hpf(x): function final_hpf (line 13) | def final_hpf(x): function calc_loglin_eg_env (line 35) | def calc_loglin_eg_env(breakpoints, keyup_time=0.5, frame_rate=1000, do_... function fm_waveform (line 123) | def fm_waveform(freq, amp=1.0, freq_mod=None, duration=1.0, sr=44100, fe... function dx7_op_waveform (line 148) | def dx7_op_waveform(op, f0=440, mod=None, sr=44100, duration=1.0, keyup_... function dx7_f0_contour (line 225) | def dx7_f0_contour(patch, f0=440, sr=44100, duration=1.0, keyup_time=0.5): function dx7_lfo (line 239) | def dx7_lfo(patch, sr=44100, duration=1.0): function ampmoddepth_to_linear (line 254) | def ampmoddepth_to_linear(ampmoddepth): function synth_dx7_patch (line 271) | def synth_dx7_patch(patch, f0=440, sr=44100, duration=1.0, keyup_time=0.5): FILE: experiments/piano_examples.py function wavwrite (line 14) | def wavwrite(filename, data, samplerate=44100, force_mono=True): function piano_example (line 21) | def piano_example(base_note=72, filename='piano_examples.wav', volume=5, function init_piano_voices (line 47) | def init_piano_voices(): function main (line 56) | def main(argv): FILE: experiments/tulip_piano.py function harms_params_from_note_index_vel_index (line 56) | def harms_params_from_note_index_vel_index(note_index, vel_index): function interp_harms_params (line 66) | def interp_harms_params(hp0, hp1, alpha): function cents_to_hz (line 73) | def cents_to_hz(cents): function db_to_lin (line 77) | def db_to_lin(d): function harms_params_for_note_vel (line 82) | def harms_params_for_note_vel(note, vel): function init_piano_voice (line 111) | def init_piano_voice(num_partials, base_osc=0, **kwargs): function setup_piano_voice (line 120) | def setup_piano_voice(harms_params, base_osc=0, voices=None, time=None, ... function piano_note_on (line 149) | def piano_note_on(note=60, vel=1, **kwargs): function amy_send (line 161) | def amy_send(**kwargs): class PianoVoiceObject (line 180) | class PianoVoiceObject: method __init__ (line 182) | def __init__(self, amy_voice): method note_on (line 185) | def note_on(self, note, vel, time=None, sequence=None): method note_off (line 189) | def note_off(self, time=None, sequence=None): FILE: godot/src/amy_gdextension.cpp function PackedVector2Array (line 127) | PackedVector2Array AmySynth::fill_buffer() { FILE: godot/src/amy_gdextension.h function namespace (line 9) | namespace godot { FILE: godot/src/amy_platform_stubs.c function amy_platform_init (line 11) | void amy_platform_init(void) {} function amy_platform_deinit (line 12) | void amy_platform_deinit(void) {} function amy_update_tasks (line 13) | void amy_update_tasks(void) {} function amy_i2s_write (line 15) | size_t amy_i2s_write(const uint8_t *buffer, size_t nbytes) { function stop_midi (line 20) | void stop_midi(void) {} function run_midi (line 21) | void run_midi(void) {} function amy_send_midi_note_on (line 22) | void amy_send_midi_note_on(uint8_t channel, uint8_t note, uint8_t veloci... function amy_send_midi_note_off (line 25) | void amy_send_midi_note_off(uint8_t channel, uint8_t note, uint8_t veloc... function midi_out (line 29) | void midi_out(uint8_t *bytes, uint16_t len) { (void)bytes; (void)len; } function delay_ms (line 32) | void delay_ms(uint32_t ms) { (void)ms; } FILE: godot/src/register_types.cpp function initialize_amy_module (line 11) | void initialize_amy_module(ModuleInitializationLevel p_level) { function uninitialize_amy_module (line 18) | void uninitialize_amy_module(ModuleInitializationLevel p_level) { function GDExtensionBool (line 26) | GDExtensionBool GDE_EXPORT amy_library_init( FILE: godot/web/godot_amy_bridge.js function _try_start_audio (line 14) | async function _try_start_audio() { function _try_configure (line 45) | function _try_configure() { FILE: scripts/gen_amy_js_api.py function extract_kw_map_list (line 19) | def extract_kw_map_list(source: str): function extract_coef_fields (line 34) | def extract_coef_fields(source: str): function extract_constants (line 42) | def extract_constants(source: str): function generate_js (line 70) | def generate_js(kw_map_list, coef_fields, constants=None): function main (line 253) | def main(): FILE: scripts/gen_patches_js.py function parse_patches (line 21) | def parse_patches(source: str): function generate_js (line 29) | def generate_js(patches): function main (line 102) | def main(): FILE: src/algorithms.c type FmOperatorFlags (line 5) | enum FmOperatorFlags { type FmAlgorithm (line 36) | struct FmAlgorithm { uint8_t ops[MAX_ALGO_OPS]; } type FmAlgorithm (line 37) | struct FmAlgorithm function zero (line 76) | static inline void zero(SAMPLE* a) { function copy (line 82) | static inline void copy(SAMPLE* a, SAMPLE* b) { function SAMPLE (line 86) | SAMPLE render_mod(SAMPLE *in, SAMPLE* out, uint16_t osc, SAMPLE feedback... function note_on_mod (line 99) | void note_on_mod(uint16_t osc, uint16_t algo_osc) { function algo_note_off (line 108) | void algo_note_off(uint16_t osc) { function algo_note_on (line 122) | void algo_note_on(uint16_t osc, float freq) { function algo_deinit (line 133) | void algo_deinit() { function algo_init (line 141) | void algo_init() { function SAMPLE (line 152) | SAMPLE render_algo(SAMPLE* buf, uint16_t osc, uint8_t core) { FILE: src/amy-example.c function delay_ms (line 11) | void delay_ms(uint32_t ms) { function render (line 17) | uint8_t render(uint16_t osc, SAMPLE * buf, uint16_t len) { function print_events_for_patch_number (line 22) | void print_events_for_patch_number(int patch_number) { function print_events_for_synth (line 35) | void print_events_for_synth(int synth, bool wirecode) { function print_events_for_synth_2 (line 47) | void print_events_for_synth_2(int synth, bool wirecode) { function test_patch_set (line 57) | void test_patch_set() { function test_loop_env_filt (line 71) | void test_loop_env_filt() { function test_algo (line 89) | void test_algo() { function test_stored_patch (line 98) | void test_stored_patch() { function main (line 177) | int main(int argc, char ** argv) { FILE: src/amy-message.c function delay_ms (line 8) | void delay_ms(uint32_t ms) { function main (line 12) | int main(int argc, char ** argv) { FILE: src/amy-piano.c function delay_ms (line 9) | void delay_ms(uint32_t ms) { function main (line 14) | int main(int argc, char ** argv) { FILE: src/amy.c type itags (line 8) | enum itags type profile (line 43) | struct profile function amy_get_us (line 48) | int64_t amy_get_us() { return esp_timer_get_time(); } function amy_get_us (line 50) | int64_t amy_get_us() { return to_us_since_boot(get_absolute_time()); } function amy_get_us (line 56) | int64_t amy_get_us() { function amy_get_us (line 64) | int64_t amy_get_us() { struct timeval tv; gettimeofday(&tv,NULL); return... function amy_profiles_init (line 67) | void amy_profiles_init() { function amy_profiles_print (line 70) | void amy_profiles_print() { for(uint8_t i=0;i