Questions tagged [audio]
The audio component of a game, representing what the player will hear. Comprised of dialogue, music, and sound effects.
264 questions
0
votes
0
answers
45
views
Unity 2022.3.45f1 no sound with external DAC
I use a Fiio K11 DAC to improve sound quality and quickly switch between headphones and speakers. Unfortunately Unity doesn't seem to be able to communicate with the device. From my understanding ...
1
vote
0
answers
141
views
How to use Steam Audio in Unity via scripting?
Has anyone worked with Steam Audio? I'm trying to rewrite my game from .NET to Unity and I want to use sound surround effects there using acoustic ray tracing, where everything should be calculated in ...
1
vote
0
answers
26
views
Audio stutter in macOS when switching from SDL app to any other app
I'm using SDL to write a program that plays arcade game-style music (i.e. chip tune music generated by an emulator core) and I have a timing loop in my code that restricts the application to 30fps. ...
0
votes
0
answers
104
views
Unity Audio plays with 5-10 second delay
I have wanted to make something like a rhythm game for Android in Unity, and for that I needed to write an audio manager to play my songs and sound effects in-game. I have followed Brackeys' tutorial ...
2
votes
2
answers
113
views
Audio Cue for Accuracy game
I'm really not sure if this is the appropriate community to ask in. I want to use some sort of audio cue that provides feedback for a player's accuracy in a task. They perform some action in real time ...
1
vote
1
answer
165
views
Rhythm game, Sync music start with the start of the level in fixedUpdate
I'm working on a rhythm based android game similar to Guitar Hero.
I have a kinematic rigidbody moving downwards with tapobjects (colliders) inside which need to be pressed when moved above the button....
0
votes
1
answer
251
views
Unity Mirror Networking Audio Behaves Differently on Host and WebGL Client
I am creating a system in Unity using Mirror Networking which will only require one host/server and one client. It is a WebGL build so the client will connect on a browser. I want to send commands ...
1
vote
1
answer
206
views
Is there a PBR-like material system for audio?
With visual/rendering materials, a very popular system for this is PBR. Materials made using PBR may define properties like albedo color, normal maps, emission, roughness, metallic, specular, etc. ...
1
vote
1
answer
187
views
Audio won't pause in coroutine
I am making a system where I have one long audio clip made up of voice lines which I want to be able to play one after the other with a variable pause in between.
I press the space key to start the ...
0
votes
1
answer
66
views
Score count-up speed based on music
I'm trying to implement a score count-up that is synced with the tempo of some short music jingle, but I'm failing on calculating the math for it.
Let's say I have a total score of 2000 that I want to ...
1
vote
2
answers
893
views
Best file format for short audio clips in a video game
I am writing a video game to teach kids how to read, and as part of that I have to play short audio clips that make basic sounds. For example, the /t/ sound (the first sound in "Tiger").
I ...
0
votes
2
answers
620
views
3D audio performance cost in Unity
I can't find any information about Unity's performance difference between 3D and 2D audio.
If I'm targeting low-performance mobile devices, should I avoid using 3D audio?
How expensive (performance ...
0
votes
1
answer
98
views
Give the Volume of a Sound a Character is currently making
I'm looking to have a sound file drive the location of a bone or morph target, to create a basic form of lip syncing. Specifically, I'm looking for help getting the volume of the sound file as a float....
1
vote
0
answers
509
views
Audio popping and cracking when looping sinusoid
I'm trying to play a "simple" generated looped sinusoidal wave with raylib and Go but, although it plays I also get audible cracks.
Checking some online examples, I see that a common problem ...
2
votes
0
answers
84
views
Audio emission from a polygon instead of a point
I'm developing a 2D game in Godot. The engine doesn't matter in this case.
Given a polygon, convex or concave, and a listener (camera) location, what 2D position should an audio emitter be placed at ...
0
votes
0
answers
53
views
Need help looking into IndexOutOfRange Exception for my Audio Manager script
basically, its as the title says. I am trying to build a brick breaker game in Unity2D, and I have found myself unable to play the death sound effect (played whenever a brick breaks).
...
0
votes
1
answer
1k
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
0
answers
168
views
Blending sword motion with sword swing sound in VR
At first, this may seem like an easy problem to solve. I also thought so. (This was a one tick task in my Trello board). But in VR the players' weapon (Sword) swings are unpredictable. The direction ...
1
vote
2
answers
213
views
Having an Audio Atlas?
Problem
I have 100 textures and I want to easily load them all without writing 100 lines of code loading them all.
Solution
Use a texture atlas. Use this to pack them. Use pixijs or something like ...
0
votes
0
answers
49
views
CloneNode or Audio Pool?
I have a game, but I have to make a decision about audio.
Should I preload an audio pool, or create cloneNode when played?
Which is better in terms of best loading and better performance?
1
vote
0
answers
1k
views
How to play multiple sounds at once without reloading data?
I am making an HTML5 game, which involves one audio being played multiple times at once.
I searched this issue up and found this: https://stackoverflow.com/questions/25654558/html5-js-play-same-sound-...
0
votes
1
answer
3k
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 ...
2
votes
1
answer
257
views
Can I have an Area affect the audio input of a Listener rather than the audio output of a speaker
Simple 3D use case: I have a Listener attached to my 3P character and a speaker attached to the environment, providing general background ambience (no attenuation).
When the character goes underwater, ...
0
votes
2
answers
268
views
Can I legally use movie sounds for game production?
Can I legally use short sounds from movies, like a door closing, in my game?
Is there a way for others know from where the sounds came from originally? Does it matter if I apply audio editing to the ...
0
votes
0
answers
887
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 ...