[beast/bug-433531] Stick to the convention that multi word names are separated by dashes.



commit 79b4ba2fc7d3eed0a64e83f4922d97e3291c6f87
Author: Stefan Westerfeld <stefan space twc de>
Date:   Wed Mar 3 17:30:19 2010 +0100

    Stick to the convention that multi word names are separated by dashes.

 tools/scripts/blip.py |    6 +++---
 tools/scripts/blip.sh |   26 +++++++++++++-------------
 2 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/tools/scripts/blip.py b/tools/scripts/blip.py
index 5b47459..8e73bf1 100755
--- a/tools/scripts/blip.py
+++ b/tools/scripts/blip.py
@@ -66,11 +66,11 @@ def repeat (block, n):
   return out
 
 out_psq = pseudo_square (48000, 440)
-out_psq.tofile (open ("pseudo_square_440", "w"))
+out_psq.tofile (open ("pseudo-square-440", "w"))
 
 out_psaw = pseudo_saw (48000, 440)
-out_psaw.tofile (open ("pseudo_saw_440", "w"))
+out_psaw.tofile (open ("pseudo-saw-440", "w"))
 
 #out_psq_psaw = repeat (interleave (out_psq, out_psaw), 50)
 out_psq_psaw = interleave (out_psq, out_psaw)
-out_psq_psaw.tofile (open ("pseudo_stereo_440", "w"))
+out_psq_psaw.tofile (open ("pseudo-stereo-440", "w"))
diff --git a/tools/scripts/blip.sh b/tools/scripts/blip.sh
index 48ed535..56da855 100755
--- a/tools/scripts/blip.sh
+++ b/tools/scripts/blip.sh
@@ -24,21 +24,21 @@
 # shell script to convert the output of blip.py to .bsewave files
 #
 blip.py || { echo "creation failed" ; exit 1; }
-rm pseudo_square.bsewave
-bsewavetool create pseudo_square.bsewave 1
-bsewavetool add-raw-chunk pseudo_square.bsewave -f 440.366972477 -F float -R 48000 pseudo_square_440
+rm pseudo-square.bsewave
+bsewavetool create pseudo-square.bsewave 1
+bsewavetool add-raw-chunk pseudo-square.bsewave -f 440.366972477 -F float -R 48000 pseudo-square-440
 LOOP_END=108
-bsewavetool xinfo pseudo_square.bsewave -f440.36 loop-type=jump loop-start=0 loop-end=$LOOP_END loop-count=1000000
+bsewavetool xinfo pseudo-square.bsewave -f440.36 loop-type=jump loop-start=0 loop-end=$LOOP_END loop-count=1000000
 
-rm pseudo_saw.bsewave
-bsewavetool create pseudo_saw.bsewave 1
-bsewavetool add-raw-chunk pseudo_saw.bsewave -f 440.366972477 -F float -R 48000 pseudo_saw_440
+rm pseudo-saw.bsewave
+bsewavetool create pseudo-saw.bsewave 1
+bsewavetool add-raw-chunk pseudo-saw.bsewave -f 440.366972477 -F float -R 48000 pseudo-saw-440
 LOOP_END=108
-bsewavetool xinfo pseudo_saw.bsewave -f440.36 loop-type=jump loop-start=0 loop-end=$LOOP_END loop-count=1000000
+bsewavetool xinfo pseudo-saw.bsewave -f440.36 loop-type=jump loop-start=0 loop-end=$LOOP_END loop-count=1000000
 
-rm pseudo_stereo.bsewave
-bsewavetool create pseudo_stereo.bsewave 2
-bsewavetool add-raw-chunk pseudo_stereo.bsewave -f 440.366972477 -F float -R 48000 pseudo_stereo_440
+rm pseudo-stereo.bsewave
+bsewavetool create pseudo-stereo.bsewave 2
+bsewavetool add-raw-chunk pseudo-stereo.bsewave -f 440.366972477 -F float -R 48000 pseudo-stereo-440
 LOOP_END=216
-bsewavetool xinfo pseudo_stereo.bsewave -f440.36 loop-type=jump loop-start=0 loop-end=$LOOP_END loop-count=1000000
-bsewavetool xinfo pseudo_stereo.bsewave --wave play-type=adsr-wave-2
+bsewavetool xinfo pseudo-stereo.bsewave -f440.36 loop-type=jump loop-start=0 loop-end=$LOOP_END loop-count=1000000
+bsewavetool xinfo pseudo-stereo.bsewave --wave play-type=adsr-wave-2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]