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: HELP!trying to double SSLIMIT in mpg123ref decoder (Read 2516 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

HELP!trying to double SSLIMIT in mpg123ref decoder

hey guys, need some urgent help.
currently doing a project using the mpg123 dist10 ref code lsf DECODER, and im trying to double the number of samplesPerFrame....

after realising i cant just change "samplesPerFrame", I am concentrating on doubling  SSLIMIT from 18 to 36...(as well as various loops with 18, and loops around pcm_sample)

with the theory that i will produce a .dec file that is twice the size and length of the original mp3 that plays at a slower speed but with the same pitch....

at the moment all i am getting is a file double the size ...that plays at half speed and sounds inaudible ...

any ideas would b greatly appreciated

HELP!trying to double SSLIMIT in mpg123ref decoder

Reply #1
Please explain what you are trying to accomplish with your modifications of the MP3 decoder.

Quote
with the theory that i will produce a .dec file that is twice the size and length of the original mp3 that plays at a slower speed but with the same pitch....
at the moment all i am getting is a file double the size ...that plays at half speed and sounds inaudible ...

As I understand it, you want to reduce the playback speed while maintaining the original pitch. Is that correct? If so, why don't you use an existing tool like SoX for this purpose?

HELP!trying to double SSLIMIT in mpg123ref decoder

Reply #2
Quote
Please explain what you are trying to accomplish with your modifications of the MP3 decoder.

Quote
with the theory that i will produce a .dec file that is twice the size and length of the original mp3 that plays at a slower speed but with the same pitch....
at the moment all i am getting is a file double the size ...that plays at half speed and sounds inaudible ...

As I understand it, you want to reduce the playback speed while maintaining the original pitch. Is that correct? If so, why don't you use an existing tool like SoX for this purpose?
[a href="index.php?act=findpost&pid=321979"][{POST_SNAPBACK}][/a]


cheers for the reply. yep, im tryin to reduce the speed but keep the same pitch.
im doing this as an MSc project...thus trying to do it within the code

the crux of the project is to try and reduce audio skew during mp3 streaming...so that if packets are arriving too fast...my skew program can tell the decoder to produce a smaller output to compensate or vice versa....

i think ive narrowed it down to the inverse mdct function...but this is a bit complex