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"


Tags:

normalize, volume, linuxm, format, convert, wav, converted, resulting, mp, universally, playable, sudo, apt, install, mpg, faad, quot, software, mpeg, aac, decoder, copyright, ag, http, www, audiocoding, redistribute, modify, gnu, info, lc, secs, ch, hz, audio, computing, levels, eta, batch, applying, db, config, decoding, parameter, manual, decibel,

Latest Articles

  • Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes. solution
  • Cisco How To Use a Third Party SIP Phone (eg. Avaya, 3CX)
  • Cisco Unified Communication Manager (CUCM) - How To Add Phones
  • pptp / pptpd not working in DD-WRT iptables / router
  • systemd-journald high memory usage solution
  • How to Install FreePBX 17 in Linux Debian Ubuntu Mint Guide
  • How To Install Cisco's CUCM (Cisco Unified Communication Manager) 12 Guide
  • Linux Ubuntu Redhat How To Extract Images from PDF
  • Linux and Windows Dual Boot Issue NIC Won't work After Booting Windows
  • Cisco CME How To Enable ACD hunt groups
  • How to install gns3 on Linux Ubuntu Mint
  • How to convert audio for Asterisk .wav format
  • Using Cisco CME Router with Asterisk as a dial-peer
  • Cisco CME How To Configure SIP Trunk VOIP
  • Virtualbox host Only Network Error Failed to save host network interface parameter - Cannot change gateway IP of host only network
  • Cisco CME and C7200 Router Testing and Learning Environment on Ubuntu 20+ Setup Tutorial Guide
  • Abusive IP ranges blacklist
  • How to Install Any OS on a Physical Drive from Windows Using VMware Workstation (Linux, Windows, BSD)
  • CDN Cloudflare how to set and preserve the real IP of the client without modifying application code on Apache
  • CentOS 7 fix Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=container error was 14: curl#6 -