Comments (7)
I managed to reproduce the issue, I try to take a look at how to fix it, but any help is welcomed
from audio-randomizer.
the only thing I can see that MIGHT be happening is that the white noise generator (which I see is in the code) is getting triggered, but I cannot trace how that might be happening. possibly too obvious?
from audio-randomizer.
the only thing I can see that MIGHT be happening is that the white noise generator (which I see is in the code) is getting triggered, but I cannot trace how that might be happening. possibly too obvious?
Can you point to the line you see the white noise generator?
from audio-randomizer.
it was in one of the modules, but I can't find it now. sorry - was a while ago now. will go back to my notes and get back to you. the other thing I THOUGHT might be the problem was memory, but that now doesn't seem to be the case. as I said, what was also odd is that it wasn't consistent.
from audio-randomizer.
I just fixed the issue. You can try directly with the new code or by using the docker image. Let me know if it works as expected
from audio-randomizer.
frames, yes, of course. however: -s 128 works, but 256 not:
~/D/S/audio-randomizer-master> python3 main.py -i RESULTS/b.wav -s 256
Traceback (most recent call last):
File "/Users/AAA/Downloads/SOUND/audio-randomizer-master/main.py", line 98, in
wavedict = load_wave(vars.input, int(vars.splits))
File "/Users/AAA/Downloads/SOUND/audio-randomizer-master/main.py", line 64, in load_wave
wavedict['frames'] = split_frames(wavefile, splits, wavedict['duration'])
File "/Users/AAA/Downloads/SOUND/audio-randomizer-master/main.py", line 50, in split_frames
wavefile.setpos(int(frame_position))
File "/usr/local/Cellar/[email protected]/3.9.13_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/wave.py", line 229, in setpos
raise Error('position not in range')
wave.Error: position not in range
from audio-randomizer.
I see, this is unrelated to the white noise but indeed appeared with the fix. I would suggest closing this issue and creating a new one
from audio-randomizer.
Related Issues (2)
- "... -s 256" fails. HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio-randomizer.