Questions tagged [avaudioplayernode]

110 questions
0
votes
1 answer

How to cancel or remove echo/repeated sound with AVAudioEngine?

I am using the AVAudioEngine for audio streaming. But when I speak any word into the mic, it repeats multiple times, just like echo effect. I want when I speak, it sounds only one time, not multiple times. I want to cancel the echo or extra…
Saurabh Jain
  • 1,688
  • 14
  • 28
0
votes
1 answer

Method PlayAtTime AVAudioPlayerNode IOS Xamarin doesn't work

I want to play sound at specific time, I used Method PlayAtTime on AVAudioPlayerNode this is my code: private AVAudioUnitReverb reverb; private AVAudioEngine engine; private AVAudioFile file; private AVAudioPlayerNode audioPlayerNode; public…
0
votes
1 answer

Swift 3: Quickly playing sounds on AVAudioPlayerNode

I'm making a basic game and I'm trying to make hit sounds for it. I've got them to play at different pitches with help from Rhythmic Fistman, but now I have a new problem - it lags if I try playing them very quickly. This may not seem like a big…
MysteryPancake
  • 1,365
  • 1
  • 18
  • 47
0
votes
2 answers

AVAudioFile can not read file from document directory

NSArray * paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString * documentsDirectory = [paths objectAtIndex:0]; NSString *filePath = [NSString stringWithFormat:@"%@/audio.mp3",documentsDirectory]; NSURL…
0
votes
0 answers

How can i save file using AVAudioPlayerNode?

I make some effects to audio, using avaudioplayernode. And then i want to save the result. I try to do like this: Output = engine.outputNode; AudioStreamBasicDescription asbd; memset(&asbd, 0, sizeof(asbd)); …
Ray
  • 51
  • 5
1 2 3 4 5 6 7
8