boodle.music | index boodle/music.py |
music: Utility functions for musical computation.
get_pitch() -- the pitch factor that corresponds to a given number of semitones
decibel() -- the volume factor that corresponds to a given number of decibels
Modules | ||||||
|
Functions | ||
|
Data | ||
chromatic_octave = [1.0, 1.0594630943592953, 1.122462048309373, 1.189207115002721, 1.2599210498948732, 1.3348398541700344, 1.4142135623730951, 1.4983070768766815, 1.5874010519681994, 1.681792830507429, 1.7817974362806785, 1.8877486253633868] decibel_factor = 0.23025850929940461 ix = 7 octaves = [1, 2, 4, 8, 16, 32, 64, 128] val = 128 |