Build Your Own Arcade Controls Forum

Software Support => DOS/WinCab => Topic started by: david656 on June 30, 2008, 01:36:23 pm

Title: sound effects
Post by: david656 on June 30, 2008, 01:36:23 pm
Hi,

a while back somewhere i remember reading a guy saying he would like to have different record sounds as it started to get a bit repeatative and i can see what he means but my plan is :

- change the record pop to a record droping on to a table and the arm coming across (just what i am used to hearing) (never seen a real old jukebox) and having the record pop for maybe playing through the tune.

is there a way to make the sound played through the tune different to the one at the beging of it ?

i had a look but there doesn't seem to be much coverage of sound effect options in the read me unless im missing something

thanks
Title: Re: sound effects
Post by: blicky on July 02, 2008, 08:48:45 pm
Hi. I think this is what you mean
In the skin file use "MSG_INTERSONG=*****.WAV" and set song delay in jukebox.ini to the same time as your mechanical sound and use "MSG_SONGSTART=RECPOP.WAV" for the sound you want to play through the song. I have a sound that might be what your looking for I can send to you if needed.
Title: Re: sound effects
Post by: blicky on July 02, 2008, 09:20:34 pm
Sorry, I should have tried it first (never used the MSG_SONGSTART= before).
It does work but does not play over and over. You could use a wave editor to make a file that goes for longer perhaps - not sure if there is a limit on sound effect length though - I might try it and see what happens.

O.K. just tried it. Found two problems: firstly having large sound effect files causes a long delay on startup while the skins are loaded. Secondly, once the "MSG_SONGSTART=" sound starts playing it doesn't stop when the song ends (i.e. if the currently playing song is cancelled)
Title: Re: sound effects
Post by: david656 on July 03, 2008, 01:14:38 pm
hey first off thanks for your interest in looking into this one !

so basically you are saying you can set it to play a sound in between tracks which is the arm moving...
and a sound at the begining of a track which is the arm dropping onto the record ?

thanks

btw i PMed you about the sound
Title: Re: sound effects
Post by: Chris on August 13, 2008, 11:16:31 am
There really isn't a ton of sound effect options because I never really envisioned using them for much more than error beeps and coin drops and such.  The presong/postsong delays were created just to support sound effects, though. 

I can add an option to make a sound effect repeat, but really do you want record pops all throughout a song?
Title: Re: sound effects
Post by: blicky on August 14, 2008, 10:20:13 am
Not really, you only notice it right at the start anyway
Title: Re: sound effects
Post by: Chris on August 14, 2008, 10:48:51 am
Not really, you only notice it right at the start anyway
That was what I figured.

I am planning to put in a "random" capability, but I've been looking at a couple of different ways to do it.  I try to keep things as generic as possible to gain the most flexibility; for example, I can see people wanting to use random images too, so the method I use should work for both sounds and images.  So I need a way to specify a "set" of sounds or images.  But sets can be used for animations as well, and it would be able to specify a collection of icons as a "set" so you could import entire keypads and such.  And maybe the user doesn't want the items in the set to be random, they should be in sequence....

There is the easy way:
[Sounds]
MSG_COIN=RANDOM,coin1.wav,coin2.wav,coin3.wav

Of course, I'm going to run into issues with sounds with commas in the filename...  should I care about this?

There is the inline set method:

[Sounds]
MSG_COIN=coin.set

[coin.set]
SetUsage = RANDOM
SetItem1 = coin1.wav
SetItem2 = coin2.wav
SetItem3 = coin3.wav


Any opinions?
Title: Re: sound effects
Post by: Space Fractal on August 14, 2008, 04:25:43 pm
I in the past created such a JPS plug in to play sound effects through a another soundcard, like a small mono speaker and not to the main speaker where the music is playing.

This would been a good for a coin effect like this.

I guess you could do the same....