Questions tagged [ezaudio]

An iOS and OSX audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.

For further help, refer to the GitHub page.

46 questions
14
votes
0 answers

Crash when EZRecorder calls ExtAudioFileWrite on iPhone X

I have a sample app that uses AudioKit to record audio and display a waveform of that audio data. This sample app has two viewControllers with the root vc being a blank page with a button that will take the user to the audio recording page. For some…
KyleCas
  • 163
  • 4
12
votes
1 answer

Can someone explain how this code converts volume to decibels using the Accelerate Framework?

I'm building an iOS app using EZAudio. It's delegate returns back a float** buffer, which contains float values indicating the volume detected. This delegate is called constantly and it's work is done a different thread. What I am trying to do is…
Jamie
  • 927
  • 1
  • 7
  • 18
9
votes
2 answers

EZAudio CocoaPods module import error

When adding EZAudio to my swift project using CocoaPods, I get a compiler error that says: Could not build Objective-C module 'EZAudio' My Podfile is this: platform :ios, '9' use_frameworks! pod 'CorePlot' pod 'SWRevealViewController' pod…
rikola
  • 641
  • 7
  • 21
6
votes
2 answers

iOS: Is it possible to record from multiple microphones at the same time

All the recent iPhones have 2+ microphones. Is it possible to record from all the microphones at the same time? If this is possible, what is the best iOS audio library for this (AudioKit, EzAudio, AudioUnits, CoreAudio)? There is no mention of this…
Artash
  • 569
  • 6
  • 11
6
votes
2 answers

How can I trim an audio recorded with EZAudioRecorder?

I want to trim an audio which is recorded with EZAudioRecorder. I am writing this code to trim an audio. This is working fine for audio recorded with AVAudioRecorder but it triggers error block with EZAudioRecorder, with an error couldn't open…
Mayank Jain
  • 5,663
  • 7
  • 32
  • 65
4
votes
1 answer

iOS AudioKit / EZAudio FFT values

I have a Web Audio API based signal process application and I have to port it to iOS with AudioKit(based on EZAudio) framework. I need only the FrequencyDomain that is contains numbers between 0-255 in Web Audio API. But in the AudioKit the…
4
votes
1 answer

External clock source with usb audio device in iOS

My app uses an external USB microphone with a very accurate thermo compensated quartz oscillator (TCXO). The sample rate is 48KHz. I plug it in iOS through the camera kit connector. I'm using EZAudio library and everything works fine except that iOS…
jcr
  • 303
  • 1
  • 6
  • 16
4
votes
1 answer

Audio input source in EZAudio

I am using EZAudio to record an audio and plot its audio graph. How can I record an audio with headphone's mic and with iPhone's microphone simultaneously ? I want to take input from both the input sources. How can I achieve this by using…
Mayank Jain
  • 5,663
  • 7
  • 32
  • 65
3
votes
0 answers

AudioKit update plot using AKAudioFile buffer and show full waveform

I have a plot self.plot = EZAudioPlot() self.plot?.frame = CGRect(x:0, y:0, width:Int(self.plotWidth!), height:Int(self.plotOutlet!.bounds.height)) self.plot?.plotType = EZPlotType.buffer self.plot?.shouldFill = true self.plot?.shouldMirror =…
HTron
  • 337
  • 3
  • 14
3
votes
1 answer

Save Audio File after apply Filter(AVAudioUnitEQ) and finally save it as mp3?

I am so Frustrating to save the Audio File After Apply the Filter. The filter only applicable for the AVAudioPlayerNode which mean during Playing in the player the filter is perfect to apply but how can i save this ? I am so struggle last 3 days,…
S. Karthik
  • 618
  • 5
  • 16
3
votes
0 answers

EZAudio doesn't work with Bluetooth devices

I am using EZAudio to playback streaming audio data. Here is the graph: AUConverter -> MultiChannelMixer -> Output. The converter is configured such that it converts audio data with a sampling rate of 48000 to device sampling rate (normally 44100).…
sahara108
  • 2,829
  • 1
  • 22
  • 41
3
votes
1 answer

AudioBufferList to float ** conversion EZAudio EZMicrophone for Visual Plotting

I'm using EZAudio in my project to read audio data from the microphone. EZAudio has 2 microphone methods: - (void)microphone:(EZMicrophone *)microphone hasBufferList:(AudioBufferList *)bufferList withBufferSize:(UInt32)bufferSize…
dddx
  • 41
  • 4
2
votes
1 answer

Play audio file using EZAudio Framework in Swift

Hi I am trying to convert following Objective-C code to Swift: EZAudioFile *audioFile = [EZAudioFile audioFileWithURL:NSURL]; //required type NSURL [self.player playAudioFile:audioFile]; But I am unable to make it work. let audioFile =…
Bista
  • 7,869
  • 3
  • 27
  • 55
2
votes
2 answers

EZAudio - How to change waveform size same according to size of the view using EZAudioPlotGL

I am using the EZAudio library for iOS to handle the playback of an audio file and generate its waveform. I'd like to create the view with the entire waveform using the EZAudioPlotGL view which is a subclass of UIView. Can anyone help me to increase…
2
votes
1 answer

How to get FFT Data in Swift using EZAudio?

I am working on a fft analysis in swift with ezaudio. My problem is how can i get the all fft data from ezaudio. I would make a algorithm to look is a frequency present when yes how much strong. Example: I looking in the FFT Data is the Frequency…
norbu
  • 301
  • 1
  • 3
  • 7
1
2 3 4