-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
system error with oneset mask width slider >0 #12
Comments
just as a note dont know if is related, i had to manually install madmom cloning from its git (else it gives error in win10), also i had to upgrade numpy to version 23 cause with 22 i was getting errors on startup. |
hmm, I feel like this could either be version problem with madmom or sndfile, since onset detection happens through madmom. what's the full call stack? is this libsndfile error happening inside madmom? |
Here's the full stack printed from powershell, looks like "file not found" |
Hmm, I don't have a windows machine to debug on atm, but it looks like it's failing to write the input audio file to a temp directory for onset processing:
The way Line 199 in a66dc9c
|
this could be it: https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file looks like we're trying to open the file twice: once when This solution from stackoverflow could work, you could give it a try! I'm happy to accept a PR!
|
Hi there, Line 199 in a66dc9c
with with tempfile.NamedTemporaryFile(suffix='.wav',delete=False) as f: and it works! it's probably going to grow temp folder overtime, not that clever solution but given my near 0 python knowledge i'm ok with this for now :) Thanks for the hint! I have a question, assuming i want to create my own mask, i would like to make that when i click generate instead of creating the mask file it will load a mask.wav file from vampnet\assets folder, would you be so kind to point me where i should act in the code more or less ? |
The mask is not the audio with muted parts (though we can represent the mask as that). A better way to think of the mask is an array with 1s in the timesteps where we want to generate audio and 0s in the timesteps where we want conditioning. Note that the "width" of these time steps depends on the tokenizer's hop length. You can get the tokenizer you could try something like checking if most (or all) samples in a given chunk of this could be a good starting point, though it's not tested:
|
i've managed to let it work on Windows 10 but if i try to generate audio with the oneset mask slider higher than 0 i get this error:
soundfile.LibsndfileError: Error opening 'C:\Users\xxxx\AppData\Local\Temp\tmptlcxs7uq.wav': System error.
With slider at 0 everything works and is amazing, i tested all presets and i only have to move that slider to 0 if is not already.
any clue ? thanks
The text was updated successfully, but these errors were encountered: