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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
185 views

Stream Microphone Audio from one device to another using Multipeer connectivy and EZAudio

[TLDR: Receiving an ASSERTION FAILURE on CABufferList.h (find error at the bottom) when trying to save streamed audio data] I am having trouble saving microphone audio that is streamed between devices ...
NSCoder's user avatar
  • 1,604
6 votes
2 answers
986 views

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, ...
Artash's user avatar
  • 569
1 vote
1 answer
348 views

How to implement a listener or while(true) to stop a waveform plot from scrolling once recorder has finished recording in Swift using AudioKit

I have a system which uses various classes from AudioKit to record the microphone input and save it to file, with a maximum duration of 30s, and simultaneously during recording the output waveform is ...
Mick McCarthy's user avatar
3 votes
0 answers
316 views

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?....
HTron's user avatar
  • 337
14 votes
0 answers
285 views

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 ...
KyleCas's user avatar
  • 163
1 vote
0 answers
338 views

How to convert array of audio float to mp3 buffer using lame lib iOS?

I am using EZAudio Lib for getting audio data while playing . Now i want to broadcast this data as mp3 buffer. I am using lame lib to encode data and broadcast it. But I am not able to convert it ...
yogesh's user avatar
  • 138
1 vote
1 answer
192 views

More precise frequency from FFT with EZAudio?

I've generated a few pure sine tones with Audacity at different frequencies to test with. The issue I'm seeing is that the code is returning the same frequency for two different sine tones that are ...
user avatar
0 votes
1 answer
48 views

Failed to set client format on recorded audio file ('hwiu')

I am recording an audio file but still the initializing the recorder giving me this error. Can you please look into this? self.microphone = [EZMicrophone microphoneWithDelegate:self]; [self....
user avatar
0 votes
1 answer
141 views

Conversion error OBJ-C to Swift 3

I am trying to convert a EZAudio (https://github.com/syedhali/EZAudio) Objective-C Library to Swift 3. I am doing the "EZAudioPlayFileExample" part in it. Objective-C - (void)...
user avatar
0 votes
1 answer
228 views

EZAudio doesnt work: Thread1 EXC_BAD_ACCESS while creating EZRecorder instance

My complete implementation of EZAudio: class ViewController: UIViewController, EZMicrophoneDelegate, EZRecorderDelegate { @IBOutlet var recordingAudioPlot: EZAudioPlot! private var ...
Bartłomiej Semańczyk's user avatar
0 votes
1 answer
103 views

EZAudio stopfetching audio

When I call the function .stopfetchingaudio() from EZAudio, my app crashes. var microphone: EZMicrophone! func didMove(to view: SKView){ /* * setup all dependencys for the fft analysis ...
Aron's user avatar
  • 1,179
4 votes
1 answer
1k views

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 ...
Gergely Vízvári's user avatar
4 votes
1 answer
308 views

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 ...
jcr's user avatar
  • 303
1 vote
2 answers
942 views

How to convert that UnsafeMutablePointer<UnsafeMutablePointer<Float>> variable into AudioBufferList?

I have this EZAudio method in my Swift project, to capture audio from the microphone: func microphone(microphone: EZMicrophone!, hasAudioReceived bufferList: UnsafeMutablePointer<...
Josh's user avatar
  • 6,251
0 votes
0 answers
120 views

How to copy waveform of audio file in ios?

I m going to develop audio track editing app in ios. I've created waveform of audio file already. And going to implement "copy" feature of selected waveform. For this, I've get part data of NSData (...
gstream's user avatar
  • 505
0 votes
1 answer
139 views

CoreAudio: the proper method of reading an AudioFileMarkerList?

Quick overview: I'm developing a Mac Swift desktop audio application. I've run into a situation that seems to require me to hit the AudioToolbox C api's in order to get an AudioFileMarkerList. There ...
Ryan Francesconi's user avatar
0 votes
1 answer
1k views

how to fill AudioBuffer with Float in Swift

I making an app that uses EZAudio library, and it have to get data from the microphone and store it in variable (i already have done this) : func microphone(microphone: EZMicrophone!, ...
XDk's user avatar
  • 170
2 votes
1 answer
1k views

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 ...
Bista's user avatar
  • 7,869
2 votes
2 answers
467 views

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 ...
Kanani Bhavdip's user avatar
3 votes
1 answer
1k views

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

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 ...
S. Karthik's user avatar
0 votes
1 answer
130 views

Obj-C EZAudioPlot with pan 1.0

I have a problem with updateBuffer method when I'm setting pan to right earphone (1.0f). Sound is playing correctly but plot is not updating: **buffer = (float) 0 for every element. Code is simple: ...
Lau's user avatar
  • 1,804
1 vote
1 answer
1k views

Programmatically created EZAudioPlot does not draw

I am playing audio file using EZAudioPlayer. I want the soundwave to be drawn on EZAudioPlot. I succeeded in doing this. However, when I create EZAudioPlot programmatically, the view shows but no ...
codingdaddy's user avatar
0 votes
0 answers
80 views

Save EZAudioPlayer

So I use EZAudio and OSX. I give to file some effects. And I don't to know how can i save it. How can i save EZAudioPlayer? Any ideas?
Ray's user avatar
  • 51
9 votes
2 answers
2k views

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 '...
rikola's user avatar
  • 641
0 votes
1 answer
182 views

seperate the fft calculation from view controller

i have setup an EZAudio in swift to calculate the fft of the realtime mic input, and then i run a special algorithm over the fft data. My problem is i can access the fft data when i put this in the ...
Aron's user avatar
  • 1,179
1 vote
0 answers
66 views

How can i release delay in EZAudio?

I need to make some effects with audio file, using EZAudio. But this method not work. What do i need to add in this code? How can i use delay to my audio?
Ray's user avatar
  • 51
2 votes
1 answer
2k views

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. ...
norbu's user avatar
  • 301
3 votes
0 answers
188 views

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 ...
sahara108's user avatar
  • 2,829
2 votes
0 answers
373 views

EZAudio FFT data - what is the range of output floats?

I'm using the EZAudio project which is located at: https://github.com/syedhali/EZAudio I am trying to create an app that outputs a pattern based on the FFT of the audio source. Basically as the ...
mikeydelamonde's user avatar
4 votes
1 answer
283 views

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 ...
Mayank Jain's user avatar
  • 5,663
2 votes
0 answers
213 views

How to scroll audio graph in EZAudio in iOS?

I am using EZAudio library to record/play audio and plotting a graph with it's Rolling plot type. I want to make it scrollable so that I can go to specific portion of recording. Right now it is ...
Amit Sanvedi's user avatar
6 votes
2 answers
274 views

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 ...
Mayank Jain's user avatar
  • 5,663
2 votes
0 answers
173 views

EZMicrophone with custom AudioStreamBasicDescription

I want to record audio from the mic, and I need the audio to be in a specific format. Here's the code I'm trying to run: AudioStreamBasicDescription asbd; memset(&asbd, 0, sizeof(asbd)); asbd....
gohamgx's user avatar
  • 273
3 votes
1 answer
639 views

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 ...
dddx's user avatar
  • 41
1 vote
2 answers
686 views

Error: Failed to set client format on recorded audio file (-66563) - EZRecorder / EZAudio

I'm working on an app that uses EZAudio to get audio data from microphone to send it over wifi, then records the received audio data on the 2nd device. Everything works great however when i tried to ...
dddx's user avatar
  • 41
2 votes
1 answer
384 views

EZaudio execute in Background

I tried. __block UIBackgroundTaskIdentifier task=0; task=[application beginBackgroundTaskWithExpirationHandler:^{ NSLog(@"Expiration handler called %f",[application backgroundTimeRemaining]); ...
sohil's user avatar
  • 828
-1 votes
1 answer
188 views

How can I get Image (.png) waveform from audiofile use EZAudio

I can show a waveform in AudioPlot Frame, but I could not get it in the form of pictures. EZAudio has such a method? And how can I use it?
Azot's user avatar
  • 141
0 votes
1 answer
322 views

EZAudio output source is not consistant ? and EZAudio Plot Mirror Not Consistant?

Its taking random output source, some time uses the phone hearing speaker some times loud speaker. I implemented the EZAudioPlotGL,sometimes only the top part of it is showing , even though ...
hardik hadwani's user avatar
0 votes
2 answers
764 views

App that uses microphone input terminates when sent to background

I have written an iOS app that gets the microphone input an analyses it. Based on the analysis, The app needs to send a notification to the user. However, when I send the app to the background, the ...
nevos's user avatar
  • 917
0 votes
1 answer
537 views

How do I increase the size of EZAudio EZMicrophone?

I would like to use the EZAudio framework to do realtime microphone signal FFT processing, along with some other processing in order to determine the peak frequency. The problem is, the EZmicrophone ...
geir58's user avatar
  • 21
0 votes
0 answers
386 views

Latency in plotting microphone input

I am using AVFoundation in order to get the microphone input and EZAudio to plot the microphone input. I have stripped down the code to very basic and I still get latency, which is weird. This is the ...
nevos's user avatar
  • 917
1 vote
1 answer
83 views

EZAudio Plot Mirror Not Consistant

I implemented the EZAudioPlotGL in about 4 different view controllers. At times only the top part of it is showing , even though shouldMirror is set to YES at all times. Any Suggestions ?
James Zammit's user avatar
0 votes
1 answer
717 views

EZAudio : how to store an AudioBufferList struct to an NSMutableArray for later use?

I'm creating an iPhone app in objective-C using the EZAudio library. I use the EZMicrophone class & EZRecorder class to save audio to disk. Yet I want the recording and the saving to be delayed ...
acanterot's user avatar
12 votes
1 answer
3k views

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 ...
Jamie's user avatar
  • 927
1 vote
1 answer
1k views

EZAudio framework -"Error: Couldn't initialize output unit ('fmt?')"

I am using EZAudio framework (https://github.com/syedhali/EZAudio) and when trying to initialize my output with a custom AudioStreamBasicDescription like so... - (void)openMediaPlayer { // ...
benstpierre's user avatar
  • 32.9k
0 votes
1 answer
559 views

How can I write samples to an AudioBuffer in Core Audio?

I have code that needs to write 16 bit PCM samples from memory into an AudioBuffer. // Completely override the output callback function - (void) output:(EZOutput *)output ...
benstpierre's user avatar
  • 32.9k