sound effect of bullet shooting

Shishkov

  • Posts: 169
Hello everybody.

I want to add a bullet sound effect, while scene music plays. When I always press fire button, this sound effect deafen scene music. Can I make sound effect file less volume and lighter than scene music so as to do not deafen my favorite music file?

Meestar

  • Posts: 654
Play the sound effect on a channel and set the channel's volume to a lower number.  More information is listed in the Stencylpedia under "Sound."  You can get to the Stencylpedia by clicking the "Help" tab at the top of this website.
PM me if you require help.  I'm always glad to help out!

Shishkov

  • Posts: 169
Ok.
How can I know how many channels player's computer has?
My audio system has 10 channels. I tried to work with first and second channel and it was not good. When I applied it to tenth it was much better.
But, for example, my friends computer has only 3 channels.
So what would  you recommend now?
NOTE: stencylpedia doesn't provide me with information about how to check number of channels in the computer.
Any suggestions?

Innes

  • *
  • Posts: 1960
The following Stencylpedia page should contain all the information you need, including the number of channels available (under the heading 'Channels')...

http://www.stencyl.com/help/view/playing-sounds-and-music/
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

Shishkov

  • Posts: 169
I know that It works like when desired channel is not available then it tries next or nothing if there are none of them are available. But I can mess up other sound and music effects, so it is why  I wanted particular channel. Or maybe I should not worry about that and it will work properly?

As I had not tried this way before, I would worry about how it will work in other computers.

Please provide me with useful information about that.

« Last Edit: March 10, 2013, 09:53:54 pm by Shishkov »

Innes

  • *
  • Posts: 1960
I'm having a little trouble understanding exactly what the problem is. However, Stencyl supports 32 sound channels. Each channel can have it's own volume / fade in and out, etc.


Which platform are you developing for? Flash? As far as I am aware, there are no problems with channel management on the Flash platform.


Are you specifying the soundtrack as 'music'  and the effects as 'sound-effects' when you are importing the audio files into Stencyl?
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

Shishkov

  • Posts: 169
I specified a soundtrack as a 'music' and sound effects like a bullet shot, etc. as a 'sound-effects'.
I'm currently using flash platform.