shithub: aubio

Download patch

ref: 7175ed401fcedee921f75886e1fb3f1eac2a0e85
parent: dd9e6f959f2fe238c7882d86a06ce6835801e99b
author: Paul Brossier <piem@piem.org>
date: Fri Feb 8 06:30:36 EST 2013

demo_*.py: /usr/bin/env python

--- a/interfaces/python/demo_beats_and_tempo.py
+++ b/interfaces/python/demo_beats_and_tempo.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 import sys
 from aubio import tempo, source
--- a/interfaces/python/demo_filterbank_slaney.py
+++ b/interfaces/python/demo_filterbank_slaney.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 from aubio import filterbank
 from numpy import array, arange, vstack
--- a/interfaces/python/demo_filterbank_triangle_bands.py
+++ b/interfaces/python/demo_filterbank_triangle_bands.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 from aubio import filterbank, fvec
 from pylab import loglog, show, subplot, xlim, ylim, xlabel, ylabel, title
--- a/interfaces/python/demo_onset_sinusoid.py
+++ b/interfaces/python/demo_onset_sinusoid.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 from numpy import random, sin, arange, ones, zeros
 from math import pi
--- a/interfaces/python/demo_pitch_sinusoid.py
+++ b/interfaces/python/demo_pitch_sinusoid.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 from numpy import random, sin, arange, ones, zeros
 from math import pi
--- a/interfaces/python/demo_simple_robot_voice.py
+++ b/interfaces/python/demo_simple_robot_voice.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 import sys
 from aubio import source, sink, pvoc
--- a/interfaces/python/demo_sink.py
+++ b/interfaces/python/demo_sink.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 import sys
 from aubio import source, sink
--- a/interfaces/python/demo_source.py
+++ b/interfaces/python/demo_source.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 import sys
 from aubio import source
--- a/interfaces/python/demo_spectrogram.py
+++ b/interfaces/python/demo_spectrogram.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 import sys
 from aubio import pvoc, source
--- a/interfaces/python/demo_tss.py
+++ b/interfaces/python/demo_tss.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python
 
 import sys
 from aubio import source, sink, pvoc, tss