The audio component of a game, representing what the player will hear. Comprised of dialogue, music, and sound effects.
0
votes
1answer
7 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
1answer
46 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
23 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
84 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
0answers
8 views
Manual Audio Listener Read
Is there anyway to manually read an audio sample with the Audio Listener asynchronously to the normal unity workflow like you can do in Camera.Render()?
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
27 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 ...
0
votes
0answers
31 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
23 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
45 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
25 views
Visual Basic: Attempting 2 sounds at one time
I want to play a looping background sound, and then play another sound on top of it.
So far I'm using My.Computer.Audio.Play(My.Resources.Filename, other information), but when I play another sound, ...
0
votes
0answers
38 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
25 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
68 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 ...
0
votes
0answers
106 views
Load external OGG file into Unity WebGL build at runtime
I am trying to load some sounds in OGG format into my game at runtime in a WebGL build. I use a WWW class to fetch the file which has an ".ogg" extension and then I call www.audioClip to get the ...
0
votes
0answers
32 views
How to play a sequence of tracks in SpriteKit?
Say I have two arrays that contain names of sound files to play. I want to start playing from the first array sequentially, and then as the last track is playing, allow user input that should play ...
1
vote
1answer
41 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
195 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
95 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 ...
1
vote
0answers
67 views
Unity play sound from Audio Source
I'm using the following code to play a sound in Unity 5:
AudioSource aud = GetComponent("doorSound") as AudioSource;
aud.PlayOneShot(aud.clip, 1.0f);
But no sound is playing at all. What am I doing ...
4
votes
1answer
42 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
126 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
57 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 "...
5
votes
0answers
55 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
120 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
13 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
25 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
81 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
104 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
139 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
167 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
0answers
42 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
1answer
33 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
42 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
378 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
0answers
142 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 ...
2
votes
1answer
123 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
115 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
106 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
79 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
79 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
134 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
56 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
137 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
211 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 ...
2
votes
1answer
88 views
Libgdx : surround sound
in libgdx there is a lot of audio classes but i haven't seem to of found anything relating to balancing sound in one speaker and or the other to get surround sound
say you check if an object is more ...
8
votes
3answers
171 views
Recording narration for a game
I am the narrator for a RPG game I'm creating. I two questions:
1) Quality: I have a mic that seems to pick up a lot of background static along with my voice, so the overall quality sounds terrible. ...