changeset 11:1d22e3f81531

ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 19:21:23 +0000
parents 466a46387b6b
children db5772dac3c3
files .hgignore ringing/Makefile
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Sun Apr 07 19:09:58 2024 +0000
+++ b/.hgignore	Sun Apr 07 19:21:23 2024 +0000
@@ -11,3 +11,5 @@
 
 ^ringing/genring$
 ^ringing/ringing\.
+^ringing/ringing-efr\.
+^ringing/ringing-fr\.
--- a/ringing/Makefile	Sun Apr 07 19:09:58 2024 +0000
+++ b/ringing/Makefile	Sun Apr 07 19:21:23 2024 +0000
@@ -1,7 +1,7 @@
 CC=	gcc
 CFLAGS=	-O2
 PROG=	genring
-FILES=	ringing.robe ringing.ul ringing.al
+FILES=	ringing.robe ringing.ul ringing.al ringing-fr.gsm ringing-efr.gsmx
 
 all:	${PROG} ${FILES}
 
@@ -17,5 +17,11 @@
 ringing.al:	ringing.robe
 	pcm16-to-alaw ringing.robe $@
 
+ringing-fr.gsm:	ringing.robe
+	gsmfr-encode-r ringing.robe $@
+
+ringing-efr.gsmx:	ringing.robe
+	gsmefr-encode-r ringing.robe $@
+
 clean:
-	rm -f *.o ${PROG} *.robe *.ul *.al
+	rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx