Questions tagged [sound]

Audio (heard) output of a game.

Filter by
Sorted by
Tagged with
1
vote
2answers
62 views

Need to programatically muffle game sounds

So I work on a multiplayer game that is set in space. There are essentially two environments for players to be in: inside a sealed space station (where there is air and thus sounds) and outside the ...
0
votes
0answers
80 views

libGDX/HTML5 game sounds doesn't work on iPhone

I have a libGDX/HTML5 project that works well on desktop browsers, but on mobile browsers it has problems. I can have some sounds on Android browsers (not perfect) but on iPhone browsers it doesn't ...
0
votes
0answers
21 views

Increase sound tempo in Unity when new player joins in Kinect game

I'm using Unity to create a Windows-build game with Kinect. I have some drum beats, which can either be used as single sound effect or be edited to be a piece of continuous music. I want these drum ...
0
votes
1answer
121 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
1answer
54 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
120 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 ...
2
votes
1answer
27 views

How can I display a loading state until a song loaded with www.GetAudioClip() is ready to play?

I use www.GetAudioClip() to get a song and play it when my Android mobile game starts. My issue is that it takes a 3-second delay to play the song. My idea is to ...
0
votes
0answers
30 views

Use of synthetic vs. natural sounds in modern large games

Wondering generally how sounds are created for a large game such as Halo or Mario. Obviously 8-bit games probably used synthetic sounds (like regular Mario), and modern games have prerecorded voices ...
0
votes
2answers
72 views

Gunfire Sound Gets Cut Off When I Release the Aim Button. Help?

So for my game you have to hold down right mouse click to aim and then simultaneously click the left mouse click to shoot. When the gun is fired, I'd like the gunfire sound to play. Currently, I have ...
0
votes
2answers
30 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
258 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 ...
0
votes
1answer
36 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. ...
4
votes
1answer
2k views

Mute sound in editor in Unity

Is it possible to mute sound in editor in Unity? I mean not in the game, but in the editor, so that when I am debugging there would be no sound whatsoever.
1
vote
2answers
2k views

How do I handle collision sounds with many objects?

I have a game where I am dropping blocks onto a wooden platform. The idea of the game is to stack them whilst keeping them balanced. The blocks fall from a height. Sometimes they land on the plank, ...
5
votes
1answer
127 views

How to get the loudness of the real world environment using the device's microphone in Unity?

I am trying to create a game where the character's movement is dependent on the loudness of the real world environment. So if the person playing the game screams or do something loud the character ...
0
votes
1answer
133 views

Unity Network No sound on other clients

I'm trying to play sound on other clients, so they could hear gunfire in the distance, but sound only works for the shooter. Here's my code: ...
5
votes
1answer
354 views

Precision timing in Unity3d

I am trying to implement a method which should be called each 10ms with a precision not less than 0.1ms (better 0.05ms). This method is very complex and it is generating sound samples which are placed ...
2
votes
1answer
791 views

Unity - 3D Sound sounds weird if audio listener is moving fast

If you place 3D Sound which is set to logarithmic falloff and move very fast, then it sounds extremly weird and plays way faster than normal. How can I prevent this? I made a short video: https://...
0
votes
1answer
165 views

Playing Audio Source in Unity 2d game on destroy

I'm trying to play a sound when an enemy is destroyed. I created a child game object and put this in the OnEnterCollision2D function: ...
2
votes
1answer
237 views

What is the default audio bitrate in Unreal 4?

Maybe I'm just googling the wrong thing but what's Unreal's default audio sample rate? 44.1kHz or 48kHz? Silly simple question but thanks for helping out!
0
votes
2answers
35 views

Adding 2 sounds to 1 asset

I've got a sound looping from the start of the game, working exactly as I need it to. What I need is a second sound to alert the player that they have located the hidden object (the first sound is a ...
1
vote
1answer
576 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,...
3
votes
0answers
48 views

How to calculate the sound volume for the left ear and right ear based on the object position & velocity, player position & forward vector? (3D sound) [closed]

Please assume: Minimum distance for 3D volume = 1.0; Maximum distance for 3D volume = 100.0; This is the declaration of the function: An object can be a ball moving closer to the player. ...
1
vote
1answer
527 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 ...
0
votes
1answer
1k views

Mute/Unmute Sound For All Game Scenes by pressing Button

My Question is simple i just want to Mute/Pause All Sound of the Game having different scenes. From Scene 1 Which is a Main Menu I Have Two Button On/Off . When i press On Button it stops or mute ...
16
votes
3answers
1k views

Is there a term for the sounds that play when text is printed out letter by letter?

Take a game like Undertale: whenever a character "talks", the text is printed out one by one, and a sound is played for each letter, as if the character is actually talking (even if it's just ...
12
votes
2answers
449 views

Is it reasonable to ask for all rights for music when hiring a musician?

I've made a game and now I need to add real sounds and music to it. For the first time I've decided to hire a musician to make music for my games. Before I used to buy sound packs and licenses for ...
1
vote
1answer
31 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
2answers
589 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: ...
-2
votes
1answer
158 views

What are things that you look for when hiring a composer to make music for your games? [closed]

When you are looking to hire a composer to make music for your games, what should you look for? There is a large library of “stock” sounds that anyone/everyone has access to. So what values and ...
2
votes
1answer
2k views

PlaySound() Lags opengl c++

I am new to OpenGL. I am making a game similar to this, shown in image below. The problem is when I detect collision, i.e cannon ball and ship collide, I play a sound using ...
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 ...
-2
votes
3answers
237 views

How can I make my AI NPC's have a footstep sound?

I am making a horror game and I have NPCs roaming around the map. How can I make it so the player can hear the NPCs' footsteps as they get closer?
1
vote
1answer
706 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
199 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
1answer
383 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 ...
2
votes
1answer
6k views

How to use Resources.Load with an AudioClip in Unity?

I'm trying to load an audio clip that's in my assets directory and play it. Here is my C# script: ...
3
votes
1answer
118 views

Automatic audio segmentation and find the most energetic segments

What algorithm can be used for audio segmentation? I want to divide song to segments and find the most energetic segments (begin and end in seconds). It is needed for the rhythm-game. Examples: ...
4
votes
0answers
671 views

Libgdx stops all sounds when there are lots of sounds

I'm making a 2D game for Android using Android Studio with Libgdx in Java. I have a class, called SoundPlayer, which holds an ArrayMap. The key is the name of the sound file and the value is the sound ...
-1
votes
1answer
38 views

Why does iPhone games include a sound option?

Why does iPhone games include a sound option? It seems very unnecessary because the sound options (on/off, volume) are already on the hardware itself. Unless the player wants to shut out music, or ...
3
votes
1answer
610 views

How do you use SoundManager for multiple player games over the network?

I have created a basic sound manager according to this unity tutorial (https://unity3d.com/learn/tutorials/projects/2d-roguelike/audio). However, I need it to work for multiple players over the ...
0
votes
1answer
118 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
163 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 ...
3
votes
1answer
481 views

How can I turn off the sound from another scene?

I attached music file to my first scene and thanks to following javascipt code, sound continues without stopping in other scenes. ...
2
votes
1answer
116 views

Sound and Unity 5

I want to work on sound in games, but I don't have any experience in scripting, only in sound design for film. Some friends that do know scripting are starting to learn in Unity 5, and my part would ...
2
votes
2answers
594 views

How to handle sounds muting in settings?

I have a easy and specific question. Let's say that in my game I use singleton for playing/pausing/changing volume of specific sounds (SimpleAudioEngine in cocos2d-x). What is the best way to ...
2
votes
1answer
284 views

Libgdx : surround sound

in libgdx there is a lot of audio classes but i haven't seem to of found anything relating to balancing sound in one speaker and or the other to get surround sound say you check if an object is more ...
5
votes
1answer
142 views

How would I add a sound variable to my code?

I am writing some code in JavaScript for a ray cast shooting program. I have all the variables I need except for sound, and I'm not too sure on how to add that variable into my code. I would really ...
1
vote
1answer
254 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° (...
2
votes
1answer
794 views

LibGdx Sound start to give an error after loading GameScreen multiple times

I have a LibGdx game, where the user taps on the screen, and a Sound will play. When the user taps on the screen, a texture will "fire" another texture as a missile, and can hit a target, when this ...