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

learn more… | top users | synonyms

1
vote
0answers
148 views

Audio Panning using RtAudio [closed]

I use Rtaudio library. I would like to implement an audio program where I can control the panning (e.g. shifting the sound from the left channel to the right channel). In my specific case, I use a ...
1
vote
0answers
117 views

How should I adjust starting sample position of audio track to match next buffer fill?

I've written my own audio mixer. For Linux/Windows, my game uses SDL. On a small handful of Linux machines (including my laptop), SDL has a bug where it allocates a ridiculously large (about 120 ...
0
votes
2answers
69 views

Play two different audio sources depended on code behind

How can I play two different audio clips in Unity depended on the code behind? Into my object I've added two audio sources namely 'Player GunShot' and 'outOfAmmo'. Into the same object I've also ...
0
votes
2answers
78 views

Trying to use yield to wait for a few seconds to avoid the sounds from Interfering with each other

Ok so when my player hits a wall (Enemy tag). My player is destroyed after a certain amount of time. During this time, I disabled the mesh renderer on impact so it "appears" as if the player is ...
0
votes
1answer
4k views

How do I have multiple audio sources on a single object in Unity?

I have an audio system set up wherein I have loaded all my audio clips centrally and play them on demand by passing the requesting audioSource into the sound manager. However, there is a complication ...
0
votes
1answer
4k views

Issues loading in AudioSource at runtime using WWW class

I am having an issue with loading in an OGG audio file to my project. Basically I want to set my game up so that players can drop audio files into a folder called Playlist in the game directory then ...
0
votes
1answer
397 views

Stereo music playing in mono in libGDX

I'm trying to get some music to play back in stereo in libGDX, but it seems to be blending the left and right channels so much that it sounds like it was mono. To test this out I made a sound file ...
0
votes
1answer
223 views

Can I include PCM audio data in a commercial application?

For certain reasons, I need raw audio data in my application. I would convert certain sounds to a PCM format (at development time), and store & load these PCM files in my game. PCM stands for ...
0
votes
1answer
410 views

Free sounds for game like geometry wars [closed]

anyone who knows where can I download sounds that are like in geometry wars for free? Public domain or license which can I use in game which would be free for phone?
0
votes
1answer
41 views

How to save slider button positon on saved value.?

I am new to game dev. I have below code and it`s work good. I can change volume using this code and with AudioSource slider script. I also saving this volume state using playerprefs from 0-1. My ...
0
votes
1answer
24 views

Slaving OpenSceneGraph to an external time base?

I'm working on an OpenSceneGraph animation, and I want events in the animation to be synchronized to a time reference provided by my audio player (BASS or FMod). Yes, this is a demo :) . Which time ...
0
votes
1answer
195 views

How do I make one ui slider control all of the game audio?

I use the ui slider to control how loud is the game, what I want to know is how to make one ui slider control all of the game audio?
0
votes
1answer
134 views

Unity 5 - Error with code to make pitch changes based on distance

I really need help. It's 2:00 AM here and my brain is half dead so I can't, for the life of me, find out what's wrong with this code anymore. It's supposed to find the distance between the game ...
0
votes
1answer
84 views

XNA SoundEffect won't stop playing

For my HND I've got to re-create Frogger, and everything was going swell until I tried adding some collision detection and sound. Whenever my player intersects a vehicle, the sound file just starts ...
0
votes
1answer
157 views

Dynamic Music Composition in FMOD

I would like to dynamically "build" a song in my game by adding/removing instrument layers. This is normally possible exporting each instrument layer as a separate track, but this method is not so ...
0
votes
1answer
1k views

Unity 5.1 audio issues (no sound in back channels)

I've trying to bring in surround sound audio into my project. I've set my computer up to run in 5.1 and when I play a 6 channel audio through windows media player (it's a test audio that does left ...
0
votes
1answer
1k views

Where can I find audio instrument samples? [duplicate]

Possible Duplicate: Where can I find free sounds for my game? I need some sample audio (for my case, i need do, re, mi, fa, sol, la, si, do, preferably piano). Where is the best source for ...
0
votes
0answers
8 views

Unity accesing external audio

I'm developing an application on unity which gets the audio being played on external programs such as itunes or even dj software. It uses the audio or songs in this case and runs it through unity's ...
0
votes
0answers
21 views

Sounds in Unity game play to opposite speaker

I'm using Unity Game Engine. I have an AudioListener attached to my camera gameobject. Even though my earphones are in correctly, sounds that should be playing to my left ear play to my right, and ...
0
votes
0answers
17 views

How to decide the divisor for an HRTF algorithm FIR Filter output?

I am currently working on a program which plays 3-D sound in a virtual world using HRTF algorithm. For the sake of quality and freedom, I don't want to use OpenAL or DirectSound3D. What I have done is ...
0
votes
0answers
70 views

How to get XAudio2 to loop a file?

I am having trouble getting XAudio2 in SharpDX to loop a file I am loading. Class level variables are: Private svc As XAudio2.SourceVoice Private buffer As XAudio2.AudioBuffer Private ss As ...
0
votes
0answers
68 views

How can integrate a decibel meter into my Push To Talk (PTT) game?

I have am building a Push To Talk (PTT) game and I need to integrate a decibel meter into it so that I can measure and save the decibel level and identify the peaks (spikes) and add them together. I ...
0
votes
0answers
38 views

Two sounds played simultaneously cancel out? [duplicate]

When two audio's are played at the same time...the sound is canceling out. How do I fix this weird phenomenon? I have some code where there is audio on button click and audio in ten second intervals ...
0
votes
0answers
43 views

3d/spatial sounds in gorilla audio

I'm using gorilla audio in my game and I would like to add spatial sound sources, so the volume and which side you hear the sound more would be based on the location you are listening from. I didn't ...
0
votes
1answer
94 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: using UnityEngine; using ...
0
votes
1answer
75 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 command line utility (from the DX ...
0
votes
1answer
258 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
97 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
194 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
122 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
300 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 ...
0
votes
1answer
934 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
174 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
1k 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
1answer
64 views

How to add DontDestroyOnLoad(); to script?

I am new to game development. I have a script with audio source and one slider to adjust volume of audio. I want to keep my music playing through all scenes. I think I have to use ...
-5
votes
2answers
222 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 ...