Composers Desktop Project Forum
News:
Release 8 is now available:
https://unstablesound.net/cdpforum/index.php?board=4.0
Home
Help
Search
Login
Register
Composers Desktop Project Forum
»
General Category
»
General Board
»
normalize level in the spectral domain?
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: normalize level in the spectral domain? (Read 4536 times)
p8rpp
Sr. Member
Posts: 58
normalize level in the spectral domain?
«
on:
September 18, 2019, 09:11:00 AM »
Hi all,
i sometimes find myself in the situation where I'd like to normalize an .ana audiofile in the spectral domain to its maximum level. Is this somehow possible without having to convert it to a .wav time domain file?
Thanks for all ideas!
Logged
p8rpp
Sr. Member
Posts: 58
Re: normalize level in the spectral domain?
«
Reply #1 on:
September 18, 2019, 09:41:31 AM »
I am replying to myself here as I found an older post by Richard explaining the intricacies in
http://unstablesound.net/cdpforum/index.php?topic=102.msg422#msg422
which answers my question.
Logged
p8rpp
Sr. Member
Posts: 58
Re: normalize level in the spectral domain?
«
Reply #2 on:
September 18, 2019, 09:44:17 AM »
BUT...
i am wondering if I can save computation time by
1. pvoc synthesizing an .ana file to .wav
2. running only a peak level analysis (HOW?)
3. and changing the gain of the original .ana file in the spectral domain
avoiding another pvoc anal run.
Any ideas? Thanks!
Logged
joehuergo
Full Member
Posts: 36
very personal text
Re: normalize level in the spectral domain?
«
Reply #3 on:
September 18, 2019, 03:09:49 PM »
"sndinfo maxsamp" returns relevant information for this, I believe
Logged
p8rpp
Sr. Member
Posts: 58
Re: normalize level in the spectral domain?
«
Reply #4 on:
September 18, 2019, 03:25:26 PM »
Thanks Joe,
great, indeed it does and on Unix I can parse it like
sndinfo infile.wav | grep "max possible gain" | cut -d " " -f 4
which leaves only the question how to raise gain in the spectral domain.
Logged
p8rpp
Sr. Member
Posts: 58
Re: normalize level in the spectral domain?
«
Reply #5 on:
September 18, 2019, 03:26:41 PM »
Stupid me, it is
spec gain infile.ana outfile.ana gainfactor
sorry for the noise.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Composers Desktop Project Forum
»
General Category
»
General Board
»
normalize level in the spectral domain?