Author Topic: Sound/Volume?  (Read 1994 times)

retrogam3

  • Full Member
  • ***
  • Posts: 93
    • View Profile
Sound/Volume?
« 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

hermine.potter

  • Hero Member
  • *****
  • Posts: 767
    • View Profile
Re: Sound/Volume?
« Reply #1 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

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;
AM Version : 2.6.1
Input : Mad Catz Brawlstick; Mouse; Keyboard; Xbox360 Wireless
Cabinet : Yes
OS : Windows10 Pro
System : Dell Precision T3500 ; Intel X5650 ; 12GB RAM

retrogam3

  • Full Member
  • ***
  • Posts: 93
    • View Profile
Re: Sound/Volume?
« Reply #2 on: July 23, 2020, 03:06:23 AM »
Thanks!

zpaolo11x

  • Hero Member
  • *****
  • Posts: 1236
    • View Profile
    • My deviantart page
Re: Sound/Volume?
« Reply #3 on: July 23, 2020, 03:07:27 AM »
Another, quite radical, approach would be to strip the audio from your video snaps :O