mumsi/media/Makefile
Scott Hardin 82015dc14c add playAudioFile() and caller menu skeleton
- playAudioFile() makes it possible to play a WAV file
to either the caller or the mumble channel

- menu skeleton has DTMF handling and is ready for
adding '*n' functions (like *5 = mute).
2017-05-23 21:38:44 +02:00

25 lines
405 B
Makefile

# Makefile
#
# This file generates the WAVE files from text files on macOS
#
WAVES := $(subst .msg,.wav,$(wildcard *.msg)) blow.wav
VOICE := --voice=Samantha
RATE := --rate=15
QUALITY := --quality=127
all: $(WAVES)
%.wav: %.aiff
afconvert "$<" -d LEI16 "$@"
%.aiff: %.msg
say $(VOICE) $(RATE) -o $@ < $<
#announce-new-caller.wav: /System/Library/Sounds/Blow.aiff
# afconvert "$<" -d LEI16 "$@"