Questions tagged [sound]

Audio (heard) output of a game.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 views

How to set an exact pitch in Minecraft Java 1.16.1 Resource Pack

I'm trying to make a resource pack in Minecraft Java 1.16.1. The pack will replace all of the Minecraft sounds with LoZ BotW sounds. The first thing I did was put the BotW pickup sound in place of the ...
1
vote
0answers
6 views

Long occluding geometries in Resonance Audio for Unity

I'm currently looking into using resonance audio (https://resonance-audio.github.io/resonance-audio/) for accurately modelling the audio for an environment that approximates to a long corridor with a ...
0
votes
0answers
26 views

DirectSound only allows to capture and output from/to primary devices

I wanted to allow my users to choose the devices that they want to capture from and output to. For this, I used DirectSound device and capture device enumeration functions, obtained GUIDs of all ...
0
votes
0answers
10 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 ...
1
vote
2answers
81 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
85 views

Managing audio in a RTS - when do I play sounds?

Building an RTS I have several hundred units on screen at one time. Whenever a Unit attacks/gathers something, I want to play a sound (if camera is close enough). My question is, how do most RTS ...
0
votes
0answers
41 views

Why does simply trying to add sound break literally everything

So I have a script for an object that when shot explodes and it worked literally perfectly until I tried to add sound at which point it not only didn't play the sound but also stopped exploding, which ...
1
vote
1answer
33 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 ...
2
votes
2answers
73 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
113 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
321 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
61 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
403 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
29 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
41 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
131 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
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 ...
1
vote
1answer
417 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
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. ...
4
votes
1answer
3k 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, ...
6
votes
1answer
190 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
164 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
435 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
1k 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
190 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
448 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
46 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
1k 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
49 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
602 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
2k 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 ...
17
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 ...
13
votes
2answers
486 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
35 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
765 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
403 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
807 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
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
1answer
434 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
8k 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
139 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
698 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
39 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
645 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
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 ...