[openal] OpenAL Soft 1.19.0 released!

Chris Robinson chris.kcat at gmail.com
Sat Sep 8 15:30:06 EDT 2018


On 09/08/2018 09:58 AM, Ian Reed wrote:
> "decrease or increase the source's pitch by the same relative amount 
> (converting to/from semitones)"
> 
> Unfortunately I don't know how to convert to/from semitones.
> That could be a great pair of functions in the low level API.

The effect itself does

pitch = powf(2.0f, (CoarseTune*100 + FineTune) / 1200.0f);

This actually deals in 1/100ths of a semitone; CoarseTune is semitones 
(-12 to +12) and FineTune is 1/100ths of a semitone (-50 to +50; 
effectively making the total range -1250 to +1250 before division).

> I just adjust the pitch value on the OpenAL source, which only adjusts 
> frequency, affecting the speed/length.
> It would be nice if OpenAL provided a way to affect the pitch on the 
> direct sound.

The direct sound is really just the path that isn't connected to an 
effect, so it doesn't make sense to have it change from an effect. I can 
understand it being less than ideal to have to set up a send for the 
effect and set up a filter to silence the direct path to get the desired 
output, and I could probably make it easier with a lower-level API.

> So the mhr files are built into the dlls now right?
> The last version I used had them as separate files that needed to be 
> referenced on disk.

Yes, the default data sets are built-in. Extra (personalized) data sets 
can still be made and used like before, it just doesn't require external 
files for the default ones.

> Not sure why, but when I hit reply to this message my email client 
> (Thunderbird) only replies to you directly, not to the email list.
> Not sure if that is a mailing list setting or a problem with my email 
> client, but I assume it is preferred to have responses always go to the 
> list by default.

Not sure, I'm not familiar with it works at that level. icculus manages 
the mailing list, so you could probably ask him.


More information about the openal mailing list