summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorShawn Hoffman <[email protected]>2024-09-17 12:17:12 -0700
committerShawn Hoffman <[email protected]>2024-09-17 12:17:12 -0700
commit616532892d913b7224806ed1e881b72ed66bb3e1 (patch)
treeb31cfa68d8d64eb96699f7081646f56a4daae6e8 /examples
parentf4dd1764849d005a2e44d51f62428aeaf2513804 (diff)
make all python files executable and standardize interpreter
Diffstat (limited to 'examples')
-rwxr-xr-x[-rw-r--r--]examples/device/audio_4_channel_mic/src/plot_audio_samples.py1
-rwxr-xr-x[-rw-r--r--]examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py1
-rwxr-xr-x[-rw-r--r--]examples/device/audio_test/src/plot_audio_samples.py1
-rwxr-xr-x[-rw-r--r--]examples/device/audio_test_freertos/src/plot_audio_samples.py1
-rwxr-xr-x[-rw-r--r--]examples/device/audio_test_multi_rate/src/plot_audio_samples.py1
-rwxr-xr-x[-rw-r--r--]examples/device/hid_generic_inout/hid_test.py1
-rwxr-xr-x[-rw-r--r--]examples/device/uac2_speaker_fb/src/audio_debug.py1
-rwxr-xr-x[-rw-r--r--]examples/device/usbtmc/visaQuery.py0
8 files changed, 7 insertions, 0 deletions
diff --git a/examples/device/audio_4_channel_mic/src/plot_audio_samples.py b/examples/device/audio_4_channel_mic/src/plot_audio_samples.py
index d17a908b6..4d61e7f5e 100644..100755
--- a/examples/device/audio_4_channel_mic/src/plot_audio_samples.py
+++ b/examples/device/audio_4_channel_mic/src/plot_audio_samples.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np
diff --git a/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py b/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py
index 8312b4e28..4d5ca28d6 100644..100755
--- a/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py
+++ b/examples/device/audio_4_channel_mic_freertos/src/plot_audio_samples.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np
diff --git a/examples/device/audio_test/src/plot_audio_samples.py b/examples/device/audio_test/src/plot_audio_samples.py
index 1504684a6..ea6aa661e 100644..100755
--- a/examples/device/audio_test/src/plot_audio_samples.py
+++ b/examples/device/audio_test/src/plot_audio_samples.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np
diff --git a/examples/device/audio_test_freertos/src/plot_audio_samples.py b/examples/device/audio_test_freertos/src/plot_audio_samples.py
index 304b2d5de..46738eb3f 100644..100755
--- a/examples/device/audio_test_freertos/src/plot_audio_samples.py
+++ b/examples/device/audio_test_freertos/src/plot_audio_samples.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np
diff --git a/examples/device/audio_test_multi_rate/src/plot_audio_samples.py b/examples/device/audio_test_multi_rate/src/plot_audio_samples.py
index c92e49957..1f33a003e 100644..100755
--- a/examples/device/audio_test_multi_rate/src/plot_audio_samples.py
+++ b/examples/device/audio_test_multi_rate/src/plot_audio_samples.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
import sounddevice as sd
import matplotlib.pyplot as plt
import numpy as np
diff --git a/examples/device/hid_generic_inout/hid_test.py b/examples/device/hid_generic_inout/hid_test.py
index 5bdba9db0..3aaca9d2c 100644..100755
--- a/examples/device/hid_generic_inout/hid_test.py
+++ b/examples/device/hid_generic_inout/hid_test.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
# Install python3 HID package https://pypi.org/project/hid/
import hid
diff --git a/examples/device/uac2_speaker_fb/src/audio_debug.py b/examples/device/uac2_speaker_fb/src/audio_debug.py
index 336c46c01..05b49baf6 100644..100755
--- a/examples/device/uac2_speaker_fb/src/audio_debug.py
+++ b/examples/device/uac2_speaker_fb/src/audio_debug.py
@@ -1,3 +1,4 @@
+#!/usr/bin/env python3
# Install python3 HID package https://pypi.org/project/hid/
# Install python3 matplotlib package https://pypi.org/project/matplotlib/
diff --git a/examples/device/usbtmc/visaQuery.py b/examples/device/usbtmc/visaQuery.py
index ca65daf97..ca65daf97 100644..100755
--- a/examples/device/usbtmc/visaQuery.py
+++ b/examples/device/usbtmc/visaQuery.py