KenT2 / pipresents-gapless

A retired version of Pi Presents. Please use Pi Presents KMS which works on legacy RPi OS Bullseye or Pi Presents GTK which works on RPi OS Bookworm and RPi Model 5
https://pipresents.wordpress.com
Other
210 stars 43 forks source link

Input-pending trigger on audio tracks #130

Closed lalo-uy closed 4 years ago

lalo-uy commented 4 years ago

I whish to have the audio track preloaded and paused, since there is a 3sec delay in playing. Will work also in repeat? The short audio runs in paralel with a presentation triggered with same event.

Many thanks in advance.

KenT2 commented 4 years ago

Video tracks have a Freeze at start and Go command which do what you want. However I cannot implement this for audio tracks due to limitations in mplayer.

I think you can play an audio file in a video track and get the Freeze at start but I am not sure. Another possibility is to use [Presents Beep] and the beep feature. This plays audio files using aplay which loads much quicker.

lalo-uy commented 4 years ago

Present-beep do the trick. Many thanks.

By the way, I extended counters functionality with load & save actions. The file lives in pp_home and only contains the number. I use load at start of show and save on end comand.