sbl / chimera

Auditory chimera
7 stars 4 forks source link

export chimeras #2

Open mousaique opened 3 years ago

mousaique commented 3 years ago

hello, would it be possible to export the generated audio chimeras as sound files? thanks!

drillkicker commented 1 month ago

This is old but I just took the jupyter notebook example and replaced the display line with the following: sf.write('output.wav', e1, sr)

Make sure to import soundfile at the start of the script: import soundfile as sf