You are not logged in.

#1 2020-08-11 22:20:37

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,095
Website

Lithium, configuring beepmein script with some audio samples

beepmein is a simple alarm clock based on 'at'

Configuring beepmein (from cli) with some sound samples (from the internet)

cd Music
# get reminder sound (short one)
wget https://www.thesoundarchive.com/starwars/swvader02.wav -O vader.wav
# get alarm sound (longer)
wget https://api.modarchive.org/downloads.php?moduleid=32394#AXELF.MOD -O axelf.mod

# set
beepmein --set-remind vader.wav 
beepmein --set-alarm axelf.mod 

# test playback
beepmein --reaction remind
beepmein --reaction --alarm alarm

# test actual usage
beepmein 1 # and enter reason
beepmein 2 --alarm # and enter reason

# kill alarm playback
killall beepmein

Note: By default cvlc (should be installed) is used for playback, if you install mpv it should use that.

Last edited by brontosaurusrex (2020-08-11 22:23:58)

Offline

Board footer

Powered by FluxBB