Questions tagged [sound]
Audio (heard) output of a game.
178
questions
1
vote
2
answers
988
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
1
answer
32
views
Can I insert sound in the tooltip?
Before this, I try to insert an image in a tooltip and it was already done. But right now, I want to try to insert a sound in the tooltip. What I want to do is when I point my cursor to the object it ...
1
vote
0
answers
36
views
How to create basic spatial sound?
I am working on a very basic first person project. Given a sound source's X Y Z coordinates and the camera's X Y Z as well as the angle the camera is facing, I would like to know how these values can ...
8
votes
5
answers
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 ...
0
votes
1
answer
483
views
How can I reduce the file size of my Unity build that contains lots of audio files?
I create a mobile app in Unity that use lots of MP3 files.
Would you please tell me if there are any simple and easy softwares or tools that can reduce the MP3 file size ?
Or does Unity have a way to ...
0
votes
1
answer
139
views
Best moment to trigger sounds in 2D games
As a test project I am creating a 2D tower deffense game in Godot (C#). My question is about best practices in the industry on how to manage sound effects.
One of the enemies is represented by an Orc ...
36
votes
5
answers
26k
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 ...
0
votes
1
answer
159
views
How to play a sound when changing the value of a tkinter scale
I'm making a settings menu for my game, and would like to know if it is possible to play a sound every time a value of a scale is changed. For example, the user changes the scale from 1 to 2, a sound ...
0
votes
2
answers
60
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 ...
0
votes
1
answer
659
views
How can I come up with unintelligible spoken speech like what can be heard in The Sims?
When I search for "Voice Samples" and "Unintelligible Voice Samples" I can only find vocals of singers or just background noise of people talking at the distance, like a crowded ...
1
vote
1
answer
69
views
When do you need to add sound effects?
I am making a small 2D sidescrolling shooter and have all the basics done now. I have a player, enemies, different weapons and a map. I am unsure about at what point in development you should add ...
7
votes
1
answer
162
views
How can I make explosions sound more harmonious?
I'm working on a game* which has lots of explosions.
Audio feedback is important. If the explosion is large, or nearby, the player may want to take immediate action. I want a scaling audio cue for ...
16
votes
3
answers
2k
views
Sound effects system design
I'm creating a RPG/RTS game in Unity. There are a lot of characters and potentially a lot of different environments. I'm fairly confident with the coding part (so this question isn't really tied to ...
1
vote
0
answers
44
views
How to implement a big audio source and a cluster of audio sources?
I have a 3D game. The sound engine supports:
playing ambient music to the player (two channels always the same)
playing static sounds from a single position in space
playing mobile sounds from a ...
7
votes
3
answers
6k
views
Loading sound in XNA without the Content Pipeline
I'm working on a "Game Maker"-type of application for Windows where the user imports his own assets to be used in the game. I need to be able to load this content at runtime on the engine side.
...
0
votes
1
answer
38
views
why isnt this playing a sound?
This code is supposed to play a sound when I press 'E' but it's not working. also keep in mind I'm new to unity and coding in general so don't be to harsh if I made a really dumb mistake.
...
0
votes
1
answer
2k
views
How to play sound in WebGL build in Unity?
I have a project that works fine when I build for windows, but doesn't work when I switch platform to WebGL. The [SerializeField] AudioClip variables in the ...
14
votes
2
answers
5k
views
How do I simulate the 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 simulates the effect; I only have a callback function where I mix the data.
I ...
3
votes
3
answers
873
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 ...
19
votes
1
answer
15k
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 ...
98
votes
4
answers
77k
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
2
answers
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
0
answers
588
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
0
answers
21
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
0
answers
164
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 ...
1
vote
1
answer
334
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
0
answers
46
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
1
answer
142
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
2
answers
115
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
1
answer
57
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
0
answers
284
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
0
answers
29
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
1
answer
1k
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
4
answers
19k
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
1
answer
124
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 ...
1
vote
1
answer
1k
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
1
answer
37
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
0
answers
75
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
2
answers
217
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
4
answers
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
0
answers
788
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
2
answers
53
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
1
answer
1k
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
1
answer
162
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
1
answer
7k
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
11
answers
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
1
answer
3k
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? ...
0
votes
2
answers
4k
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
1
answer
360
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
1
answer
289
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:
...