Re: [MP3 ENCODER] Time-stretching (off topic)

2000-09-18 Thread Jaroslav Lukesh
| Odesílatel: [EMAIL PROTECTED] | I grabbed Sprenger's smsPitchScale.cp from http://www.dspdimension.com/ | and wrapped a bit of support code around it. This program will change the | pitch of an audio file - this means you can play it back so that talking is | twice as fast but *at the

Re: [MP3 ENCODER] latest sfb question

2000-09-18 Thread Gabriel Bouvigne
The whole sfb21 thingy is a kludge, we should extend psymodel.c to calculate maskings for that band too. the ATH is so large in that band, I would be afraid that any computed maskings would always be ATH, and thus not worth computing? Wouldn't it be possible to use the ATH value as

Re: [MP3 ENCODER] latest sfb question

2000-09-18 Thread Gabriel Bouvigne
Ok, but how about --athlower 100 ? Will it leads to an endless loop? That could be a problem. I think that when --athlower is used, the lowering of the ath in sfb 21 must be reduced for vbr. Did you notice any endless loop using --athlower ?? I tested the behaviour of lame vbr-old with

Re: [MP3 ENCODER] LAME as a shared lib

2000-09-18 Thread Robert Hegemann
Sigbjørn Skjæret schrieb am Mon, 18 Sep 2000: The fix is to do what Frank suggests: go to a data-encapsulted type interface, where every parameter must be set via a function. We would need to write about 100 functions along the lines of: lame_set_input_samplerate(). A much better (and

Re: [MP3 ENCODER] latest sfb question

2000-09-18 Thread Frank Klemm
::The whole sfb21 thingy is a kludge, we should extend psymodel.c ::to calculate maskings for that band too. :: :: the ATH is so large in that band, I would be afraid that :: any computed maskings would always be ATH, and thus :: not worth computing? :: :: Wouldn't it be

Re: [MP3 ENCODER] castings

2000-09-18 Thread Frank Klemm
:: :: 1) one type is long double, the other will be casted to long double :: 2) one type is double, the other will be casted to double :: 3) one type is float, the other will be casted to float Fully wrong. The rest I haven't checked. -- Mit freundlichen Grüßen Frank Klemm eMail |

Re: [MP3 ENCODER] castings

2000-09-18 Thread Frank Klemm
:: :: Albert you are right, but this shows that it is necessary to be :: resolved, not casted. :: Compile programs with gnatmake, not with gcc ;-) -- Mit freundlichen Grüßen Frank Klemm PS: Ada programs are compiled with gnatmake. Make functionality is part of Ada itself. eMail |

Re: [MP3 ENCODER] LAME as a shared lib

2000-09-18 Thread Alexander Leidinger
On 18 Sep, Robert Hegemann wrote: A much better (and tidier) solution is to have one function that you can pass a struct to, like this: lame_setup_stuff(struct LAMEprefs *prefs, unsigned int structsize); OR: 1)use commandline like strings to setup LAME's encoding engine

Re: [MP3 ENCODER] castings

2000-09-18 Thread Leonid A. Kulakov
Hi Frank, :: :: 1)one type is long double, the other will be casted to long double :: 2)one type is double, the other will be casted to double :: 3)one type is float, the other will be casted to float Fully wrong. The rest I haven't checked. Does it mean

Re: [MP3 ENCODER] latest sfb question

2000-09-18 Thread Robert Hegemann
Frank Klemm schrieb am Mon, 18 Sep 2000: ::The whole sfb21 thingy is a kludge, we should extend psymodel.c ::to calculate maskings for that band too. :: :: the ATH is so large in that band, I would be afraid that :: any computed maskings would always be ATH, and thus ::

Re: [MP3 ENCODER] latest sfb question

2000-09-18 Thread Frank Klemm
Emacs Settings ~~ So, you can either get rid of GNU emacs, or change it to use saner values. To do the latter, you can stick the following in your .emacs file: (defun linux-c-mode () "C mode with adjusted defaults for use with the Linux kernel." (interactive) (c-mode)

Re: [MP3 ENCODER] castings

2000-09-18 Thread Robert Hegemann
Frank Klemm schrieb am Mon, 18 Sep 2000: :: :: 1)one type is long double, the other will be casted to long double :: 2)one type is double, the other will be casted to double :: 3)one type is float, the other will be casted to float Fully wrong. The rest I

Re: [MP3 ENCODER] castings

2000-09-18 Thread Frank Klemm
:: Hi Frank, :: :: :: :: :: 1)one type is long double, the other will be casted to long double :: :: 2)one type is double, the other will be casted to double :: :: 3)one type is float, the other will be casted to float :: Fully wrong. :: The rest I haven't checked.

Re: [MP3 ENCODER] castings

2000-09-18 Thread Frank Klemm
:: Albert Faber schrieb am Son, 17 Sep 2000: :: Robert, :: So if i have the following piece of code :: ::int my_signed= -1; ::unsigned int my_unsigned=10; :: ::if (my_signedmy_unsigned) :: printf("my_singed my_unsigned\n"); :: else :: printf("my_singed is =

Re: [MP3 ENCODER] castings

2000-09-18 Thread Robert Hegemann
Frank Klemm schrieb am Mon, 18 Sep 2000: :: Hi Frank, :: :: :: :: :: 1) one type is long double, the other will be casted to long double :: :: 2) one type is double, the other will be casted to double :: :: 3) one type is float, the other will be casted to float ::

[MP3 ENCODER] ./configure

2000-09-18 Thread Mark Taylor
LAME now has a ./configure script! It is from Florian Bomers. It still needs work, since it's only been tested on two systems. ./configure ; make ; make install should install lame, lame.h, libmp3lame.a and libmp3lame.so in /usr/local/{bin,lib,include} If you have problems, it would be

Re: [MP3 ENCODER] latest sfb question

2000-09-18 Thread Frank Klemm
:: :: :: Frank, that's not what Gaby is talking about. :: But if you are talking about the spreading function, there :: are more parameters than loudness: :: - frequency :: - tonality :: - temporal effects :: - difference tones reducing masking :: You've forgotten one: - frequency

Re: [MP3 ENCODER] castings

2000-09-18 Thread Frank Klemm
On Sun, Sep 17, 2000 at 11:44:01PM +0200, Albert Faber wrote: Lets take: float x = 1.5; longy = 1234567890; double z = x * y; printf ("%30.12f\n", z); 1) one type is long double, the other will be casted to long double Not fulfilled. 2) one type is double, the other will be

Re: [MP3 ENCODER] castings (OT)

2000-09-18 Thread Frank Klemm
On Mon, Sep 18, 2000 at 08:17:46PM +0200, Robert Hegemann wrote: a) char, signed char, short = int b) unsigned char, unsigned short = unsigned int c) float = double So your Compiler/target CPU has only an affinity for some elementary types. This is

Re: [MP3 ENCODER] castings

2000-09-18 Thread Mathew Hendry
From: "Frank Klemm" [EMAIL PROTECTED] #include stdio.h float x1 = 1.e30; float x2 = 1.e31; float x3 = 1.e32; int main ( void ) { float x4; x4 = x1*x2*x3 / (x1*x2 + x2*x3 + x3*x1); printf ( "%g\n", x4 ); return 0; } The code line x4=... is equivalent to x4

Re: [MP3 ENCODER] latest sfb question

2000-09-18 Thread Robert Hegemann
Frank Klemm schrieb am Mon, 18 Sep 2000: :: :: :: Frank, that's not what Gaby is talking about. :: But if you are talking about the spreading function, there :: are more parameters than loudness: :: - frequency :: - tonality :: - temporal effects :: - difference tones reducing

Re: [MP3 ENCODER] castings

2000-09-18 Thread Mathew Hendry
From: "Frank Klemm" [EMAIL PROTECTED] a) char, signed char, short = int unless int cannot represent all possible values of char, in which case char = unsigned int b) unsigned char, unsigned short = unsigned int if int can represent all possible values unsigned char, unsigned

Re: [MP3 ENCODER] LAME as a shared lib

2000-09-18 Thread Sigbjørn Skjæret
A much better (and tidier) solution is to have one function that you can pass a struct to, like this: lame_setup_stuff(struct LAMEprefs *prefs, unsigned int structsize); 1) use commandline like strings to setup LAME's encoding engine handle = lame_get_handle();

Re: [MP3 ENCODER] ./configure

2000-09-18 Thread Takehiro Tominaga
Wow! great, Florian! M All the various options (GTK, libsndfile, VBR historgram, mpeg M decoding) are available through ./configure options. see M INSTALL for details. By default it will try to install M everything, if configure can find the necessary libraries. I think it

[MP3 ENCODER] LP's

2000-09-18 Thread Francois du Toit
Sorry for the offtopic, but maybe someone can help me. I am looking for something that explains how two channels are encoded on a single groove LP. I can't find anything through the search engins. Thanks Francois

Re: [MP3 ENCODER] ./configure

2000-09-18 Thread Robert Hegemann
Takehiro Tominaga schrieb am Die, 19 Sep 2000: Wow! great, Florian! M All the various options (GTK, libsndfile, VBR historgram, mpeg M decoding) are available through ./configure options. see M INSTALL for details. By default it will try to install M everything, if