Ventoy Forums
A dumb question - Can Ventoy play audio track for startup? - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy General Use —— Ventoy 使用交流 (https://forums.ventoy.net/forumdisplay.php?fid=1)
+--- Forum: Ventoy Discussion Forum (https://forums.ventoy.net/forumdisplay.php?fid=2)
+--- Thread: A dumb question - Can Ventoy play audio track for startup? (/showthread.php?tid=2303)



A dumb question - Can Ventoy play audio track for startup? - partyofocelots - 12-27-2022

I know Ventoy is based on GRUB, but is there a possible way to do it? Huh

(I am new to Ventoy if you want to know)


RE: A dumb question - Can Ventoy play audio track for startup? - Steve2926 - 12-28-2022

Ventoy may support the grub2 play command which will make the built-in mainboard speaker (if fitted) produce a note of a specific frequency for a specified duration.
In grub2 console type 'help play' on a real system (may not work on VM such as QEMU or VBox)

e.g.
play 400 900 2 1000 2 800 2 400 2 600 4

use google to find more tunes.

You could use F6 in Ventoy to make a menuentry to play a tune, but I am not sure how to make it autoplay on startup unless you modified the Ventoy grub.cfg file.


\ventoy\ventoy_grub.cfg

menuentry "Play tune" --class=custom {
play 400 900 2 1000 2 800 2 400 2 600 4
}


RE: A dumb question - Can Ventoy play audio track for startup? - partyofocelots - 12-28-2022

(12-28-2022, 08:39 AM)Steve2926 Wrote: Ventoy may support the grub2 play command which will make the built-in mainboard speaker (if fitted) produce a note of a specific frequency for a specified duration.
In grub2 console type  'help play' on a real system (may not work on VM such as QEMU or VBox)

e.g.
play 400 900 2 1000 2 800 2 400 2 600 4

use google to find more tunes.

You could use F6 in Ventoy to make a menuentry to play a tune, but I am not sure how to make it autoplay on startup unless you modified the Ventoy grub.cfg file.


\ventoy\ventoy_grub.cfg

menuentry "Play tune" --class=custom {
play 400 900 2 1000 2 800 2 400 2 600 4
}

Thanks, man!  Smile