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: "is_ratio" value in stereo processing (Read 2091 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

"is_ratio" value in stereo processing

In MP3 stereo processing,"is_ratio" value is calculated by the following equation

is_ratio = tan((double)is_pos * (PI / 12));

And it is used as
1/1+is_ratio and is_ratio/1+is_ratio.

Is there a case where is_ration becomes -1 and the second equation becomes infinity?

Is is guarenteed that is_pos will never have a value which makes the tan value -1?

Can some one please give some insight and thanks in advance.
Tony