Questions tagged [sound]

Audio (heard) output of a game.

Filter by
Sorted by
Tagged with
1
vote
1answer
469 views

Alternative to soundeffect.play()?

I have been using a profiler to optimize my game for the Xbox, my aim is as with any optimization to reduce excess CPU and memory usage. I have managed to cut down a lot of the processor time and ...
1
vote
2answers
11k views

Voice recognition libraries - C++ [closed]

I need to implement voice recognition in my game, the target is that the user speaks into the microphone and the game responds accordingly to some commands. What libraries could help me with such ...
1
vote
2answers
917 views

2D game libraries that support positional stereo sound? [closed]

I would like my game to have semi-realistic sound, where the left/right channel volume depends on the position of the sound source within the world. I've looked and it seems that it's not possible ...
1
vote
2answers
74 views

Add a sound to all the buttons in a project

Is there an option on the texture_button or something like that where you can specify a sound to be played on button-press. I have created a global sound_manager but for the button presses, I have to ...
1
vote
1answer
31 views

Mapping decibel range to linear audible intervals

I am working in an engine that encodes sound as decibels (dB). Let's assume the decibel range of human hearing is -60dB to 0dB. Audibility is not linear across this range. So my question is... How ...
1
vote
1answer
388 views

LibGDX play sound when hovering button

I'm trying to make a button that plays a sound when hovering above it with the cursor So far I created a class which extends the scene2d TextButton and I'm adding a FocusListener. The problem is that ...
1
vote
1answer
994 views

increasing speed of sound as player approaches

I am trying to create a sound that increases in speed as the player gets closer to the object. The sound is just a single 'ping' and will increase in frequency as we approach, once we are on top of it,...
1
vote
1answer
34 views

Dialogue Audio: Forming sentences using different recordings

I am working on a game where the exact dialogue to be spoken out depends on context. The most common use case is for scoring - The game keeps player score and I want the game to tell the player her ...
1
vote
1answer
797 views

Can OpenAL be used with Python?

I'm from a background of using OpenAL with other languages; and I'm on a project that benefits very much from Python. I remember PyAL, but it hasn't been updated since 2013 and my computer can't even ...
1
vote
1answer
429 views

Game Maker - Turn On/Off Sound

What I have I have two rooms: rm_home and rm_options. I have a sound: snd_Bgm. And, I have ...
1
vote
1answer
323 views

How to get the directional vector (for IrrKlang) from pitch and yaw?

Currently my game engine allows the player/camera to pitch and yaw, so there's no roll. The pitch angle starts at 0°, which means the camera is facing straight ahead. From here it can go up to +85° (...
1
vote
1answer
223 views

MonoGame InstancePlayLimitException on Windows w/ OpenGL

Why am I getting the InstancePlayLimitException when playing several SoundEffects per second despite there being no limit unless programming for mobile? It occurs after only a few seconds of repeated ...
1
vote
1answer
196 views

Can I rely on SoundEffects being stopped when unloaded?

I am using XNA's SoundEffect class to play sounds. I have to unload all sounds from the corresponding ...
1
vote
1answer
7k views

Is it possible to use ALSA or OSS on Windows? [closed]

Has nobody written a wrapper over DirectSound or something yet?
1
vote
1answer
534 views

Sound Delay With AVAudio Player

I'm using the following code in my viewDidLoad to load a sound: ...
1
vote
1answer
596 views

how to save Audio Volume to playerprefs to mute all scenes sounds

Please Explain me how to Save or Set Audiolistner or scene Audio to playerprefs to control game all scene sound by a simple Button On and Off .. Please Give Me C sharp Script as a Example To Mute and ...
1
vote
2answers
743 views

LibGDX with SoundPool

I'm developing a game for Android using LibGDX in Android Studio. I recently found out that some sounds in my game fail to play. I noticed that every time a sound fails to play, these are the logs: ...
1
vote
1answer
207 views

Setting sound panning

I'm trying to set sound panning in my game depending on camera position, rotation and audio source position. I was able to set sound panning depending on camera position (listener), and audio source ...
1
vote
0answers
467 views

LibGDX sound playing problem

I'm making a game and I want to play sounds in it. I have AssetManager which loads the sounds and I made a class which has playSound(String sound) method. This method calls the get() method of the ...
1
vote
0answers
604 views

LibGDX music doesn't play anymore after x times

In my App I added two sounds, the first is played when the gamescreen start the second when the game is going to game Over screen. Everything works fine but after about 12-13 games the second sound ...
1
vote
1answer
507 views

How to play more than one background song in XNA?

The current tutorial I am using to play background songs only allows me to play one song throughout the entire game. Link to tutorial --> http://rbwhitaker.wikidot.com/playing-background-music I ...
1
vote
0answers
110 views

Panning in Direct sound wthout using SetPan function [closed]

I was wondering if it is possible to pan a WAV file in direct sound without using the SetPan function. If so how? That is change the volume on 2 different speakers, right and left, to simulate that ...
1
vote
0answers
371 views

Playing repeated sound in Java

I'm trying to play sounds in a Java game with the following code: AudioStream audioStream = new AudioStream(stream); AudioPlayer.player.start(audioStream); The <...
1
vote
0answers
95 views

How do I remove unwanted areas while keeping the animated keyframes and wav in sync?

I recorded a motion-capture along with voice as fbx and wav. How do I remove unwanted time periods while keeping the animated keyframes and wav in sync? 3DS MAX 2012 is being used. Standard plugins ...
1
vote
1answer
330 views

IrrKlang with Ogre

I'm trying to set up sound in my Ogre3D project. I have installed irrKlang 1.4.0 and added it's include and lib directories to my projects VC++ Include and Library directories, but I'm still getting a ...
1
vote
1answer
2k views

Python/PyGame mixer.music playback of OGG file has intermittent clicking sound - how to proceed?

I have a class within my python + pygame game that handles sound - it worked well until I tried use pygame.mixer.music to switch between streaming .ogg music files. The class switches between them on ...
1
vote
0answers
281 views

Sounds for Car racing game [duplicate]

Possible Duplicate: Car engine sound simulation M working on 3d car racing game . Being assigned the task of creating sound effects for the car. I have all the sounds with me like idle engine ...
0
votes
2answers
90 views

Sound composition/compilation softwares [closed]

I'm a one man developer company. I'm working on a game for which I need some variety of sounds. I searched online stock music and it does not give me what I'm exactly looking for. As a desperate and ...
0
votes
3answers
624 views

Reproducing several sounds in AS3

I'm trying to reproduce several sounds in a game I'm developing in AS3. The game is like a TD game, and when I got 10+ of the same tower firing at the same time, I hear a horrible: "...
0
votes
1answer
283 views

Play a sound on button click before loading the load scene in Unity3D

I am trying to play the sound of the button click before loading the scene in unity. However, the sound is never played. Below is my code, help would be appreciated. ...
0
votes
2answers
33 views

I'm not hearing any sound even though its picked up by audioSource?

I have two sound clips that I am feeding to an audioSource via script, it seems to be working as I can see the audio clips populating the audioSource component. But the problem is that I dont hear ...
0
votes
1answer
207 views

How should player be able to hear 2D spatial sound?

Let's say there is a multiplayer 2D game and a 2D spatial sound system, in which sound volume decreases, when distance to the sound position increases. E.g. explosion happens. Should player hear it if ...
0
votes
1answer
69 views

Proper Order to Process Each Frame

I'm writing a rudimentary 2D engine and am wondering what the proper or generally accepted order is for handling graphics, user input, sounds, and then other systems like physics. If you have written ...
0
votes
1answer
115 views

XNA SoundEffect with offset

I've been trying to make a soundmanager recently which has several functions which fits my needs. But one thing I can't solve, is the offsetting the soundeffects. Is it possible to play a soundeffect ...
0
votes
1answer
1k views

XNA - how to prevent a sound from looping

So in XNA I have this code: Variables: SoundEffect optionSelected; In the LoadContent() method: ...
0
votes
1answer
507 views

Free sounds for game like geometry wars [closed]

anyone who knows where can I download sounds that are like in geometry wars for free? Public domain or license which can I use in game which would be free for phone?
0
votes
1answer
59 views

Is there a word that describes when too much audio is being play simultaneously?

In Unity, before I managed sounds properly, if too many accumulated at the same it would become this loud drowned out mega sound (like the speakers got blown out). With proper audio management this is ...
0
votes
1answer
356 views

Standard decibel range for sound effects/music?

Is there a standard for a decibel range of sound effects and music in games? I've been getting sound effects from various sources and some are much louder than others so I've had to adjust them with ...
0
votes
1answer
40 views

Gamemaker Studio 2 html5 game sfx influence background music volume

When I run my game in html5 the game sound effects for shooting makes the background music less audible. It is like the volume of the bg music goes down. And when shooting is done it goes up again. ...
0
votes
2answers
3k views

Unity 5.3 with C# - Toggle Sound On/Off

I'm working with Unity 5.3 with C# as code editor These are what I have : I have 2 scenes in my project : home and options. I ...
0
votes
1answer
121 views

What do you call the sounds that play when players place/destroy blocks?

I'm working on a game and trying to find sounds for it. I'm not sure what terminology to use when searching to find the kinds of sounds I need. Specifically I'm looking for sounds that make sense for ...
0
votes
1answer
246 views

Unity 5 - Error with code to make pitch changes based on distance

I really need help. It's 2:00 AM here and my brain is half dead so I can't, for the life of me, find out what's wrong with this code anymore. It's supposed to find the distance between the game ...
0
votes
1answer
1k views

Sound plays several times upon collision

Upon collision, my sound effect plays several times. How can I fix this? ...
0
votes
3answers
127 views

How to move around in a map and remember position?

I am working on sound labyrinth game. My game is about a person getting trapped in the basement and the only way to navigate and get out is through sound. I have created a map over the basement and ...
0
votes
1answer
2k views

Unity Sound effect playing too many times

In the class PlayerControl I have this if (Input.GetKey("space")) { soundManager.PlayBleep(); sword.SetActive(true); } In my ...
0
votes
1answer
181 views

Play .mp3 with Craftyjs

I want to play .mp3 sound files in a game I built with Crafty.js. Is this possible without converting the sound file?
0
votes
1answer
255 views

Repeating Sound with Timer in Actionscript 3

I'm working on a Flash game and am trying to figure out how to repeat a sound periodically every 17 seconds. Instead, of having the sound repeat once the .mp3, .wav, finishes. The problem I'm running ...
0
votes
2answers
742 views

Best source for sound effects? [closed]

What is a good source for sound effects for use in an indie game production (C#, XNA)? The sounds do not need to be free. They, however, should have a clear licence for commercial use. The website ...
0
votes
2answers
219 views

Drawing an animation over an already drawn screen

I am working on a XNA WP7 card game whose basic prototype is complete. In game screen, 6 cards are displayed at a time (3 for each of the two players say 1,2 and 3). If player A attacks one of player ...
0
votes
0answers
9 views

Panning value of 2nd GameObject's AudioSource is not initializing

I'm making a prototype and stuck in a problem where two GameObjects swap but there values of panStereo of ...