topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • June 23, 2018, 12:53 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: 30SecondSilencer - add silence every 30 seconds to an mp3 file  (Read 7055 times)

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 900
    • View Profile
    • Donate to Member
30SecondSilencer is a windows tool to add 30 seconds of silence every 30 seconds to an mp3 file.

30secondsilencer.png

But the duration of the silence and music segments can be customized. For example you can add 10s silence every 55s in the mp3 file. Optional fade in/out.

Download binary and source here
http://www.dcmembers...ad/30secondsilencer/


Requirements:
ffmpeg (and ffprobe that comes with ffmpeg)
http://ffmpeg.zeranoe.com/builds/

If you want to compile from source: Autohotkey


changelog
v180222
changed ffmpeg concatenate code to avoid file errors
updated helpfile
code cleanup

v160113
first version with GUI
now uses windows temp folder as workdir (can be changed in source)
now outputs C:\<inputfolder>\<inputfilename>_30ss.mp3

v160109
first version, no GUI (pm if you want the old source)

Thanks to Attronarch (and mom!) for test driving the script, and for coming up with the use case.  :)
« Last Edit: February 22, 2018, 06:07 PM by Nod5 »

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,178
    • View Profile
    • Donate to Member
Re: 30SecondSilencer - add silence every 30 seconds to an mp3 file
« Reply #1 on: January 10, 2016, 04:00 AM »
Nice job!
I saw it grow in the other thread, and it's spot-on.

Too bad NANY is already finished, it would have been a great entry :Thmbsup:

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 900
    • View Profile
    • Donate to Member
Re: 30SecondSilencer - add silence every 30 seconds to an mp3 file
« Reply #2 on: January 10, 2016, 05:05 AM »
Thanks Ath! Yeah, bad timing. Will do something for NANY next year!

Attronarch

  • Supporting Member
  • Joined in 2012
  • **
  • Posts: 127
    • View Profile
    • Donate to Member
Re: 30SecondSilencer - add silence every 30 seconds to an mp3 file
« Reply #3 on: January 10, 2016, 06:48 AM »
Nod5, thank you for making the script. With addition of editable music and silence parts this script is great utility for making various training soundtracks, e.g. for circuit training, intervals, tabatas, and sparring / randori sessions...

It is better than using stopwatch and manually operating stereo equipment, puts a lot more pressure.

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 241
    • View Profile
    • Donate to Member
Re: 30SecondSilencer - add silence every 30 seconds to an mp3 file
« Reply #4 on: January 11, 2016, 07:00 PM »
Nice tool! I like a few seconds pause between tracks so I can listen to nature when cycling around

Nod5

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 900
    • View Profile
    • Donate to Member
Re: 30SecondSilencer - add silence every 30 seconds to an mp3 file
« Reply #5 on: January 13, 2016, 11:33 AM »
Updated first post with new version with GUI and icon

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 38,636
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: 30SecondSilencer - add silence every 30 seconds to an mp3 file
« Reply #6 on: January 13, 2016, 11:43 AM »
just wanted to post and say how nice it is to see when a request and a coder come together so perfectly to produce something that is useful to others.