Questions tagged [sound]

Audio (heard) output of a game.

Filter by
Sorted by
Tagged with
19
votes
1answer
14k views

As an indie game developer, how can I have (quality) music/sound done? [closed]

Besides the story itself, a game needs code, graphics and music/sound effect. I can program and I knew a few graphics designers in the web app era. However, I don't know whether to find music and ...
96
votes
4answers
76k views

How should a one-man team do game audio?

Most game development (game design, art, programming, etc.) can be done by one person with relatively little equipment: A game designer needs a pencil and paper, an artist Photoshop or Paint, a ...
4
votes
2answers
4k views

Recording equipment for game sounds [closed]

I was wondering if anybody knows about any good pieces of equipment fit for recording sound effects for games. If you can, also tell please me the price range for professional equipment.
0
votes
2answers
47 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
2answers
799 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: ...
0
votes
0answers
17 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
7 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
33 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
11 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
90 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
113 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 ...
14
votes
2answers
4k views

How do I simulate a doppler effect in a game?

I am trying to simulate the doppler effect in a game (a car racing game). I am not using a specific sound library that simulate the effect, I only have a callback function where I mix the data. I ...
1
vote
1answer
34 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 ...
3
votes
2answers
76 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
1answer
41 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
0answers
128 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
22 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
399 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. ...
10
votes
4answers
16k views

Is there a sound library for C to generate sound samples from code? [closed]

I'm working on an engine for a retro-style game in C. I'm looking for a sound library that would produce chip sounds from code...I want to make my own simple chiptune tracker for the engine to create ...
0
votes
1answer
63 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
513 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
48 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
145 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 ...
2
votes
4answers
3k views

How to play a sound by C# that is linked to the object with AudioSource?

I trying to play a sound while the player is ontriggerenter. The sound is linked to the object with a AudioSource component. But notting happened. ...
4
votes
0answers
704 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 ...
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
485 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 ...
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 ...
4
votes
1answer
4k 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.
35
votes
11answers
25k views

How are sound effects made? [closed]

My friend and I are finishing up our first game right now and I have just discovered that even though he can make some decent music tracks, he has no idea how to make a sound effect. An explosion, for ...
1
vote
1answer
2k views

Master sound volume in LibGDX

I have been searching everywhere for master volume for sound and music in LibGDX but to no avail. Can anyone tell me if it is implemented somewhere or do i need to implement such functionality myself? ...
1
vote
2answers
3k 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
207 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
173 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
459 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
200 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
546 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!
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,...
1
vote
2answers
923 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
1answer
613 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 ...
3
votes
0answers
52 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
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 ...
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 ...
34
votes
5answers
24k views

What quality should my sounds be?

Sound and it's quality is something like religion. Never ending story. People will say, that MP3 320kbps is lossless, while experts will say that any MP3 is crap, but in the end, no one will hear a ...
-2
votes
1answer
1k views

Current status of 3D Sound Effect APIs in games [closed]

I'm doing a little research on a subject, and it looks like there is some sort of crysis there? Last EAX/OpenAL supporting games were like in year 2006. Why is that? Is there is a major lost of ...
10
votes
3answers
1k views

Good way to play a sound when something happens? How does this sound?

So I was thinking about how monolithic my classes get a lot of the time. For example, in the Character class's Jump method, one ...
8
votes
5answers
6k views

Audio programming resources [closed]

I've been very interested in the last few months about getting in to audio programming (I'm from a musical background). I've been a .NET developer for two years and have also done some objective c for ...