Ventoy Forums

Full Version: A dumb question - Can Ventoy play audio track for startup?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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)
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
}
(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