Changeset ceb884d for Makefile


Ignore:
Timestamp:
May 2, 2016, 12:06:35 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
867d66e
Parents:
99aa353
Message:

Makefile: improve test sounds creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r99aa353 rceb884d  
    44
    55ENABLE_DOUBLE := $(shell [ -z $(HAVE_DOUBLE) ] || echo --enable-double )
    6 TESTSOUNDS := "python/tests/sounds"
     6TESTSOUNDS := python/tests/sounds
    77
    88all: build
     
    6363        -[ -z `which $(SOX)` ] && ( echo $(SOX) could not be found) || true
    6464        -mkdir -p $(TESTSOUNDS)
    65         -$(SOX) -r 44100 -b 16 -n $(TESTSOUNDS)/44100Hz_1f_silence.wav synth 1s silence 0
    66         -$(SOX) -r  8000 -b 16 -n $(TESTSOUNDS)/8000Hz_30s_silence.wav synth 30 silence 0 vol 0.9
    67         -$(SOX) -r 32000 -b 16 -n $(TESTSOUNDS)/32000Hz_127f_sine440.wav synth 127 sine 440 vol 0.9
    68         -$(SOX) -r 22050 -b 16 -n $(TESTSOUNDS)/22050Hz_5s_brownnoise.wav synth 5 brownnoise vol 0.9
    69         -$(SOX) -r 48000 -b 32 -n $(TESTSOUNDS)/48000Hz_60s_sweep.wav synth 60 sine 0.1-20000 vol 0.9
     65        -$(SOX) -r 44100 -b 16 -n "$(TESTSOUNDS)/44100Hz_1f_silence.wav"      synth 1s  silence 0
     66        -$(SOX) -r 22050 -b 16 -n "$(TESTSOUNDS)/22050Hz_5s_brownnoise.wav"   synth 5    brownnoise      vol 0.9
     67        -$(SOX) -r 32000 -b 16 -n "$(TESTSOUNDS)/32000Hz_127f_sine440.wav"    synth 127s sine 440        vol 0.9
     68        -$(SOX) -r  8000 -b 16 -n "$(TESTSOUNDS)/8000Hz_30s_silence.wav"      synth 30   silence 0      vol 0.9
     69        -$(SOX) -r 48000 -b 32 -n "$(TESTSOUNDS)/48000Hz_60s_sweep.wav"       synth 60   sine 100-20000 vol 0.9
Note: See TracChangeset for help on using the changeset viewer.