Skip to content

Commit

Permalink
Change to using wavs and fix another typo
Browse files Browse the repository at this point in the history
Signed-off-by: Alex J Lennon <[email protected]>
  • Loading branch information
ajlennon committed Jan 29, 2025
1 parent 5fc8d85 commit dcda10a
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ arecord -c 2 -r 8000 -f S16_LE -D pulse audio-test-microphone-1.wav -d 5 &
sleep 1

echo Playing audio file to record
paplay /usr/share/board-scripts/AudioTest-Microphone-One.mp3
paplay /usr/share/board-scripts/AudioTest-Microphone-One.wav

sleep 5

echo Playing replay notification
paplay /usr/share/board-scripts/AudioTest-Recording-Will-Now-Play-Back.mp3
paplay /usr/share/board-scripts/AudioTest-Recording-Will-Now-Play-Back.wav

sleep 5

echo Playing recording
paplay pulse audio-test-microphone-2.wav
paplay audio-test-microphone-2.wav

echo Setting to record on Microphone 2
amixer -c micfilaudio set 'CH0' 0
Expand All @@ -44,12 +44,12 @@ sleep 1

sleep 5
echo Playing audio file to record
paplay /usr/share/board-scripts/AudioTest-Microphone-Two.mp3
paplay /usr/share/board-scripts/AudioTest-Microphone-Two.wav

sleep 5

echo Playing replay notification
paplay /usr/share/board-scripts/AudioTest-Recording-Will-Now-Play-Back.mp3
paplay /usr/share/board-scripts/AudioTest-Recording-Will-Now-Play-Back.wav

sleep 5

Expand Down
8 changes: 4 additions & 4 deletions recipes-extras/board-scripts/board-scripts_1.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ SRC_URI:append:imx8mm-jaguar-sentai = " \
file://board-testing-now-starting-up.wav \
file://tests-all-completed.wav \
file://test-audio-play-and-record.sh \
file://AudioTest-Microphone-One.mp3 \
file://AudioTest-Microphone-Two.mp3 \
file://AudioTest-Recording-Will-Now-Play-Back.mp3 \
file://AudioTest-Recording-Should-Have-Played.mp3 \
file://AudioTest-Microphone-One.wav \
file://AudioTest-Microphone-Two.wav \
file://AudioTest-Recording-Will-Now-Play-Back.wav \
file://AudioTest-Recording-Should-Have-Played.wav \
"

do_install() {
Expand Down

0 comments on commit dcda10a

Please sign in to comment.