Changeset 3a7b7c6 for Makefile


Ignore:
Timestamp:
Apr 30, 2016, 4:30:55 AM (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:
7a5fdc91
Parents:
bcf47ea
Message:

Makefile: do not fail if sox is not installed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rbcf47ea r3a7b7c6  
    6161
    6262create_test_sounds:
    63         [ -z `which $(SOX)` ] && ( echo $(SOX) could not be found; false ) || true
    64         mkdir -p $(TESTSOUNDS)
    65         $(SOX) -r 44100 -n $(TESTSOUNDS)/44100Hz_1f_silence.wav synth 1s silence 0
    66         $(SOX) -r  8000 -n $(TESTSOUNDS)/8000Hz_30s_silence.wav synth 30 silence 0
    67         $(SOX) -r 32000 -n $(TESTSOUNDS)/32000Hz_127f_sine440.wav synth 127 sine 440
    68         $(SOX) -r 22050 -n $(TESTSOUNDS)/22050Hz_5s_brownnoise.wav synth 5 brownnoise
    69         $(SOX) -r 48000 -n $(TESTSOUNDS)/48000Hz_60s_sweep.wav synth 60 sine 200-24000
     63        -[ -z `which $(SOX)` ] && ( echo $(SOX) could not be found) || true
     64        -mkdir -p $(TESTSOUNDS)
     65        -$(SOX) -r 44100 -n $(TESTSOUNDS)/44100Hz_1f_silence.wav synth 1s silence 0
     66        -$(SOX) -r  8000 -n $(TESTSOUNDS)/8000Hz_30s_silence.wav synth 30 silence 0
     67        -$(SOX) -r 32000 -n $(TESTSOUNDS)/32000Hz_127f_sine440.wav synth 127 sine 440
     68        -$(SOX) -r 22050 -n $(TESTSOUNDS)/22050Hz_5s_brownnoise.wav synth 5 brownnoise
     69        -$(SOX) -r 48000 -n $(TESTSOUNDS)/48000Hz_60s_sweep.wav synth 60 sine 200-24000
Note: See TracChangeset for help on using the changeset viewer.