Code Monkey home page Code Monkey logo

Comments (7)

piscue avatar piscue commented on July 2, 2024

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.

drakpo avatar drakpo commented on July 2, 2024

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.

piscue avatar piscue commented on July 2, 2024

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.

drakpo avatar drakpo commented on July 2, 2024

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.

piscue avatar piscue commented on July 2, 2024

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.

drakpo avatar drakpo commented on July 2, 2024

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.

piscue avatar piscue commented on July 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.