Help - Search - Members - Calendar
Full Version: LAMEs psychoacoutic routine
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
morpheus1982
I need to edit the pyschoacoustic routine so that a number of txt files are generated. Within these txt files, masking values and tonality value etc will be stored.

I have been looking through the code and I am a bit lost. Could anyone provide me with some help or documentation to aid me?

Thanks
Gabriel
Most of what you are looking for is in psymodel.c.

My guess is that you might want to output:
*energy of sub short blocks (around line 1460)
*usage of short or long block (line 1480)
*short block masking (1499)
*tonality and masking of long blocks (1627)
*PE values (1696)

edit: a good start might be to search for the
#if defined(HAVE_GTK)
lines. Those are for the frame analyser. You might want to output similar things to your text file.
morpheus1982
thanks, I have outputted fftenergy[j] (line 314), do you think this is something useful?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.