Questions tagged [soundeffect]

86 questions
0
votes
1 answer

Android audioFlinger

I modify the /audioflinger/thread.cpp and I want to change the mMixbuffer value and then write it to the HAL, but when I play it, it sounds the noise in it, but i can not find what's wrong. So, does any one know what's going on? Thanks. Here is the…
0
votes
0 answers

How to disable my sound effect for all my button?

I have different buttons and each of them have their own sound effects. for enable my sound effect I used this class: enter code here public class Effects { private static final String TAG = Effects.class.toString(); private static final Effects…
senator
  • 1
  • 2
0
votes
1 answer

how to disable my sound effect for my all the buttons?

I have different buttons which each of them have sound effect. for set sound effect I used this class: public class Effects { private static final String TAG = Effects.class.toString(); private static final Effects INSTANCE = new…
eli
  • 23
  • 6
0
votes
0 answers

Speaker not turned off after sound effect has been played on windows phone

we play a sound effect in our windows phone notification. the sound plays normally but after that, the speaker seems to be still turned on and we can hear a noice. Here the code: var soundEffect =…
esskar
  • 10,000
  • 3
  • 31
  • 55
0
votes
2 answers

iOS, swift: play background music and sound effects without delay

I am trying to create a game in iOS without using SpriteKit. I am stuck in getting the sound effects to play in a timely manner. I've been using the following code which I have found online and the background music plays great. However, when I use…
μ4ρκ05
  • 575
  • 2
  • 5
  • 16
0
votes
1 answer

Applying sound effects based on pitch, speed and rate

I would like to apply some voice change filter based on those standard variables. Does anybody tried it before and knows how to adjust them to get the standard voices like helium, robotic or zombie? Maybe some tool or any advice how to test it, or…
Jacob
  • 13,773
  • 18
  • 48
  • 69
0
votes
0 answers

How Can I Play Asynchronously Sound Effects In WP8?

I have an instrument application that running with XNA Sound Effect. My problem is that; When I play a sound effect while another one is playing, the last one is killing the first one. It is not what I want, I want to play sounds asynchronously even…
Tugrul Emre Atalay
  • 868
  • 1
  • 9
  • 26
0
votes
1 answer

soundeffect, XNA 4.0

This is the first time I program a game, I want to creat a sound effect on each time I shot a missile, not playing the sound when the missile is on the screen, just right after the character shooted it. Here is the code. Please help me, I tried to…
ZGMF-X10A
  • 3
  • 5
0
votes
1 answer

XNA change screen when button sound effect ends

I working on platformer game. I got menu screen and few buttons there. I have problem with "StarGame" button, because after click I want to play sound effect first and than move to gamescreen. My buttonclick event looks like…
dk28
  • 5
  • 3
0
votes
3 answers

Application suddenly Force stop when clicking button with Sound

I create a project, and this is MainActivity class package com.example.myproject; import android.media.MediaPlayer; import android.os.Bundle; import android.app.Activity; import android.app.AlertDialog; import…
Bobby Hartanto
  • 71
  • 2
  • 13
0
votes
2 answers

Difference between Play and Resume in XNA SoundEffects class

What is the difference between the Play and Resume methods in the XNA SoundEffects class? Both seem to start playing the sound at the current sound position. Can't I basically always use Play()? I am using XNA 4 (with the latest updates).
ares_games
  • 945
  • 2
  • 14
  • 31
0
votes
3 answers

wp8 Soundeffect can't stop

I use soundeffect to play sound from byte array and all things go alright, but i cant stop playing the sound because no method called stop() in Soundeffect, how i can stop it ? The code: private void playFile(byte[] file) { try …
0
votes
2 answers

C# XNA SoundEffect.FromStream

I want to load on XNA SoundEffect. I have tried to use: SoundEffect.FromStream(TitleContainer.OpenStream(XXX)); The XXX is the addres but it require the address from the content and I want to search from the whole computer. Address…
user2320928
  • 239
  • 1
  • 6
  • 15
0
votes
1 answer

What is the equivalent of the SoundEffectInstance WP in WinRT,Win8?

I was using SoundEffectInstance. It was provide me playing more than 1 sound at same moment. How can I do it in Windows 8 Metro Style, WinRT applications? Thank you for your help.
0
votes
1 answer

How to play amr file in Windows Phone 8?

From what I read, WP8 does support amr However, I don't know how to play it. When using SoundEffect, I can't hear anything, maybe it's because SoundEffect supports wav only. Someone already asked here. I don't want to use BackgroundAudioPlayer or…
onmyway133
  • 38,911
  • 23
  • 231
  • 237