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"


  • bash Linux how to get first or last letters of a word
  • l2tp ipsec VPN Error Sep 12 18:16:25 vps pluto[7299]: ERROR: asynchronous network error report on eth0 (sport=500) for message to 192.5.6.2 port 20640, complainant 192.5.6.2: Connection refused [errno 111, origin ICMP type 3 code 3 (not authenticated
  • Centos 5.9 Working Vault Repo file
  • Disable SSH Password Authentication to Increase Security and Harden SSH Linux Unix Server Ubuntu Mint Centos Debian
  • ecryptfs how to mount or recover from a backup
  • Linux bash script to see what connected computers respond to ping
  • rsync specify alternate port non-standard port than 22
  • Centos 6.6/6.9 KVM VM Kernel Panic On Boot - Kernel panic - not syncing: Attempted to kill init!
  • Cannot allocate TUN/TAP dev dynamically - FreeBSD/OpenBSD OpenVPN Client error Solution
  • Linux Mint/Ubuntu/Debian apt how to downgrade a package
  • Ubuntu Linux Mint How To Exclude Stop Package from being Upgraded or Installed
  • Intel NUC Lower Power Green Computing Boxes Review/Comparison of J3160 and J3455 Models
  • How to backup entire computer Linux Mint Ubuntu with tar
  • tar how to ignore failed reads and not exit
  • kdenlive titles/text renders as white screen when using .sh script
  • [1035724.274610] [drm:intel_pipe_update_end [i915_bpo]] *ERROR* Atomic update failure on pipe A (start=62076478 end=62076479) time 102 us, min 894, max 899, scanline start 893, end 900 W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin
  • ffmpeg how to watermark and concatenate in one command
  • /usr/bin/ld: cannot find -lboost_system-mt-s /usr/bin/ld: cannot find -lboost_filesystem-mt-s /usr/bin/ld: cannot find -lboost_program_options-mt-s /usr/bin/ld: cannot find -lboost_thread-mt-s collect2: error: ld returned 1 exit status make: *** [cag
  • Wine uninstalled broken on Linux Mint
  • ffmpeg trouble concatenating similar but different files