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
2
votes
0 answers

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 audio plays time is along the x axis and the FFT is…
2
votes
0 answers

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 appending the new recording at the end but it is also…
2
votes
0 answers

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.mBitsPerChannel = 16; asbd.mBytesPerFrame =…
gohamgx
  • 273
  • 2
  • 16
2
votes
1 answer

EZaudio execute in Background

I tried. __block UIBackgroundTaskIdentifier task=0; task=[application beginBackgroundTaskWithExpirationHandler:^{ NSLog(@"Expiration handler called %f",[application backgroundTimeRemaining]); [application endBackgroundTask:task]; …
sohil
  • 818
  • 2
  • 15
  • 38
1
vote
1 answer

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 plotted onto a waveform plot using…
Mick McCarthy
  • 428
  • 2
  • 16
1
vote
0 answers

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 properly. getting audio float buffer from below…
yogesh
  • 138
  • 1
  • 8
1
vote
1 answer

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 relatively close in value. For example: A sine tone…
user9103183
1
vote
2 answers

How to convert that UnsafeMutablePointer> 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>, withBufferSize bufferSize: UInt32,…
Josh
  • 6,251
  • 2
  • 46
  • 73
1
vote
1 answer

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 soundwave is drawn. Here is some of the code var…
codingdaddy
  • 407
  • 5
  • 17
1
vote
0 answers

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
  • 51
  • 5
1
vote
2 answers

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 use EZRecorder from their example file, i get this…
dddx
  • 41
  • 4
1
vote
1 answer

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 ?
1
vote
1 answer

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 { // Initialize the EZOutput instance and assign it a…
benstpierre
  • 32,833
  • 51
  • 177
  • 288
0
votes
1 answer

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 using Multipeer Connectivity. So far I have two…
NSCoder
  • 1,594
  • 5
  • 25
  • 47
0
votes
1 answer

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.microphone startFetchingAudio]; self.recorder1 =…
user8470856