experiments/speaker_amp.py: Insert proper header

Add SPDX header, make directly executable.

Signed-off-by: Martin Povišer <povik@protonmail.com>
This commit is contained in:
Martin Povišer 2021-11-26 09:40:35 +01:00 committed by Hector Martin
parent 4f7d03addf
commit c835b1d2fe

View file

@ -1,3 +1,9 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import sys, pathlib
import time
sys.path.append(str(pathlib.Path(__file__).resolve().parents[1]))
# speaker_amp.py -- play audio through the embedded speaker on Mac mini
#
# sample usage with sox: