jamiebullock / LibXtract

LibXtract is a simple, portable, lightweight library of audio feature extraction functions.
MIT License
224 stars 46 forks source link

Bark last bin #31

Open q-depot opened 10 years ago

q-depot commented 10 years ago

Hi,

I'm using XTRACT_BARK_BANDS to set the number of bins, however the last one in the array seems a pointer to nothing.

screen shot 2013-07-23 at 16 19 28

EDIT: somehow today the feature seems working properly, I can't replicate the issue which makes me scratch my head, I can't figure out why this is happening inconsistently

jamiebullock commented 10 years ago

Can you confirm if this is still a problem, or if it is one-off weirdness. Are you using threads?

q-depot commented 10 years ago

I think I've managed to replicate the bug.

I use sound flower 2ch to pipe the audio into my app, if the audio settings in the system preference are not setup with soundflower when I run the app, the last bin is set to infinite, then if I switch to soundflower everything starts working except for the last bin. If I start the app while I'm using soundflower the bark works as expected.

PS: I really dislike soundflower, do you know any alternatives? Once I had a look at Jack, but I haven't tried it, I'm looking for something like soundflower but that doesn't sound as bad as soundflower, I find the quality awful, also it occasionally mess up with the audio buffer and output super high volume noise which makes jump on the chair and want to throw keyboard, screen and anything in 2m radius out of the window :]

q-depot commented 10 years ago

Hi, did you have a chance to look at this?

jamiebullock commented 10 years ago

Not yet. Been crazy since start of term. Will try next week!