annotate ringing/Makefile @ 12:db5772dac3c3

ringing: generate WAV decodings of FR&EFR ringing signals for playback testing and subjective quality evaluation
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 Apr 2024 19:28:20 +0000
parents 1d22e3f81531
children ec642bde2349
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 CC= gcc
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 CFLAGS= -O2
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
3 PROG= genring
12
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
4 FILES= ringing.robe ringing.ul ringing.al ringing-fr.gsm ringing-efr.gsmx \
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
5 ringing-fr.wav ringing-efr.wav
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 all: ${PROG} ${FILES}
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${PROG}: ${PROG}.c
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
10 ${CC} ${CFLAGS} -o $@ $@.c -lm
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
12 ringing.robe: ${PROG}
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
13 ./${PROG} $@
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
15 ringing.ul: ringing.robe
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
16 pcm16-to-ulaw ringing.robe $@
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
9
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
18 ringing.al: ringing.robe
b875c8edd54f ringing: generate North American ringing signal
Mychaela Falconia <falcon@freecalypso.org>
parents: 7
diff changeset
19 pcm16-to-alaw ringing.robe $@
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
11
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
21 ringing-fr.gsm: ringing.robe
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
22 gsmfr-encode-r ringing.robe $@
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
23
12
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
24 ringing-fr.wav: ringing-fr.gsm
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
25 gsmfr-decode ringing-fr.gsm $@
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
26
11
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
27 ringing-efr.gsmx: ringing.robe
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
28 gsmefr-encode-r ringing.robe $@
1d22e3f81531 ringing: generate FR-encoded and EFR-encoded "recordings" for GSM
Mychaela Falconia <falcon@freecalypso.org>
parents: 9
diff changeset
29
12
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
30 ringing-efr.wav: ringing-efr.gsmx
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
31 gsmefr-decode ringing-efr.gsmx $@
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
32
7
e81a8c274fa6 dmw: generate G.711 digital mW and convert both versions to robe
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 clean:
12
db5772dac3c3 ringing: generate WAV decodings of FR&EFR ringing signals
Mychaela Falconia <falcon@freecalypso.org>
parents: 11
diff changeset
34 rm -f *.o ${PROG} *.robe *.ul *.al *.gsm *.gsmx *.wav