Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: retrogam3 on July 22, 2020, 09:29:43 AM

Title: Sound/Volume?
Post by: retrogam3 on July 22, 2020, 09:29:43 AM
Anyone know how to allow the intro video volume to play while still muting the snap video volume through AM?

This part of AM.cfg
sound
   sound_volume         100
   ambient_volume       100
   movie_volume         0
Title: Re: Sound/Volume?
Post by: hermine.potter on July 22, 2020, 04:57:57 PM
your setting, is a global setting for all sounds.

so you need another way.
If you want to play AM Intro Video with sound + disable sound for snaps, you need to edit the display/layout code itself. See (http://forum.attractmode.org/index.php?topic=336.msg2379#msg2379)

Goto display folder:
Your-AM-folder > layouts > your_layout > edit layout.nut

search for this parameter:
snap.preserve_aspect_ratio

add this extra code line just below:
snap.video_flags = Vid.NoAudio;

So you get:
snap.preserve_aspect_ratio = whatever;
snap.video_flags = Vid.NoAudio;
Title: Re: Sound/Volume?
Post by: retrogam3 on July 23, 2020, 03:06:23 AM
Thanks!
Title: Re: Sound/Volume?
Post by: zpaolo11x on July 23, 2020, 03:07:27 AM
Another, quite radical, approach would be to strip the audio from your video snaps :O