How to Normalize and Increase the Volume on M4A files in Linux -

How to Normalize and Increase the Volume on M4A files in Linux

M4A is a weird format, so you have to be creative here is a quick copy of what I did. 

Basically you need to convert to .wav to make use of them and then I converted the resulting .wav into an mp3 (nice small file size and basically universally playable):

 

=======

 

sudo apt-get install mpg321 mp3gain faad normalize lame

 faad "Voice 002 (copy).m4a"

faad "Voice 002 (copy).m4a"
 *********** Ahead Software MPEG-4 AAC Decoder V2.7 ******************

 Build: May  1 2012
 Copyright 2002-2004: Ahead Software AG
 http://www.audiocoding.com
 Floating point version

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License.

 **************************************************************************

Voice 002 (copy).m4a file info:

LC AAC    4107.565 secs, 2 ch, 44100 Hz


normalize-audio "Voice 002 (copy).wav"
Computing levels...
 Voice 002 (copy). 100% done, ETA 00:00:00 (batch 100% done, ETA 00:00:00)
Applying adjustment of 6.22dB to Voice 002 (copy).wav...
 Voice 002 (copy). 100% done, ETA 00:00:00 (batch 100% done, ETA 00:00:00)

  ---------------------
 | Config:  2 Ch       |
  ---------------------
 | Ch |    Position    |
  ---------------------
 | 00 | Left front     |
 | 01 | Right front    |
  ---------------------

Decoding Voice 002 (copy).m4a took: 45.95 sec. 89.39x real-time.



# not loud enough?
#run again with the -g parameter and the manual decibel increase
normalize-audio -g 20 "Voice 002 (copy).wav"

#convert to mp3

lame "Voice 002 (copy).wav"


  • mdadm frozen and doesn't realize array is dead/missing failed due to unplugged drives
  • Unable to mount location Failed to retrieve share list from server: No such file or directory solution
  • mdadm how to make inactive array active
  • ImageMagick how to trim white space automatically in Linux
  • curl: (1) Protocol "https not supported or disabled in libcurl"
  • Centos 5 OpenSSL does not support TLS 1.2 Apache Error
  • DRBD Split-brain solution
  • How to Properly Secure SSL/TLS Apache Settings against Heartbleed Poodle (TLS) Poodle (SSLv3) FREAK BEAST CRIME
  • K9 Mail Android Cannot See or View E-mails Disappear after reading - with Dovecot server. Solution
  • The folder contents could not be displayed connection refused - solution
  • Setting Up System for First Use... Please Wait... - WHMCS Installer
  • ERROR 2013 (HY000): Lost connection to MySQL server during query
  • if script bash check if socket file (mysql.sock) exists
  • ioncube loader install howto on PHP/Centos
  • apc_shm_attach: shmat failed: in Unknown on line 0 & apc_shm_create: shmget(0, 67108864, 914) failed PHP Solution
  • MySQLD Server shutdown remotely unexpectedly
  • cPanel Install Error kernel ipv6 module support solution
  • bash count length of string and characters
  • PayPal Subscription Howto Creation Automatic Payments Manual
  • bind/named rndc: connect failed: 127.0.0.1#953: connection refused (solution)