Skip to content

wavfile.write renders wav file with no sound #195

Discussion options

You must be logged in to vote

Turns out it wasn't a state problem. I found that out by loading the plugin's native preset type (.agmstate) instead of a state and was having the same issue: some of the wav files didn't have sound and some did.

I've found the problem though: the plugin needed some time to "load" or "boot up" (for lack of better words) before I could use it to render audio files. The audio files that came out empty were not random: they were the first 2-3 audio files I was trying to render before the plugin was fully "booted up". Added a time.sleep(5) after my the_plugin = engine.make_plugin_processor("my_synth", plugin) and every audio file is now coming out with sound. It's kind of a brute force fix bu…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@samuelbraun04
Comment options

Answer selected by samuelbraun04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants