# ::::::::::::::
# examples/Makefile
# ::::::::::::::
SNDDIR = /dist/SignalProcessing/sms-examples/Sounds
SMSDIR = .

# ENTRIES

# alto-flute-C4 alto-flute-C5 alto-flute-fr-G3 alto-flute-stac-G3
# cello-C2 cello-C3 cello-C4 cello-C5 
# base-clarinet-C1 base-clarinet-C1-phase
# clarinet-C4 clarinet-gliss
# flute-C4 flute-C5 flute-C6 flute-fr-A6 flute-fr-D6 flute-stac-AS6 
# horn-C4 oboe-C5
# saxo-A3 saxo-E4 saxo-C4-vib saxo-phrase trumpet-C4 
# violin-C5 viola-C4 violin-pizz-C5 
# voice-phrase speech-male speech-male-phase speech-female speech-female-phase

all:	speech-male-phase speech-female speech-female-phase
	
alto-flute-C4:
	smsAnal -d11 -r400 -v.45 -l200 -h300 -u262 -m20 -p60 -n60 -t0 -o0 $(SNDDIR)/alto-flute-C4.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/alto-flute-C4.sms
	mv residual.snd $(SMSDIR)/alto-flute-C4.res.snd
	smsSynth $(SMSDIR)/alto-flute-C4.sms $(SMSDIR)/alto-flute-C4.sms.snd
	smsSynth -d $(SMSDIR)/alto-flute-C4.sms $(SMSDIR)/alto-flute-C4.det.sms.snd
	smsSynth -n $(SMSDIR)/alto-flute-C4.sms $(SMSDIR)/alto-flute-C4.stoc.sms.snd

alto-flute-C5:
	smsAnal -d11 -r400 -v.45 -l490 -h600 -u530 -p50 -n50 -t0 -o0 -q1 $(SNDDIR)/alto-flute-C5.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/alto-flute-C5.sms
	mv residual.snd $(SMSDIR)/alto-flute-C5.res.snd
	smsSynth $(SMSDIR)/alto-flute-C5.sms $(SMSDIR)/alto-flute-C5.sms.snd
	smsSynth -d $(SMSDIR)/alto-flute-C5.sms $(SMSDIR)/alto-flute-C5.det.sms.snd
	smsSynth -n $(SMSDIR)/alto-flute-C5.sms $(SMSDIR)/alto-flute-C5.stoc.sms.snd

alto-flute-fr-G3:
	smsAnal -d11 -r400 -v.45 -l140 -h250 -u190 -p40 -t0 -o0 -q1 $(SNDDIR)/alto-flute-fr-G3.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/alto-flute-fr-G3.sms
	mv residual.snd $(SMSDIR)/alto-flute-fr-G3.res.snd
	smsSynth $(SMSDIR)/alto-flute-fr-G3.sms $(SMSDIR)/alto-flute-fr-G3.sms.snd
	smsSynth -d $(SMSDIR)/alto-flute-fr-G3.sms $(SMSDIR)/alto-flute-fr-G3.det.sms.snd
	smsSynth -n $(SMSDIR)/alto-flute-fr-G3.sms $(SMSDIR)/alto-flute-fr-G3.stoc.sms.snd

alto-flute-stac-G3:
	smsAnal -d11 -r400 -v.45 -l140 -h250 -u190 -p40 -t0 -o0 -q1 -x1 $(SNDDIR)/alto-flute-stac-G3.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/alto-flute-stac-G3.sms
	mv residual.snd $(SMSDIR)/alto-flute-stac-G3.res.snd
	smsSynth $(SMSDIR)/alto-flute-stac-G3.sms $(SMSDIR)/alto-flute-stac-G3.sms.snd
	smsSynth -d $(SMSDIR)/alto-flute-stac-G3.sms $(SMSDIR)/alto-flute-stac-G3.det.sms.snd
	smsSynth -n $(SMSDIR)/alto-flute-stac-G3.sms $(SMSDIR)/alto-flute-stac-G3.stoc.sms.snd
	
cello-C2:
	smsAnal -d11 -r400 -v.5 -l50 -h80 -u65 -t0 -o0 -p120 -n120 -y2 -a.3 -b.05 -q1 -j9000 $(SNDDIR)/cello-C2.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/cello-C2.sms
	mv residual.snd $(SMSDIR)/cello-C2.res.snd
	smsSynth $(SMSDIR)/cello-C2.sms $(SMSDIR)/cello-C2.sms.snd
	smsSynth -d $(SMSDIR)/cello-C2.sms $(SMSDIR)/cello-C2.det.sms.snd
	smsSynth -n $(SMSDIR)/cello-C2.sms $(SMSDIR)/cello-C2.stoc.sms.snd

cello-C3:
	smsAnal -d11 -r400 -v.5 -l110 -h150 -u132 -t0 -o0 -p120 -n120 -y2 -a.3 -b.05 -q1 -j10000 $(SNDDIR)/cello-C3.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/cello-C3.sms
	mv residual.snd $(SMSDIR)/cello-C3.res.snd
	smsSynth $(SMSDIR)/cello-C3.sms $(SMSDIR)/cello-C3.sms.snd
	smsSynth -d $(SMSDIR)/cello-C3.sms $(SMSDIR)/cello-C3.det.sms.snd
	smsSynth -n $(SMSDIR)/cello-C3.sms $(SMSDIR)/cello-C3.stoc.sms.snd

cello-C4:
	smsAnal -d11 -r400 -v.5 -l200 -h300 -u264 -t.05 -o0 -p80 -n80 -a0 -b.05 -j18000 -q1 -x1 $(SNDDIR)/cello-C4.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/cello-C4.sms
	mv residual.snd $(SMSDIR)/cello-C4.res.snd
	smsSynth $(SMSDIR)/cello-C4.sms $(SMSDIR)/cello-C4.sms.snd
	smsSynth -d $(SMSDIR)/cello-C4.sms $(SMSDIR)/cello-C4.det.sms.snd
	smsSynth -n $(SMSDIR)/cello-C4.sms $(SMSDIR)/cello-C4.stoc.sms.snd

cello-C5:
	smsAnal -d11 -r400 -v.5 -l490 -h580 -u520 -t.05 -o0 -p40 -n40 -a0 -b.05 -j18000 -x1 $(SNDDIR)/cello-C5.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/cello-C5.sms
	mv residual.snd $(SMSDIR)/cello-C5.res.snd
	smsSynth -d $(SMSDIR)/cello-C5.sms $(SMSDIR)/cello-C5.det.sms.snd
	smsSynth -n $(SMSDIR)/cello-C5.sms $(SMSDIR)/cello-C5.stoc.sms.snd
	
base-clarinet-C1:
	smsAnal -d11 -r400 -v.5 -l28 -h39 -u32 -t.2 -o0 -p150 -n150 -y3 -a.1 -b.05 -j5000 -q1 -d11 $(SNDDIR)/base-clarinet-C1.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/base-clarinet-C1.sms
	mv residual.snd $(SMSDIR)/base-clarinet-C1.res.snd
	smsSynth $(SMSDIR)/base-clarinet-C1.sms $(SMSDIR)/base-clarinet-C1.sms.snd
	smsSynth -d $(SMSDIR)/base-clarinet-C1.sms $(SMSDIR)/base-clarinet-C1.det.sms.snd
	smsSynth -n $(SMSDIR)/base-clarinet-C1.sms $(SMSDIR)/base-clarinet-C1.stoc.sms.snd

base-clarinet-C1-phase:
	smsAnal -r400 -f3 -v.5 -l28 -h39 -u32 -t.2 -o0 -p150 -n150 -y3 -a.1 -b.05 -j5000 -q1 -d11 $(SNDDIR)/base-clarinet-C1.snd $(SMSDIR)/base-clarinet-C1.phase.sms
	smsSynth $(SMSDIR)/base-clarinet-C1.phase.sms $(SMSDIR)/base-clarinet-C1.phase.sms.snd

clarinet-C4:
	smsAnal -d11 -r400 -v.45 -l200 -h300 -u262 -p50 -n50 -t0 -o0 -q1 -j20000 $(SNDDIR)/clarinet-C4.snd  $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/clarinet-C4.sms
	mv residual.snd $(SMSDIR)/clarinet-C4.res.snd
	smsSynth $(SMSDIR)/clarinet-C4.sms $(SMSDIR)/clarinet-C4.sms.snd
	smsSynth -d $(SMSDIR)/clarinet-C4.sms $(SMSDIR)/clarinet-C4.det.sms.snd
	smsSynth -n $(SMSDIR)/clarinet-C4.sms $(SMSDIR)/clarinet-C4.stoc.sms.snd

clarinet-gliss:
	smsAnal -d11 -r400 -v.45 -l550 -h1400 -u570 -p50 -n50 -t.1 -o.5 -j20000 $(SNDDIR)/clarinet-gliss.snd  $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/clarinet-gliss.sms
	mv residual.snd $(SMSDIR)/clarinet-gliss.res.snd
	smsSynth $(SMSDIR)/clarinet-gliss.sms $(SMSDIR)/clarinet-gliss.sms.snd
	smsSynth -d $(SMSDIR)/clarinet-gliss.sms $(SMSDIR)/clarinet-gliss.det.sms.snd
	smsSynth -n $(SMSDIR)/clarinet-gliss.sms $(SMSDIR)/clarinet-gliss.stoc.sms.snd

flute-C4:
	smsAnal -d11 -r400 -v.45 -l200 -h300 -u262 -p60 -n60 -t0 -o0 -x1 -j20000 -m30 -y2 $(SNDDIR)/flute-C4.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/flute-C4.sms
	mv residual.snd $(SMSDIR)/flute-C4.res.snd
	smsSynth $(SMSDIR)/flute-C4.sms $(SMSDIR)/flute-C4.sms.snd
	smsSynth -d $(SMSDIR)/flute-C4.sms $(SMSDIR)/flute-C4.det.sms.snd
	smsSynth -n $(SMSDIR)/flute-C4.sms $(SMSDIR)/flute-C4.stoc.sms.snd

flute-C5:
	smsAnal -d11 -r400 -v.45 -l490 -h600 -u530 -p50 -n50 -t0 -o0 $(SNDDIR)/flute-C5.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/flute-C5.sms
	mv residual.snd $(SMSDIR)/flute-C5.res.snd
	smsSynth $(SMSDIR)/flute-C5.sms $(SMSDIR)/flute-C5.sms.snd
	smsSynth -d $(SMSDIR)/flute-C5.sms $(SMSDIR)/flute-C5.det.sms.snd
	smsSynth -n $(SMSDIR)/flute-C5.sms $(SMSDIR)/flute-C5.stoc.sms.snd

flute-C6:
	smsAnal -d11 -r400 -v.45 -l900 -h1200 -u1060 -p40 -n40 -t0 -o0 $(SNDDIR)/flute-C6.snd  $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/flute-C6.sms
	mv residual.snd $(SMSDIR)/flute-C6.res.snd
	smsSynth $(SMSDIR)/flute-C6.sms $(SMSDIR)/flute-C6.sms.snd
	smsSynth -d $(SMSDIR)/flute-C6.sms $(SMSDIR)/flute-C6.det.sms.snd
	smsSynth -n $(SMSDIR)/flute-C6.sms $(SMSDIR)/flute-C6.stoc.sms.snd

flute-fr-A6:
	smsAnal -d11 -r400 -v.45 -l1500 -h2000 -u1780 -p20 -n20 -j20000 -t0 -o0 -q1 $(SNDDIR)/flute-fr-A6.snd  $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/flute-fr-A6.sms
	mv residual.snd $(SMSDIR)/flute-fr-A6.res.snd
	smsSynth $(SMSDIR)/flute-fr-A6.sms $(SMSDIR)/flute-fr-A6.sms.snd
	smsSynth -d $(SMSDIR)/flute-fr-A6.sms $(SMSDIR)/flute-fr-A6.det.sms.snd
	smsSynth -n $(SMSDIR)/flute-fr-A6.sms $(SMSDIR)/flute-fr-A6.stoc.sms.snd

flute-fr-D6:
	smsAnal -d11 -r400 -v.45 -l1000 -h1600 -u1200 -p20 -n20 -j20000 -t0 -o0 -q1 $(SNDDIR)/flute-fr-D6.snd  $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/flute-fr-D6.sms
	mv residual.snd $(SMSDIR)/flute-fr-D6.res.snd
	smsSynth $(SMSDIR)/flute-fr-D6.sms $(SMSDIR)/flute-fr-D6.sms.snd
	smsSynth -d $(SMSDIR)/flute-fr-D6.sms $(SMSDIR)/flute-fr-D6.det.sms.snd
	smsSynth -n $(SMSDIR)/flute-fr-D6.sms $(SMSDIR)/flute-fr-D6.stoc.sms.snd

flute-stac-AS6:
	smsAnal -d11 -r400 -v.45 -l1600 -h2000 -u1800 -p20 -n20 -j20000 -t0 -o0 -q1 -x1 $(SNDDIR)/flute-stac-AS6.snd  $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/flute-stac-AS6.sms
	mv residual.snd $(SMSDIR)/flute-stac-AS6.res.snd
	smsSynth $(SMSDIR)/flute-stac-AS6.sms $(SMSDIR)/flute-stac-AS6.sms.snd
	smsSynth -d $(SMSDIR)/flute-stac-AS6.sms $(SMSDIR)/flute-stac-AS6.det.sms.snd
	smsSynth -n $(SMSDIR)/flute-stac-AS6.sms $(SMSDIR)/flute-stac-AS6.stoc.sms.snd

oboe-C5:
	smsAnal -d11 -r400 -l480 -h600 -u522 -p20 -n20 -t0 -o0 -q1 -j11000 $(SNDDIR)/oboe-C5.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/oboe-C5.sms
	mv residual.snd $(SMSDIR)/oboe-C5.res.snd
	smsSynth $(SMSDIR)/oboe-C5.sms $(SMSDIR)/oboe-C5.sms.snd
	smsSynth -d $(SMSDIR)/oboe-C5.sms $(SMSDIR)/oboe-C5.det.sms.snd
	smsSynth -n $(SMSDIR)/oboe-C5.sms $(SMSDIR)/oboe-C5.stoc.sms.snd

horn-C4:
	smsAnal -d11 -r400 -l200 -h300 -u260 -p50 -n50 -t0 -o0 -q1 -j11000 $(SNDDIR)/horn-C4.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/horn-C4.sms
	mv residual.snd $(SMSDIR)/horn-C4.res.snd
	smsSynth $(SMSDIR)/horn-C4.sms $(SMSDIR)/horn-C4.sms.snd
	smsSynth -d $(SMSDIR)/horn-C4.sms $(SMSDIR)/horn-C4.det.sms.snd
	smsSynth -n $(SMSDIR)/horn-C4.sms $(SMSDIR)/horn-C4.stoc.sms.snd

trumpet-C4:
	smsAnal -d11 -r400 -l200 -h300 -u261 -p50 -n50 -t0 -o0 -y2 -q1 -j11000 $(SNDDIR)/trumpet-C4.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/trumpet-C4.sms
	mv residual.snd $(SMSDIR)/trumpet-C4.res.snd
	smsSynth $(SMSDIR)/trumpet-C4.sms $(SMSDIR)/trumpet-C4.sms.snd
	smsSynth -d $(SMSDIR)/trumpet-C4.sms $(SMSDIR)/trumpet-C4.det.sms.snd
	smsSynth -n $(SMSDIR)/trumpet-C4.sms $(SMSDIR)/trumpet-C4.stoc.sms.snd

saxo-A3:
	smsAnal -d11 -r400 -l200 -h300 -u220 -m20 -j20000 $(SNDDIR)/saxo-A3.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/saxo-A3.sms
	mv residual.snd $(SMSDIR)/saxo-A3.res.snd
	smsSynth $(SMSDIR)/saxo-A3.sms $(SMSDIR)/saxo-A3.sms.snd
	smsSynth -d $(SMSDIR)/saxo-A3.sms $(SMSDIR)/saxo-A3.det.sms.snd
	smsSynth -n $(SMSDIR)/saxo-A3.sms $(SMSDIR)/saxo-A3.det.sms.snd

saxo-C4-vib: $(SNDDIR)/saxo-C4-vib.snd
	smsAnal -d11 -r400 -v.45 -l230 -h300 -u263 -p70 -n70 -t.1 -o.5 -j20000 $(SNDDIR)/saxo-C4-vib.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/saxo-C4-vib.sms
	mv residual.snd $(SMSDIR)/saxo-C4-vib.res.snd
	smsSynth $(SMSDIR)/saxo-C4-vib.sms $(SMSDIR)/saxo-C4-vib.sms.snd
	smsSynth -d $(SMSDIR)/saxo-C4-vib.sms $(SMSDIR)/saxo-C4-vib.det.sms.snd
	smsSynth -n $(SMSDIR)/saxo-C4-vib.sms $(SMSDIR)/saxo-C4-vib.stoc.sms.snd

saxo-E4:
	smsAnal -d11 -r400 -l290 -h400 -u327 -p60 -n60 -j20000 $(SNDDIR)/saxo-E4.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/saxo-E4.sms
	mv residual.snd $(SMSDIR)/saxo-E4.res.snd
	smsSynth $(SMSDIR)/saxo-E4.sms $(SMSDIR)/saxo-E4.sms.snd
	smsSynth -d $(SMSDIR)/saxo-E4.sms $(SMSDIR)/saxo-E4.det.sms.snd
	smsSynth -n $(SMSDIR)/saxo-E4.sms $(SMSDIR)/saxo-E4.stoc.sms.snd

viola-C4:
	smsAnal -d11 -s5 -r400 -v.35 -l220 -h280 -u260 -t.1 -o.1 -p42 -n42 -y2 -j11000 -i4 -m30 $(SNDDIR)/viola-C4.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/viola-C4.sms
	mv residual.snd $(SMSDIR)/viola-C4.res.snd
	smsSynth $(SMSDIR)/viola-C4.sms $(SMSDIR)/viola-C4.sms.snd
	smsSynth -d $(SMSDIR)/viola-C4.sms $(SMSDIR)/viola-C4.det.sms.snd
	smsSynth -n $(SMSDIR)/viola-C4.sms $(SMSDIR)/viola-C4.stoc.sms.snd

violin-C5:
	smsAnal -d11 -s5 -r400 -l480 -h600 -u528 -p20 -n20 -j12000 -i4 $(SNDDIR)/violin-C5.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/violin-C5.sms
	mv residual.snd $(SMSDIR)/violin-C5.res.snd
	smsSynth $(SMSDIR)/violin-C5.sms $(SMSDIR)/violin-C5.sms.snd
	smsSynth -d $(SMSDIR)/violin-C5.sms $(SMSDIR)/violin-C5.det.sms.snd
	smsSynth -n $(SMSDIR)/violin-C5.sms $(SMSDIR)/violin-C5.stoc.sms.snd

violin-pizz-C5:
	smsAnal -d11 -r400 -v.55 -l480 -h560 -u528 -p20 $(SNDDIR)/violin-pizz-C5.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/violin-pizz-C5.sms
	mv residual.snd $(SMSDIR)/violin-pizz-C5.res.snd
	smsSynth $(SMSDIR)/violin-pizz-C5.sms $(SMSDIR)/violin-pizz-C5.sms.snd
	smsSynth -d $(SMSDIR)/violin-pizz-C5.sms $(SMSDIR)/violin-pizz-C5.det.sms.snd
	smsSynth -n $(SMSDIR)/violin-pizz-C5.sms $(SMSDIR)/violin-pizz-C5.stoc.sms.snd

saxo-phrase: $(SNDDIR)/saxo-phrase.snd
	smsAnal -d11 -r400 -l200 -h600 -u300 $(SNDDIR)/saxo-phrase.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/saxo-phrase.sms
	mv residual.snd $(SMSDIR)/saxo-phrase.res.snd
	smsSynth $(SMSDIR)/saxo-phrase.sms $(SMSDIR)/saxo-phrase.sms.snd
	smsSynth -d $(SMSDIR)/saxo-phrase.sms $(SMSDIR)/saxo-phrase.det.sms.snd
	smsSynth -n $(SMSDIR)/saxo-phrase.sms $(SMSDIR)/saxo-phrase.stoc.sms.snd

speech-male: $(SNDDIR)/speech-male.snd
	smsAnal -d11 -r400 -l70 -h155 -u100 -n60 -p60 -o.3 -t.5 -a.05 -b.05 $(SNDDIR)/speech-male.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/speech-male.sms
	mv residual.snd $(SMSDIR)/speech-male.res.snd
	smsSynth $(SMSDIR)/speech-male.sms $(SMSDIR)/speech-male.sms.snd
	smsSynth -d $(SMSDIR)/speech-male.sms $(SMSDIR)/speech-male.det.sms.snd
	smsSynth -n $(SMSDIR)/speech-male.sms $(SMSDIR)/speech-male.stoc.sms.snd

speech-male-phase: $(SNDDIR)/speech-male.snd
	smsAnal -f4 -r400 -u90 -i0 -n250 -p250 -t1 -g0 -a0 -b0 -e3 $(SNDDIR)/speech-male.snd $(SMSDIR)/speech-male.phase.sms
	smsSynth $(SMSDIR)/speech-male.phase.sms $(SMSDIR)/speech-male.phase.sms.snd

speech-female: $(SNDDIR)/speech-female.snd
	smsAnal -f2 -r400 -u90 -i0 -n250 -p250 -t1 -g0 -a0 -b0 -e3 $(SNDDIR)/speech-female.snd $(SMSDIR)/speech-female.sms
	smsSynth $(SMSDIR)/speech-female.sms $(SMSDIR)/speech-female.sms.snd

speech-female-phase: $(SNDDIR)/speech-female.snd
	smsAnal -f4 -r400 -u90 -i0 -n250 -p250 -t1 -g0 -a0 -b0 -e3 $(SNDDIR)/speech-female.snd $(SMSDIR)/speech-female-phase.sms
	smsSynth $(SMSDIR)/speech-female-phase.sms $(SMSDIR)/speech-female-phase.sms.snd

voice-phrase: $(SNDDIR)/voice-phrase.snd
	smsAnal  -d11 -r400 -l200 -h600 -u300 -c25 $(SNDDIR)/voice-phrase.snd $(SMSDIR)/test.sms
	smsResample 2 $(SMSDIR)/test.sms $(SMSDIR)/voice-phrase.sms
	mv residual.snd $(SMSDIR)/voice-phrase.res.snd
	smsSynth $(SMSDIR)/voice-phrase.sms $(SMSDIR)/voice-phrase.sms.snd
	smsSynth -d $(SMSDIR)/voice-phrase.sms $(SMSDIR)/voice-phrase.det.sms.snd
	smsSynth -n $(SMSDIR)/voice-phrase.sms $(SMSDIR)/voice-phrase.stoc.sms.snd

install:
	echo Nothing to install for examples > /dev/null

clean:
	echo Nothing to clean for examples > /dev/null

