Damien Quartz

Results 60 comments of Damien Quartz

Yes, you are correct about all of the above. The mp3 metadata information that Minim provides, which includes the length in milliseconds, is based on the ID3 tag parsing code...

The underlying implementation reads data from the source file in chunks defined by the `bufferSize` argument to the `loadFile` method. By default that buffer size is 1024, which means position...

In your case, particularly because you already know what all of your objects will be before the song starts, I'd recommend updating your own "play position" in your main game...

Unfortunately I do not have a Raspberry Pi 4 to test with, but I'm open to someone who does trying to figure this out and submitting a PR.

Thanks for giving that a try @monkstone. @theseanzo if you can provide more details about your specific setup and how exactly things aren't working, maybe someone will be able to...

All of the FFT related code is here: https://github.com/ddf/Minim/tree/master/src/main/java/ddf/minim/analysis This includes classes for all of the window types that are included. If you wanted to use one that isn't included,...

Ah, yeah, that's tricky. The trouble is that the `Waveform` used by `Oscil` is sampled using a 0-1 phase value, so there isn't a reliable moment when the waveform "finishes"...

You only need one `Line`. When you want to fade out an `Oscil` you'd do something like call `activate(0.05,1,0)` on the attached `Line` and then later when you want to...

Yeah I think it's possible for the input reading to block here: https://github.com/ddf/Minim/blob/b0e7734c6a0fe5993a75062c13efc7f03ab9ea51/src/main/java/ddf/minim/javasound/JSAudioInput.java#L148 If that happened it'd hold up the entire signal chain. The comment about that implementation being "sort...

I believe detection on the `AudioInput` will work if you change the type of `source` in `BeatListener` to `AudioSource`. However, it is not typically easy to monitor the sound going...