ref: e4898948fcdc3c3cd715fa88ee83392a9e41a031
parent: 78cb5f799244618f26e32961cff7f0642c1dfaab
author: qwx <qwx@sciops.net>
date: Mon Mar 10 17:54:35 EDT 2025
metro: just use play(1)
--- a/bin/metro
+++ b/bin/metro
@@ -1,7 +1,6 @@
#!/bin/rc
rfork n
-games/wadfs /sys/games/lib/doom/d2/doom2.wad >[2]/dev/null || exit
-cat <<! | mst | games/dmid | games/opl3 | audio/pplay
+cat <<! | mst | play -o /fd/1 | audio/pplay
t $1
i 0 127
4 0c5