Open hamoid opened 6 years ago
What does the CPU usage look like while the sketches are running, is Java hogging a lot of the processor?
Also, could you paste the output from the Processing console from when the Sound library is initialised (it should tell you some stuff about latency etc)
Hi, this is "idle":
and this while running the sine cluster:
The console shows this:
Sep 12, 2018 12:26:08 PM com.jsyn.engine.SynthesisEngine start
INFO: Pure Java JSyn from www.softsynth.com, rate = 44100, RT, V16.8.0 (build 463, 2017-10-16)
Before the sound.play()
have you got sound.stop()
, so it doesn't get feedback.
@wooden-utensil sorry I don't understand what you mean. Is it a question? I just open the SineCluster example and run it. With the latest version there's no longer anything in the console.
@hamoid Have you tried updating Processing to the latest version, also try updating your speaker driver if necessary. Try to see if you can change the bit quality and if it's signed or unsigned, otherwise just try to play around with the parameters. Make sure you define the SineCluster
in the setup()
function.
@wooden-utensil I'm using the latest Processing. Sound in all other environments work fine: with and without jackd, in SuperCollider, Audacity, Firefox, cmus, VLC, KDEnlive, zynaddsubfx, etc. It also works in Processing with Minim and Beads (other sound libraries). So I think my system should be configured ok for sound.
I am not writing any new programs, just running the examples that come with the Sound library for Processing, so it's not an error in my programs.
Unfortunately I have no time at the moment to change audio settings to try debug this. Maybe some day.
Hey! I jump on this thread as I did a simple program to deal with sineWaves... the idea is to modulate the amplitude of the waves with LFO... I post the link to the code below so you can tell me what is wrong... The issue I have is: massive parasites/glitches: the sine wave seems to be "scaled" on a sample rate basis: but there is no way in the library to custom the sample rate. So, guys, what's wrong here? Thanks!
https://www.dropbox.com/s/0ry9srb9r3cgitt/soundTest.pde?dl=0
Hi. I'm trying the SineCluster and SawWave examples and most of the time they do not work correctly on my system.
When I start the sketch most of the times the result is almost pure glitch, very broken. Sometimes, about 10% of the times, it seems to work ok. I've heard it slide from working to glitch: it starts ok, but after a few seconds it becomes broken. It sounds like something out of sync, or a threading problem.
I tried recording it with simplescreenrecorder, but the result is silent. I can try record it with an external recorder if that helps.
I work on ArchLinux, the laptop is a quad i7 and I'm used to audio synthesis (often with SuperCollider or webaudio) and creative coding with different languages.