No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
analyze.py

README.md

dummy-wav2pi (exp)

Failed attempt to convert a WAV to a sonic pi serie of sines. This kind-of works, but this is not what you are looking for.

$ ./analyze.py bell.wav

synth :sine, note: :D3, sustain_level: 1.7931411382382294, sustain: 1, release: 0
synth :sine, note: :Fs5, sustain_level: 0.5644104785091406, sustain: 1, release: 0
synth :sine, note: :As5, sustain_level: 0.5182649122066086, sustain: 1, release: 0
synth :sine, note: :As4, sustain_level: 0.5165710260982809, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.4960975553480047, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.49533315233514186, sustain: 1, release: 0
synth :sine, note: :As3, sustain_level: 0.45948799984610733, sustain: 1, release: 0
sleep 1

synth :sine, note: :D3, sustain_level: 1.8665842094262601, sustain: 1, release: 0
synth :sine, note: :Fs5, sustain_level: 0.45248309973726836, sustain: 1, release: 0
synth :sine, note: :Cs3, sustain_level: 0.38232422435924, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.3532864868817793, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.35274213174020497, sustain: 1, release: 0
synth :sine, note: :C4, sustain_level: 0.3443327487027412, sustain: 1, release: 0
synth :sine, note: :As4, sustain_level: 0.33946238064187506, sustain: 1, release: 0
sleep 1

synth :sine, note: :D3, sustain_level: 1.4424962158455021, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.2950403613857797, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.2945857537411175, sustain: 1, release: 0
synth :sine, note: :C4, sustain_level: 0.28356994736829844, sustain: 1, release: 0
synth :sine, note: :Cs3, sustain_level: 0.2706362993350008, sustain: 1, release: 0
synth :sine, note: :Fs5, sustain_level: 0.24741701034670768, sustain: 1, release: 0
synth :sine, note: :E4, sustain_level: 0.20465508066909316, sustain: 1, release: 0
sleep 1

synth :sine, note: :D3, sustain_level: 0.8096621231924372, sustain: 1, release: 0
synth :sine, note: :E4, sustain_level: 0.2086797912542841, sustain: 1, release: 0
synth :sine, note: :A3, sustain_level: 0.2063906789227719, sustain: 1, release: 0
synth :sine, note: :Cs3, sustain_level: 0.1901909368624648, sustain: 1, release: 0
synth :sine, note: :C4, sustain_level: 0.16188682333693508, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.15752238136569668, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.1572796658320053, sustain: 1, release: 0
sleep 1

synth :sine, note: :D3, sustain_level: 0.6013035063441949, sustain: 1, release: 0
synth :sine, note: :E4, sustain_level: 0.14208080891586033, sustain: 1, release: 0
synth :sine, note: :Cs3, sustain_level: 0.14196980244941806, sustain: 1, release: 0
synth :sine, note: :A3, sustain_level: 0.13979461635855586, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.13193660401894403, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.13173331187099496, sustain: 1, release: 0
synth :sine, note: :C4, sustain_level: 0.11856624464855386, sustain: 1, release: 0
sleep 1

synth :sine, note: :D3, sustain_level: 0.5005526318071086, sustain: 1, release: 0
synth :sine, note: :Cs3, sustain_level: 0.1045601094031212, sustain: 1, release: 0
synth :sine, note: :C4, sustain_level: 0.09797386150420792, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.09383684139146167, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.09369225457884, sustain: 1, release: 0
synth :sine, note: :E4, sustain_level: 0.08069658711809073, sustain: 1, release: 0
synth :sine, note: :A3, sustain_level: 0.07867632226422419, sustain: 1, release: 0
sleep 1

synth :sine, note: :D3, sustain_level: 0.32273524546551635, sustain: 1, release: 0
synth :sine, note: :E4, sustain_level: 0.07950812798309631, sustain: 1, release: 0
synth :sine, note: :A3, sustain_level: 0.07874371233791837, sustain: 1, release: 0
synth :sine, note: :Cs3, sustain_level: 0.06621190017568879, sustain: 1, release: 0
synth :sine, note: :C4, sustain_level: 0.06429463275941298, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.0534834266990118, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.05340101772104722, sustain: 1, release: 0
sleep 1

synth :sine, note: :D3, sustain_level: 0.20701318823252285, sustain: 1, release: 0
synth :sine, note: :E4, sustain_level: 0.0775404132088581, sustain: 1, release: 0
synth :sine, note: :A3, sustain_level: 0.07684264229425701, sustain: 1, release: 0
synth :sine, note: :Cs4, sustain_level: 0.04712526567358938, sustain: 1, release: 0
synth :sine, note: :Fs3, sustain_level: 0.04705265355390743, sustain: 1, release: 0
synth :sine, note: :C4, sustain_level: 0.0447259427719438, sustain: 1, release: 0
synth :sine, note: :Cs3, sustain_level: 0.035952167479207084, sustain: 1, release: 0
sleep 1