Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Question about changing Vorbis psychoacoustic curves (Read 5834 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Question about changing Vorbis psychoacoustic curves

I am currently using Vorbis on my studies to reduce the required amount of data for a specific acoustic signal.

This signal does not require to work within audible range, where the frequency range of interest lies below 8 kHz.

My first attempt was to remove the signals that belong to over 8 kHz by setting the frequency values for the tone masks in the masking.h file to the extreme value of -999. 

From this test, I was expecting to remove all the frequency content above 8kHz from my data, but unfortunately, that did not work as intended since my recovery data present components in the entire audible range.

I am using the encoder_example to encoded the Vorbis file, and the vorbisfile_example to decode.

Does anyone has any ideas or thoughts on how to tweak the masking tone curves from Vorbis?

Thanks in advance for your time.

Re: Question about changing Vorbis psychoacoustic curves

Reply #1
This signal does not require to work within audible range, where the frequency range of interest lies below 8 kHz.

Assuming you that you have an audible signal with no information above 8 KHz, just low pass filter the signal at 8 kHz and/or resample to 16 kHz. 

Re: Question about changing Vorbis psychoacoustic curves

Reply #2
Thanks for the help.

By filtering the input data I was able to reduce by 17% for lower bitrate and 28% for higher bitrate the amount of data to store the signal.

 ;D