Questions tagged [audio]

The audio component of a game, representing what the player will hear. Comprised of dialogue, music, and sound effects.

Filter by
Sorted by
Tagged with
0
votes
2answers
36 views

Unity3D playing sound when Player collides with an object with a specific tag

I using Unity 2019.2.14f1 to create a simple 3D game. In that game, I want to play a sound anytime my Player collides with a gameObject with a specific tag. The MainCamera has an Audio Listener and ...
0
votes
0answers
10 views
0
votes
1answer
74 views

How to get consecutive voice clips to sound natural

In the game I'm working on I have to play several short consecutive voice-clips to form a complete sentence. Example (each [] bracket is a different voice clip): [Bob here,] [we're at] [some town] [...
0
votes
0answers
47 views

How to make a CD with audio and data at the same time

I made a homebrew game and want to distribute it to my friends using CD's. The game uses CD Audio music and I already made a quick program to check if the disc is in the drive, but I don't know how to ...
0
votes
1answer
49 views

PlayClipAtPoint() playing multiple times on enemy death

I am having problems with PLayClipAtPoint(). I want to play a given sound as soon as a gameObject is destroyed. Here is my code (the concerned parts): ...
0
votes
1answer
80 views

How can I create a reverb zone depending on audio source location instead of the listener's position?

Is there a way to make a reverb zone act on an audio source not on the audio listener? Or in other words: Is there a way to apply an audio filter gradually depending on a position in space? Let's say ...
0
votes
1answer
64 views

Audio Clip not working on Collision when destroying an object

So I made a game where you shoot a laser and if it hits the enemy it makes an explosion sound and destroys the enemy. The only thing is whenever I try to get the audio to play it doesn't which I ...
0
votes
0answers
159 views

Is it more efficient detect when audio clip ends with AudioSource.isPlaying or with AudioClip.length?

In Unity, I want to trigger an event when an audio clip finishes playing. Would it be more CPU efficient to keep checking if the audio clip is playing with ...
0
votes
1answer
327 views

Unity AudioSource.PlayClipAtPoint - controlling attenuation

New developer here, looking to do some raycasting and controlling audio positioning in 3D space based on the raycasts interactions with other objects. I've got the raycast 'casting' and able to report ...
0
votes
1answer
132 views

Where's the line between homage and copyright infringement?

My current WIP game contains a music note collectible mechanic which allows players to play short tunes if collected in the right order (usually very obvious by the layout of the collectibles). So far,...
0
votes
0answers
40 views

Best form of audio compression / packing

Currently in my game I have a large amount of sounds and am getting to the point where I need to find a way to reduce the overall size of the sounds to save space when I deploy. I was wondering if ...
0
votes
1answer
291 views

Audio slider doesn't change value

For some reason, my slider and audio resets back to 0 when I stop and play the game after I changed the value. Here is the code, I can't spot anything wrong with it: ...
0
votes
1answer
283 views

Converted XWM(A) files get silence at the end

I am writing a playback mechanism for looping background music with XAudio2 and SharpDX. I converted some perfectly looping WAV files to XWM(A) with the xWMAEncode ...
0
votes
1answer
420 views

Background Music in Puzzle Math Game [duplicate]

Can someone suggest, recommend or directly link me on a site that offers free background music for an education puzzle game? I honestly not good in picking up a background audio that suits my puzzle ...
0
votes
0answers
212 views

OpenAL Soft - Sounds cut off randomly

I'm using OpenAL Soft 1.16.0. Everything's running fine, but for some reason my sounds keep getting cut off at either the beginning or the end (hard to tell). It's not really noticable for music and ...
0
votes
0answers
548 views

alBufferData() sets AL_INVALID_OPERATION when using buffer ID obtained from alSourceUnqueueBuffers()

I am trying to stream audio data from disk using OpenAL's buffer queueing mechanism. I load and enqueue 4 buffers, start the source playing, and check in a regular intervals to refresh the queue. ...
0
votes
1answer
136 views

Application to record sound effects for games

I'm having kids record sounds using their PCs (a few have Macs as well) for use in the games they create. The built-in windows 7 sound recorder is surprisingly poor, didn't older versions of windows ...
0
votes
0answers
314 views

Choosing an Audio API [duplicate]

Possible Duplicate: Cross-Platform Audio API Suggestions I have gone down this road a few times, and always decided to put it off. I am finally to the point I need to choose an Audio library and ...
0
votes
1answer
4k views

How to achieve realistic engine sound? [duplicate]

I am aiming to achieve a believable engine sound for a car. The vehicles are simplified versions of their real-world counterparts, with simpler steering behaviors and acceleration, etc. This seems ...
-1
votes
1answer
282 views

XACT support outside of XNA?

I was building a new game in Monogame when I realized that it didn't have XACT support like XNA did. I was wondering if anyone knew another framework that could be used with or instead of MonoGame (...
-1
votes
1answer
3k views

Unity Ui slider volume control

I have the ui slider to control my volume, I have my slider to control all the volume of the game. I have make it so when the main slider change value all the other slider change with it but when I ...
-2
votes
2answers
1k views

Play a sound when moving cursor on a button?

How to play a sound when moving a cursor on a button ?
-2
votes
1answer
2k views

Audio Source object reference not set to instance of an object in Unity.

I have the following script: ...
-5
votes
2answers
278 views

Why is music compressed with lossy codecs down to low bitrates in modern games?

I wonder why anyone would compress the soundtrack of a game with lossy codecs (mp3 mainly) down to 128 kbps bitrate. Thing is I see it on most of the games. Rarely a game has 320 kbps soundtrack, let ...

1 2 3 4
5