Questions tagged [sound]

Audio (heard) output of a game.

Filter by
Sorted by
Tagged with
0 votes
1 answer
29 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 ...
Hidayah__0111's user avatar
1 vote
0 answers
34 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 ...
Jubel's user avatar
  • 21
0 votes
1 answer
297 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 ...
Job_September_2020's user avatar
0 votes
1 answer
130 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 ...
Alejandro Morán's user avatar
0 votes
0 answers
44 views

Render Sounds (from Animation Notify) in Movie Render Queue

Is there a way to expose the sounds generated (notified) by animations to the Sequencer or Movie Render Queue? I have a walk animation with sound effects linked to the steps, with characters using ...
Candle's user avatar
  • 141
0 votes
1 answer
139 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 ...
CodeWizard777's user avatar
0 votes
1 answer
510 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 ...
Fulano's user avatar
  • 115
1 vote
1 answer
65 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 ...
pion's user avatar
  • 55
7 votes
1 answer
160 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 ...
Stomf's user avatar
  • 1,074
1 vote
0 answers
42 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 ...
Tooster's user avatar
  • 298
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. ...
Henry's user avatar
  • 15
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 ...
xcrypt's user avatar
  • 478
0 votes
0 answers
539 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 ...
Revel Carlberg West's user avatar
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 ...
Dan Woods's user avatar
0 votes
0 answers
156 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 ...
user144176's user avatar
2 votes
3 answers
655 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 ...
Hamza Memon's user avatar
1 vote
1 answer
316 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 ...
Majs's user avatar
  • 375
0 votes
0 answers
45 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 ...
dumbass mcgee's user avatar
1 vote
1 answer
119 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 ...
DyingIsFun's user avatar
  • 1,297
3 votes
2 answers
108 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 ...
kyle's user avatar
  • 31
0 votes
0 answers
277 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 ...
Marcello Silva's user avatar
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 ...
practicemakesperfect's user avatar
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. ...
kirtan09's user avatar
0 votes
1 answer
111 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 ...
karamazovbros's user avatar
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 ...
aww's user avatar
  • 113
2 votes
1 answer
36 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 ...
1323254365's user avatar
0 votes
0 answers
73 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 ...
Lance's user avatar
  • 177
0 votes
2 answers
212 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 ...
Jay Cuellar's user avatar
0 votes
2 answers
52 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 ...
StuckInPhDNoMore's user avatar
1 vote
1 answer
992 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 ...
BlakkM9's user avatar
  • 148
0 votes
1 answer
54 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. ...
RomeoTheWizard's user avatar
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.
cutMeDown's user avatar
  • 107
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, ...
mikemike's user avatar
  • 189
6 votes
1 answer
342 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 ...
xuwenbuwer's user avatar
0 votes
1 answer
283 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: ...
KiRa937's user avatar
  • 35
5 votes
1 answer
622 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 ...
Epsiloncool's user avatar
2 votes
1 answer
2k 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://...
Black's user avatar
  • 591
0 votes
1 answer
255 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: ...
John Meyer's user avatar
1 vote
1 answer
1k 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!
bakashinji's user avatar
0 votes
2 answers
59 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 ...
ethan codes's user avatar
1 vote
1 answer
2k 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,...
ethan codes's user avatar
3 votes
0 answers
59 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. ...
Nishanth Sundharesan's user avatar
1 vote
1 answer
747 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 ...
Tasadaq Mahmood's user avatar
0 votes
1 answer
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 ...
Tasadaq Mahmood's user avatar
18 votes
3 answers
3k 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 ...
noClue's user avatar
  • 1,309
13 votes
2 answers
537 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 ...
Creative Magic's user avatar
1 vote
1 answer
38 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 ...
Aman's user avatar
  • 181
1 vote
2 answers
978 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: ...
Gad Wissberg's user avatar
-2 votes
1 answer
164 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 ...
Jon_Forest's user avatar
2 votes
1 answer
4k 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 ...
Daniyal Javaid's user avatar