Questions tagged [soundeffect]

90 questions
0
votes
1 answer

What is the best approach for rapid sound playback on iOS?

I have a UI that allows someone to move a dial and the dial 'snaps' to each 'mark' on the dial. I want to add sound to this and I've made a very short 'click' sound that is a fraction of a second. I don't want to restrict how fast the user can…
0
votes
2 answers

XNA: NullReferenceException when playing SoundEffect from another class

I'm both a C# and XNA noob, and I'm a bit stuck. In my Game1 class, I have added a SoundEffect object. From within this class, I can then play the sound by using [objectname].Play();. E.g. public SoundEffect newSound; newSound.Play(); However, I…
Matt G
  • 444
  • 5
  • 23
0
votes
1 answer

WAV file with QML SoundEffect audio playback is distorted

My first go at using SoundEffect with QML, and I'm getting mixed results with no clear understanding of why. I can successfully use QML SoundEffect in user interface within an embedded C++ device. The thing I cannot solve is why some WAV files will…
0
votes
2 answers

How to Disable Sound Effects in Android TV app without Muting all System Sounds

I would like to disable sound effects when browsing over RecycleView items and also clicking sounds in an Android TV app. But, I do not want to disable all other sounds (e.g., There is Exoplayer in the app that its output sounds should not be…
0
votes
0 answers

Delay-based audio effects processor

I'm doing a script to implement flanger sound effect in octave. I'm having the following error at line 33: error: 'ampx' undefined near line 33, column 33 error: called from flanger at line 33 column 6 Can someone help me? I'll post script…
0
votes
1 answer

How to play sound effect or Music in C?

I am making a game and I have to add some sounds effects and Music. I Googled it and I found The flowing Code: #include #include "inc/fmod.h" FSOUND_SAMPLE* handle; int main () { // init FMOD sound system FSOUND_Init (44100, 32,…
DarkSide77
  • 719
  • 1
  • 4
  • 21
0
votes
1 answer

Does SoundEffect.CreateInstance load from file everytime?

This is something which has been bugging me. If I create a SoundEffectInstance via SoundEffect.CreateInstance() I'm meant to dispose of it when I'm finished with it. SoundEffect.CreateInstance() does not use ContentManager as far as i can tell. So…
meds
  • 21,699
  • 37
  • 163
  • 314
0
votes
1 answer

Audio effect ( a 20ms delay between right and the left channel) using Web Audio API or any Javascript Audio Library like howler.js, tone.js?

I was wondering if there any option in howler.js, tone.js or any other javascript audio library which I can use to add a 20ms delay between the right and the left channel which makes the audio listening experience more immersive. Can it be achieved…
0
votes
1 answer

adding sfx on Clip object in java

I'm working on a project where I will have one 24-hours long sound clip which has different phases based on local daytime (morning phase has one sound, transition phases, evening phase, etc.) so here is what i got now, and it's ok method that plays…
0
votes
2 answers

Changing sound effect on a function when variable changes

I'm writing a homework assignment for a JS class, and the teacher wants us to have a weapon sound when firing, but stop making sound when out of ammo. I have the sound effect working for when the gun fires, but it continues making the sound when…
0
votes
1 answer

FFmpeg.swr_convert: audio to raw 16 bit pcm, to be used with xna SoundEffect. Audio cuts out when i convert

I want to resample mkv(vp8/ogg) and also raw 4 bit adpcm to raw 16bit pcm byte[] to be loaded into SoundEffect from xna library. So I can play it out while I'm using other code to display the frames (the video side is working). I can read a 16 bit…
0
votes
0 answers

Applying Effects on audio (e,g robot sound, big robot sound) in android

I am using SoundPool to change the pitch of sound. A value of 1.0 means playback at the original frequency. A value of 2.0 means playback fast as with double speed, and a value of 0.5 means playback at half speed, but I want to to change the pitch…
Adeeb karim
  • 292
  • 3
  • 9
0
votes
1 answer

How to get this visual effect in video from a sound file?

Does anyone know how I can get the same, or similar, visual effect from a sound file, which is produced in this teaser (see 51 seconds out in the video): http://vaxxedthemovie.com/stream/
bongobongo
  • 91
  • 1
  • 2
  • 6
0
votes
0 answers

Sound effects distorting?

I have create a flappy bird like game. Each time the screen is touched during game a flapping sound is played using run(SKAction.playSoundFileNamed("flapSound.caf", waitForCompletion: true)) I have noticed that during gameplay this sound will…
niX
  • 167
  • 8
0
votes
1 answer

Unity 3D sound too low

I'm trying to make my sound effects work as in 3D environment in a 2D platformer game. The problem is that when I set Spatial Blend option to 3D on my sound effects it gets really quiet but if I keep it on 2D it will play at the same volume…
mashinkata
  • 55
  • 1
  • 1
  • 11