[asterisk-dev] Volume on module format_mp3.so

Tim Ringenbach tim.ringenbach at gmail.com
Mon May 4 22:55:11 CDT 2009


Yeah, I'm pretty sure it was outscale.

There's even a comment that says:
 /* quiet 4096 med 8192 */


On Mon, May 4, 2009 at 10:49 PM, Tim Ringenbach <tim.ringenbach at gmail.com>wrote:

> I've experienced this as well.
> What I had to do was patch format_mp3. There's a #define I had to change.
>
> At first I thought it was the GAIN but it turned out that #define wasn't
> actually used.
>
> I think it was OUTSCALE. I'll try to verify that.
>
>
> On Mon, May 4, 2009 at 9:46 AM, Jose Enes Mateus <jemateus at yahoo.com.br>wrote:
>
>>
>> No. If I convert the mp3 file to wav the volume when played is increased.
>>
>>
>> --- Em *seg, 4/5/09, Steven S. Critchfield <critch at basesys.com>*escreveu:
>>
>>
>> De: Steven S. Critchfield <critch at basesys.com>
>> Assunto: Re: [asterisk-dev] Volume on module format_mp3.so
>> Para: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
>> Data: Segunda-feira, 4 de Maio de 2009, 11:10
>>
>>
>> Is the volume still lower when you convert the mp3 to wav and play the
>> resulting wav file?
>>
>> ----- "Jose Enes Mateus" <jemateus at yahoo.com.br<http://mc/compose?to=jemateus@yahoo.com.br>>
>> wrote:
>>
>> > The problem is that the sound volume of both my files (wav and mp3)
>> > are equals (is already normalized) but when played by asterisk the
>> > volume of the mp3 file is played lower than wav file.
>> > The only diference that I watched is that mp3 file is interpreted by
>> > addon "format_mp3.so".
>> >
>> >
>> > --- Em seg, 4/5/09, Steven S. Critchfield <critch at basesys.com<http://mc/compose?to=critch@basesys.com>
>> >
>> > escreveu:
>> >
>> > De: Steven S. Critchfield <critch at basesys.com<http://mc/compose?to=critch@basesys.com>
>> >
>> > Assunto: Re: [asterisk-dev] Volume on module format_mp3.so
>> > Para: "Asterisk Developers Mailing List"
>> > <asterisk-dev at lists.digium.com<http://mc/compose?to=asterisk-dev@lists.digium.com>
>> >
>> > Data: Segunda-feira, 4 de Maio de 2009, 9:51
>> >
>> > ----- "Jose Enes Mateus" <jemateus at yahoo.com.br<http://mc/compose?to=jemateus@yahoo.com.br>>
>> wrote:
>> > > Hi,
>> > >
>> > > I want to increase the volume played by the format_mp3 module. How
>> > can
>> > > I do that?
>> > > I'm using the asterisk-addons 1.4.7 and files played by format_mp3
>> > is
>> > > a lower audio then wav files.
>> >
>> > Nothing in the format portions of asterisk should be doing anything
>> > to
>> > volume. It would be fairly inappropriate for them to change the
>> > volume.
>> >
>> > What you may need to do is use a program called normalize to bring
>> > the
>> > volume of your mp3s up to the volume you are expecting, and then put
>> > your modified files in the asterisk sounds dir. This will benefit
>> > from
>> > only modifying the volume once, and not on every playback. If you get
>> > in
>> > the habit of checking your files with normalize before deploying
>> > them,
>> > you will have a consistent volume level.
>> >
>> > --
>> > Steven Critchfield critch at basesys.com<http://mc/compose?to=critch@basesys.com>
>> >
>> > _______________________________________________
>> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> >
>> > asterisk-dev mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
>> >
>> >
>> >
>> >       Veja quais são os assuntos do momento no Yahoo! +Buscados
>> > http://br.maisbuscados.yahoo.com
>> > _______________________________________________
>> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
>> >
>> > asterisk-dev mailing list
>> > To UNSUBSCRIBE or update options visit:
>> >    http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>> --
>> Steven Critchfield critch at basesys.com<http://mc/compose?to=critch@basesys.com>
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>>
>> ------------------------------
>> Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/>-
>> Celebridades<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/celebridades/>-
>> Música<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/m%C3%BAsica/>-
>> Esportes<http://br.rd.yahoo.com/mail/taglines/mail/*http://br.maisbuscados.yahoo.com/esportes/>
>>
>> _______________________________________________
>> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>>
>> asterisk-dev mailing list
>> To UNSUBSCRIBE or update options visit:
>>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20090504/3313b130/attachment-0001.htm 


More information about the asterisk-dev mailing list