Author Topic: Ambient wav support  (Read 2726 times)

Sequence

  • Newbie
  • *
  • Posts: 38
  • Karma: +4/-1
    • View Profile
Ambient wav support
« on: August 06, 2020, 03:55:55 AM »
I want some ambience in the background. I can use the "load" sound to play a song but I would like a single entry.
    <sound type="load"      src="sounds/load.wav" />
    <sound type="unload"    src="sounds/unload.wav" />
    <sound type="highlight" src="sounds/highlight.wav" />
    <sound type="select"    src="sounds/select.wav" />


    <sound type="ambient"    src="sounds/ambient.wav" />

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1543
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: Ambient wav support
« Reply #1 on: August 06, 2020, 04:10:48 PM »
It's possible to use the video tag for that I believe. That's how CoinOPS does it at the moment. I'm planning to add more elaborate jukebox functionality as soon as I get my Linux compile environment up and running again.

Sequence

  • Newbie
  • *
  • Posts: 38
  • Karma: +4/-1
    • View Profile
Re: Ambient wav support
« Reply #2 on: August 14, 2020, 05:48:00 PM »
Thanks!!!

Reported working

    <sound type="load"      src="sounds/load.wav" />
    <sound type="unload"    src="sounds/unload.wav" />
    <sound type="highlight" src="sounds/highlight.wav" />
    <sound type="select"    src="sounds/select.wav" />
    <video type="ambient"    src="sounds/ambient.wav" />