The audio component of a game, representing what the player will hear. Comprised of dialogue, music, and sound effects.
1
vote
1answer
30 views
Wait for AudioClip finish before destroy Object
If I Play the gun sound on my "bullet" object, how can I prevent the end of Audio sound if the bullet hit something so it destroy.
To clarify:
Bullet prefab -> Audio Source -> Audio Clip = ...
3
votes
2answers
85 views
How to get SDL2 to play 32bit WAV files
I have WAV files of this format:
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s24le, 2304.0 kbit/100.00% (ratio: 288000->288000)
ID_AUDIO_BITRATE=2304000
...
1
vote
1answer
84 views
Two headphones for two players
We're looking to create a split screen game using Unity that is highly reliant on audio. We would need each player to have their own headphones and use positional audio to navigate through the map.
...
1
vote
1answer
16 views
How to Capture Vive's USB-Audio Data from Playback Devices
I am developing a music visualizer software for Vive so I am trying to get FFT data from music that users listen to. However, I couldn't take any data from USB audio devices versus my soundcard.
...
0
votes
1answer
29 views
Cocosdenshion and Android not working
I'm trying to play sounds and music with cocos2d. When I run on iPhone and .caf files the audio is perfect, but on Android it is not playing the background music and is only playing 2 sounds of 10 ...
9
votes
1answer
684 views
Determining how loud an AudioClip is
I have some code that uses GetSpectrumData from an AudioSource playing a song to create a level layout for the player to play. I want to add a functionality where the players can upload their own ...
0
votes
2answers
31 views
Unity: How to keep the music muted on reloading the scene?
i am giving the user a UI button to mute and unmute the ingame sounds but the problem is when i mute the sounds and then when the game ends and the game scene reloads the sounds come back up which is ...
0
votes
0answers
23 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 ...
-2
votes
1answer
37 views
Audio Source object reference not set to instance of an object in Unity.
I have the following script:
public class soundcontrol : MonoBehaviour {
AudioSource theaudio ;
public AudioClip clip1;
public AudioClip clip2;
public AudioClip clip3;
AudioClip[] ...
0
votes
1answer
39 views
Unity - AudioClip lags when played
My AudioClip is lagging when I play it in Unity3d. The AudioClip is supposed to play when you left-click inside the game window.
Steps I've tried for fixing it:
Uncompressing the .wav sound file.
...
1
vote
2answers
107 views
In a HTML/JavaScript game, what audio should I use for Internet Explorer?
I'm planning some HTML5/Javascript games. They will be casual games for the most part, but would still benefit from music and sound effects. I would really like to use the <canvas> and <audio&...
1
vote
0answers
44 views
How to play a sound for a Game Jam Menu Template button in Unity
I'm using the "Game Jam Menu Template" plugin from the asset store in a project of mine and I'm having a bit of a problem with it. See, I'd like it so that a particular button in the menu plays a ...
6
votes
1answer
123 views
How can I do something after an audio has finished
How can I enable the SetActive() property of a game object after the audio has finished?
0
votes
1answer
17 views
AudioSource not working. Empty Exception
I'm trying to load and play an wav file that exists in my Application.dataPath but when the game gets to the line _GoAudioSource.PlayOneShot(audioLoader.audioClip); It justs throws a empty exception ...
1
vote
1answer
28 views
What are the best practices when colaborating with an audio engineer?
I am talking with various audio engineers and each has pretty much their own rates and way of colaborating. Since I am pretty foreign to their world and work process, I want to have a healthy ...
-1
votes
0answers
35 views
gamemaker studio - audio looping and growing in volume
OK.. so here is my dilemma:
I am trying to make a sound play while a key is pressed but it sounds like it is looping on itself and growing in volume. It seems pretty straight forward but maybe there ...
1
vote
0answers
25 views
Vehicle audio recording [closed]
So I red an article on "The sound effect" website about recording the audio of a vehicle. I'm planning on making a race game in the future and I'm having a little concern about the sound of the ...
0
votes
2answers
48 views
Unity2D: Pressing my mute button twice in order for it to set music back to 1
So far my mute button works, its just that I have to press my button twice (when game is restarted) in order for it to put my volume back to 1. Does anyone knows the problem. Anyway this is my script: ...
0
votes
0answers
45 views
Variable length audio in Unity
I am developing a music app where I would like to playback notes on a staff. I would rather not keep a bunch of prerecorded .wav assets for notes with different lengths since I would also like ...
0
votes
1answer
32 views
Unity2D: Muting audio Clip problems
I'm trying to create a mute button (that goes both way, e.g mute and un-mute) using button onclick
So far I'm not having the greatest luck. I made this:
mute = !mute;
if (mute){
...
2
votes
1answer
81 views
Configurable Dice Cup Sound Effect for HTML5 Game
I am developing an HTML5/javascript based game, where the players will have to roll virtual dice. I am working on a 3d model of a dice Cup and plan on having the users shake it and turn it upside down ...
1
vote
2answers
59 views
Unity 5 - Audio Source - 3D rolloff without stereo pan effects
Somebody know if it is possible to use 3D rolloff of of an Audio Source without having stereo effects (You get a stereo pan effect depending on the position of your audio listener).
I know that I can ...
0
votes
1answer
307 views
Unity Wwise. No audio in my game build
I'm building a game in Unity using Wwise as the audio engine. I'm on a Mac and whenever I build the game, there is no audio. Apparently this is because the sound banks are not in the correct folder. ...
1
vote
1answer
135 views
How do engine sounds for vehicles work?
How does the engine sound for a car (or whatever has an engine) work?
When you increase the throttle the engine sound changes but it's never quite the same. When programming such a system what is the ...
4
votes
1answer
49 views
Automatic audio segmentation and find the most energetic segments
What algorithm can be used for audio segmentation? I want to divide song to segments and find the most energetic segments (begin and end in seconds). It is needed for the rhythm-game.
Examples:
...
5
votes
1answer
148 views
Playing Audio in Unity 5.x
I've started using Unity recently and have ran into some snags with the built audio features. I am trying to have multiple sounds play from the Player Game Object. I'm not sure what the best way to do ...
0
votes
3answers
59 views
What is the term for collectibles which enhance storytelling (i.e. audio logs, bestiary entries, etc.)?
For example, Borderlands uses ECHO logs, there are audio entries in BioShock, RPGs often have "books" that you can collect pages to read a mini bonus story.
Is there a term more specific than "...
6
votes
0answers
60 views
Why Can't I duck reverb on the mix bus in Unity?
i'm surprised there is so little documentation on this issue. But i'm trying to duck the audio on all the mix buses in Unity so that you can clearly hear the VO of the game.
Now it works great except ...
1
vote
0answers
7 views
Why can't I duck reverb in the mix bus? [duplicate]
i'm surprised there is so little documentation on this issue. But i'm trying to duck the audio on all the mix buses in Unity so that you can clearly hear the VO of the game.
Now it works great except ...
0
votes
1answer
157 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
0answers
20 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
27 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 ...
1
vote
0answers
101 views
Unity 5.3.4: Controlling multiple audio sources at once?
Is there a way to control the max distance of a group of audio sources at once? I want to implement all my sounds, then be able to play with some of the audiosource settings of all of them..
2
votes
1answer
125 views
Unity, how do I pause the Audio in the Level? [closed]
I wanna pause the Audio if I press the Pause Button also, I need help..
Pause Script:
#pragma strict
var pausemenu: GameObject;
public function pause()
{
pausemenu.SetActive(true);
Time....
1
vote
1answer
167 views
Playing multiple sounds in Unity5
I have multiple AudioClips that I have attached to a GameObject and I'm trying to play them when certain conditions are met. Each clip is in an array and I have each array item attached to a variable....
3
votes
1answer
219 views
How do you use SoundManager for multiple player games over the network?
I have created a basic sound manager according to this unity tutorial (https://unity3d.com/learn/tutorials/projects/2d-roguelike/audio). However, I need it to work for multiple players over the ...
18
votes
1answer
3k views
Any downsides to exporting an audio file at double-speed then have the game engine playback at half-speed?
I want to cut back on my game's file size and music and SFX are taking up a good chunk.
If I make a song or sound effect at 120bpm and then apply a tempo and pitch doubling using a DAW or standalone ...
0
votes
1answer
36 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 ...
1
vote
0answers
43 views
Avoiding audio transcoding in Unity?
I'm working on a project where I only have access to MP3s versions of audio tracks I'd like to use. Unity is trying to be helpful and recompressing everything as Vorbis, which is not ideal due to ...
0
votes
2answers
562 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 ...
2
votes
1answer
138 views
How expensive is Wwise's SetRTPCValue method?
In an ideal world I would have an RTPC value that I could set every frame (as it is time-based and needs to count milliseconds). Is this an expensive call or should I not sweat it?
AKRESULT AK::...
0
votes
3answers
132 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
0answers
116 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 ...
3
votes
1answer
91 views
How can I turn off the sound from another scene?
I attached music file to my first scene and thanks to following javascipt code, sound continues without stopping in other scenes.
public static var object : SingletonMusic = null;
function Awake()
{
...
2
votes
1answer
84 views
How can I fix my audio? (prioritize)
When two audio's are played at the same time... the sound is cancelling out. How do I fix this weird phenomenon?
I have some code where there is audio on button click and audio in ten second ...
1
vote
1answer
153 views
Method of handling audio and memory in game
I've started coding a new game project and I've implemented Ogre for the graphics rendering and begun thinking about the audio side of things.
I was considering using the SFML audio component for ...
4
votes
0answers
39 views
Only working on certain devices? [closed]
I am designing my first android game, and this is my first question on gamedev.stackexchange.
My MediaPlayer is null on my genymotion emulator, but is working fine on my actual android device. I ...
3
votes
0answers
58 views
Does dynamic DSP exist in any game engine today? [closed]
I'm interested in changing audio in my games and adding things like distortion (or you name it) to them dynamically.
For instance: Increase the distortion of a song playing from a radio the closer a ...
2
votes
1answer
151 views
How to detect if an object is upright?
I have a cartoon car and it has a skid sound with the car skids. But when the car flips over the skid sound plays endlessly and its really annoying. I have a basic script that is meant to detect when ...
2
votes
2answers
258 views
How to handle sounds muting in settings?
I have a easy and specific question.
Let's say that in my game I use singleton for playing/pausing/changing volume of specific sounds (SimpleAudioEngine in cocos2d-x).
What is the best way to ...