Csound Csound-dev Csound-tekno Search About

[Csnd] normalizing audio files

Date2012-12-17 12:30
Fromfrancesco
Subject[Csnd] normalizing audio files
Hello All,
i have some audio files that i would normalize to a amplitude value
(is exactly normalize?).
I would like that all my files have maximum amplitude, or a little less
than.
I have tried scale utility but i'm not able to understand how exactly works.
i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
is yet at max amplitude then it will be distorted, am i right?
For example i want all file at 0.9 with 0dbfs=1.
So how can i do?

Thanks,
ciao,
francesco. 



--
View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-12-17 12:46
FromVictor Lazzarini
SubjectRe: [Csnd] normalizing audio files
you could write a bit of Csound code to do that.

opcode MaxAmp,k,S

setksmps 1
kmax init 0
kcount init 0

Sfile xin

ilen filelen S1
ichn filechns S1

kend = (ilen/ichn)*sr

start:
a1 soundin S1
k1 downsamp a1
if k1 > kmax then
kmax = k1
endif
kcount = kcount + 1
if kcount == kend kgoto end
kgoto start:

end:
    xout kmax

endop

instr 1

kmax MaxAmp "myfile.wav"

/* do the normalisation here */
...

endin

Something like this. Of course, completely untested, but you should be able to get it working if needs adjusting.


 
On 17 Dec 2012, at 12:30, francesco wrote:

> Hello All,
> i have some audio files that i would normalize to a amplitude value
> (is exactly normalize?).
> I would like that all my files have maximum amplitude, or a little less
> than.
> I have tried scale utility but i'm not able to understand how exactly works.
> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
> is yet at max amplitude then it will be distorted, am i right?
> For example i want all file at 0.9 with 0dbfs=1.
> So how can i do?
> 
> Thanks,
> ciao,
> francesco. 
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-12-17 13:18
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] normalizing audio files
I use scale for this.  Run once to get the max amplification; and then
scal eit

Or I use audacity....

> Hello All,
> i have some audio files that i would normalize to a amplitude value
> (is exactly normalize?).
> I would like that all my files have maximum amplitude, or a little less
> than.
> I have tried scale utility but i'm not able to understand how exactly
> works.
> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
> is yet at max amplitude then it will be distorted, am i right?
> For example i want all file at 0.9 with 0dbfs=1.
> So how can i do?
>
> Thanks,
> ciao,
> francesco.
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-12-17 13:36
FromDave Seidel
SubjectRe: [Csnd] normalizing audio files
I just use Audacity, which also takes care of DC offsets. Of course that could be added to Victor's script as well. But a drawback of using a script is that one would have to adjust sample rate, number of channels, etc. as appropriate for the input file, whereas Audacity will just do the right thing.

- Dave


On Mon, Dec 17, 2012 at 8:18 AM, <jpff@cs.bath.ac.uk> wrote:

I use scale for this.  Run once to get the max amplification; and then
scal eit

Or I use audacity....

> Hello All,
> i have some audio files that i would normalize to a amplitude value
> (is exactly normalize?).
> I would like that all my files have maximum amplitude, or a little less
> than.
> I have tried scale utility but i'm not able to understand how exactly
> works.
> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
> is yet at max amplitude then it will be distorted, am i right?
> For example i want all file at 0.9 with 0dbfs=1.
> So how can i do?
>
> Thanks,
> ciao,
> francesco.
>
>
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2012-12-17 13:57
Fromrichard duckworth
SubjectRe: [Csnd] normalizing audio files
Are you trying to simply constrain the amplitude at a fixed level, or do you want the files to appear louder to the listener. 
 
 
Rich Duckworth
Lecturer in Music Technology
Department of Music
House 5
Trinity College
Dublin 2
Ireland

Tel 353 1 896 1500


It's the most devastating moment in a young mans life, when he quite reasonably says to himself, "I shall never play The Dane!"

From: francesco <ilterzouomo@fastwebnet.it>
To: csound@lists.bath.ac.uk
Sent: Monday, 17 December 2012, 12:30
Subject: [Csnd] normalizing audio files

Hello All,
i have some audio files that i would normalize to a amplitude value
(is exactly normalize?).
I would like that all my files have maximum amplitude, or a little less
than.
I have tried scale utility but i'm not able to understand how exactly works.
i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
is yet at max amplitude then it will be distorted, am i right?
For example i want all file at 0.9 with 0dbfs=1.
So how can i do?

Thanks,
ciao,
francesco.



--
View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2012-12-17 14:11
From"Jacques Leplat"
SubjectRe: [Csnd] normalizing audio files
How about setting

0dbfs=1.1

Run the score in Qt, check the log to make sure no samples are out of range, 
if out of range, increment 0dbfs (eg set 0dbfs=1.2)...goto start.

Finally run the score to save the output to a file, and hey presto, you have 
a file with a lower maximum amplitude.

Or, Maybe I don't quite understand your problem?

All the best,

Jacques


----- Original Message ----- 
From: "francesco" 
To: 
Sent: Monday, December 17, 2012 12:30 PM
Subject: [Csnd] normalizing audio files


> Hello All,
> i have some audio files that i would normalize to a amplitude value
> (is exactly normalize?).
> I would like that all my files have maximum amplitude, or a little less
> than.
> I have tried scale utility but i'm not able to understand how exactly 
> works.
> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
> is yet at max amplitude then it will be distorted, am i right?
> For example i want all file at 0.9 with 0dbfs=1.
> So how can i do?
>
> Thanks,
> ciao,
> francesco.
>
>
>
> --
> View this message in context: 
> http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
> 


Date2012-12-17 18:48
FromMichael Gogins
SubjectRe: [Csnd] normalizing audio files
There are two questions here, do you want your tracks to be compressed so they "sound louder" or do you want them to be normalized so the maximum amplitude is close to the maximum amplitude allowed by the digital sample size.

You can do either job with sox (which can be scripted) or Audacity (which also can be scripted, but is easier to use as a manual audio editor). Assuming you want your tracks normalized, don't do it for 0 dBFS as this could cause problems with some playback systems. Use -3 dBFS instead, it is the "Amplify" menu choice in Audacity (this is confusing as there also is a "Normalize" menu item that does not work as well).

Hope this helps,
Mike




On Mon, Dec 17, 2012 at 9:11 AM, Jacques Leplat <jleplat@j3ltd.com> wrote:
How about setting

0dbfs=1.1

Run the score in Qt, check the log to make sure no samples are out of range, if out of range, increment 0dbfs (eg set 0dbfs=1.2)...goto start.

Finally run the score to save the output to a file, and hey presto, you have a file with a lower maximum amplitude.

Or, Maybe I don't quite understand your problem?

All the best,

Jacques


----- Original Message ----- From: "francesco" <ilterzouomo@fastwebnet.it>
To: <csound@lists.bath.ac.uk>
Sent: Monday, December 17, 2012 12:30 PM

Subject: [Csnd] normalizing audio files


Hello All,
i have some audio files that i would normalize to a amplitude value
(is exactly normalize?).
I would like that all my files have maximum amplitude, or a little less
than.
I have tried scale utility but i'm not able to understand how exactly works.
i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
is yet at max amplitude then it will be distorted, am i right?
For example i want all file at 0.9 with 0dbfs=1.
So how can i do?

Thanks,
ciao,
francesco.



--
View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2012-12-18 16:56
Fromjoachim heintz
SubjectRe: [Csnd] normalizing audio files
what about using the filepeak opcode?

Am 17.12.2012 13:46, schrieb Victor Lazzarini:
> you could write a bit of Csound code to do that.
>
> opcode MaxAmp,k,S
>
> setksmps 1
> kmax init 0
> kcount init 0
>
> Sfile xin
>
> ilen filelen S1
> ichn filechns S1
>
> kend = (ilen/ichn)*sr
>
> start:
> a1 soundin S1
> k1 downsamp a1
> if k1 > kmax then
> kmax = k1
> endif
> kcount = kcount + 1
> if kcount == kend kgoto end
> kgoto start:
>
> end:
>      xout kmax
>
> endop
>
> instr 1
>
> kmax MaxAmp "myfile.wav"
>
> /* do the normalisation here */
> ...
>
> endin
>
> Something like this. Of course, completely untested, but you should be able to get it working if needs adjusting.
>
>
>
> On 17 Dec 2012, at 12:30, francesco wrote:
>
>> Hello All,
>> i have some audio files that i would normalize to a amplitude value
>> (is exactly normalize?).
>> I would like that all my files have maximum amplitude, or a little less
>> than.
>> I have tried scale utility but i'm not able to understand how exactly works.
>> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
>> is yet at max amplitude then it will be distorted, am i right?
>> For example i want all file at 0.9 with 0dbfs=1.
>> So how can i do?
>>
>> Thanks,
>> ciao,
>> francesco.
>>
>>
>>
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
>> Sent from the Csound - General mailing list archive at Nabble.com.
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2012-12-18 17:31
FromToby
SubjectRe: [Csnd] normalizing audio files
> editor). Assuming you want your tracks normalized, don't do it for 0
> dBFS as this could cause problems with some playback systems. Use -3
> dBFS instead

Yeah, if you want to lose the "loudness war" :)

Date2012-12-18 18:46
FromJustin Smith
SubjectRe: [Csnd] normalizing audio files
The loudness war ended. Merzbow won.


On Tue, Dec 18, 2012 at 9:31 AM, Toby <toby@tobiah.org> wrote:

editor). Assuming you want your tracks normalized, don't do it for 0
dBFS as this could cause problems with some playback systems. Use -3
dBFS instead

Yeah, if you want to lose the "loudness war" :)



Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2012-12-18 23:11
FromVictor Lazzarini
SubjectRe: [Csnd] normalizing audio files
yes, RTFM to me.
On 18 Dec 2012, at 16:56, joachim heintz wrote:

> what about using the filepeak opcode?
> 
> Am 17.12.2012 13:46, schrieb Victor Lazzarini:
>> you could write a bit of Csound code to do that.
>> 
>> opcode MaxAmp,k,S
>> 
>> setksmps 1
>> kmax init 0
>> kcount init 0
>> 
>> Sfile xin
>> 
>> ilen filelen S1
>> ichn filechns S1
>> 
>> kend = (ilen/ichn)*sr
>> 
>> start:
>> a1 soundin S1
>> k1 downsamp a1
>> if k1 > kmax then
>> kmax = k1
>> endif
>> kcount = kcount + 1
>> if kcount == kend kgoto end
>> kgoto start:
>> 
>> end:
>>     xout kmax
>> 
>> endop
>> 
>> instr 1
>> 
>> kmax MaxAmp "myfile.wav"
>> 
>> /* do the normalisation here */
>> ...
>> 
>> endin
>> 
>> Something like this. Of course, completely untested, but you should be able to get it working if needs adjusting.
>> 
>> 
>> 
>> On 17 Dec 2012, at 12:30, francesco wrote:
>> 
>>> Hello All,
>>> i have some audio files that i would normalize to a amplitude value
>>> (is exactly normalize?).
>>> I would like that all my files have maximum amplitude, or a little less
>>> than.
>>> I have tried scale utility but i'm not able to understand how exactly works.
>>> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
>>> is yet at max amplitude then it will be distorted, am i right?
>>> For example i want all file at 0.9 with 0dbfs=1.
>>> So how can i do?
>>> 
>>> Thanks,
>>> ciao,
>>> francesco.
>>> 
>>> 
>>> 
>>> --
>>> View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
>> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie





Date2012-12-19 08:56
Fromjoachim heintz
SubjectRe: [Csnd] normalizing audio files
sorry, what is RTFM? Real Time Frequency Modulation? or a marriage 
between HRTF and Thunder File Management?
well, this first question is serious; thanks for a clarification -
	j

Am 19.12.2012 00:11, schrieb Victor Lazzarini:
> yes, RTFM to me.
> On 18 Dec 2012, at 16:56, joachim heintz wrote:
>
>> what about using the filepeak opcode?
>>
>> Am 17.12.2012 13:46, schrieb Victor Lazzarini:
>>> you could write a bit of Csound code to do that.
>>>
>>> opcode MaxAmp,k,S
>>>
>>> setksmps 1
>>> kmax init 0
>>> kcount init 0
>>>
>>> Sfile xin
>>>
>>> ilen filelen S1
>>> ichn filechns S1
>>>
>>> kend = (ilen/ichn)*sr
>>>
>>> start:
>>> a1 soundin S1
>>> k1 downsamp a1
>>> if k1 > kmax then
>>> kmax = k1
>>> endif
>>> kcount = kcount + 1
>>> if kcount == kend kgoto end
>>> kgoto start:
>>>
>>> end:
>>>      xout kmax
>>>
>>> endop
>>>
>>> instr 1
>>>
>>> kmax MaxAmp "myfile.wav"
>>>
>>> /* do the normalisation here */
>>> ...
>>>
>>> endin
>>>
>>> Something like this. Of course, completely untested, but you should be able to get it working if needs adjusting.
>>>
>>>
>>>
>>> On 17 Dec 2012, at 12:30, francesco wrote:
>>>
>>>> Hello All,
>>>> i have some audio files that i would normalize to a amplitude value
>>>> (is exactly normalize?).
>>>> I would like that all my files have maximum amplitude, or a little less
>>>> than.
>>>> I have tried scale utility but i'm not able to understand how exactly works.
>>>> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
>>>> is yet at max amplitude then it will be distorted, am i right?
>>>> For example i want all file at 0.9 with 0dbfs=1.
>>>> So how can i do?
>>>>
>>>> Thanks,
>>>> ciao,
>>>> francesco.
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>
>>>>
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>
>>>
>>> Dr Victor Lazzarini
>>> Senior Lecturer
>>> Dept. of Music
>>> NUI Maynooth Ireland
>>> tel.: +353 1 708 3545
>>> Victor dot Lazzarini AT nuim dot ie
>>>
>>>
>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
> Dr Victor Lazzarini
> Senior Lecturer
> Dept. of Music
> NUI Maynooth Ireland
> tel.: +353 1 708 3545
> Victor dot Lazzarini AT nuim dot ie
>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>

Date2012-12-19 09:07
Fromluis jure
SubjectRe: [Csnd] normalizing audio files
el 2012-12-19 a las 09:56 joachim heintz escribió:

> sorry, what is RTFM?

Read The Fine Manual, of course. i think some people say that the F stands
for something else, but i can't imagine what it could be...


Date2012-12-19 09:09
FromVictor Lazzarini
SubjectRe: [Csnd] normalizing audio files
RTFM: read the f***ing manual.
On 19 Dec 2012, at 08:56, joachim heintz wrote:

> sorry, what is RTFM? Real Time Frequency Modulation? or a marriage between HRTF and Thunder File Management?
> well, this first question is serious; thanks for a clarification -
> 	j
> 
> Am 19.12.2012 00:11, schrieb Victor Lazzarini:
>> yes, RTFM to me.
>> On 18 Dec 2012, at 16:56, joachim heintz wrote:
>> 
>>> what about using the filepeak opcode?
>>> 
>>> Am 17.12.2012 13:46, schrieb Victor Lazzarini:
>>>> you could write a bit of Csound code to do that.
>>>> 
>>>> opcode MaxAmp,k,S
>>>> 
>>>> setksmps 1
>>>> kmax init 0
>>>> kcount init 0
>>>> 
>>>> Sfile xin
>>>> 
>>>> ilen filelen S1
>>>> ichn filechns S1
>>>> 
>>>> kend = (ilen/ichn)*sr
>>>> 
>>>> start:
>>>> a1 soundin S1
>>>> k1 downsamp a1
>>>> if k1 > kmax then
>>>> kmax = k1
>>>> endif
>>>> kcount = kcount + 1
>>>> if kcount == kend kgoto end
>>>> kgoto start:
>>>> 
>>>> end:
>>>>     xout kmax
>>>> 
>>>> endop
>>>> 
>>>> instr 1
>>>> 
>>>> kmax MaxAmp "myfile.wav"
>>>> 
>>>> /* do the normalisation here */
>>>> ...
>>>> 
>>>> endin
>>>> 
>>>> Something like this. Of course, completely untested, but you should be able to get it working if needs adjusting.
>>>> 
>>>> 
>>>> 
>>>> On 17 Dec 2012, at 12:30, francesco wrote:
>>>> 
>>>>> Hello All,
>>>>> i have some audio files that i would normalize to a amplitude value
>>>>> (is exactly normalize?).
>>>>> I would like that all my files have maximum amplitude, or a little less
>>>>> than.
>>>>> I have tried scale utility but i'm not able to understand how exactly works.
>>>>> i.e. with scale -f -W -P 80 i have a costant gain of 80%, but if my file
>>>>> is yet at max amplitude then it will be distorted, am i right?
>>>>> For example i want all file at 0.9 with 0dbfs=1.
>>>>> So how can i do?
>>>>> 
>>>>> Thanks,
>>>>> ciao,
>>>>> francesco.
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> View this message in context: http://csound.1045644.n5.nabble.com/normalizing-audio-files-tp5718864.html
>>>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>>> 
>>>>> 
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>>> 
>>>> 
>>>> Dr Victor Lazzarini
>>>> Senior Lecturer
>>>> Dept. of Music
>>>> NUI Maynooth Ireland
>>>> tel.: +353 1 708 3545
>>>> Victor dot Lazzarini AT nuim dot ie
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> Send bugs reports to the Sourceforge bug tracker
>>>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>> Discussions of bugs and features can be posted here
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>>> 
>>>> 
>>> 
>>> 
>>> Send bugs reports to the Sourceforge bug tracker
>>>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>> 
>> 
>> Dr Victor Lazzarini
>> Senior Lecturer
>> Dept. of Music
>> NUI Maynooth Ireland
>> tel.: +353 1 708 3545
>> Victor dot Lazzarini AT nuim dot ie
>> 
>> 
>> 
>> 
>> 
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>> 
>> 
> 
> 
> Send bugs reports to the Sourceforge bug tracker
>           https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
> 

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie