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
0
votes
1 answer

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)openFileWithFilePathURL:(NSURL*)filePathURL { self.audioFile =…
user7294802
0
votes
1 answer

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 isRecording = false { didSet { if…
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
0
votes
1 answer

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 */ //setup audio session …
Aron
  • 1,179
  • 15
  • 29
0
votes
0 answers

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 (audio file's) and draw waveform again with copied…
gstream
  • 525
  • 6
  • 18
0
votes
1 answer

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 doesn't seem to be support for this in any of the…
0
votes
1 answer

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!, hasAudioReceived buffer:…
KostiaZzz
  • 170
  • 14
0
votes
1 answer

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: - (void)audioPlayer:(EZAudioPlayer *)audioPlayer …
Lau
  • 1,804
  • 1
  • 23
  • 49
0
votes
0 answers

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
  • 51
  • 5
0
votes
1 answer

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 view controller, with dispatch_async.(See code the…
Aron
  • 1,179
  • 15
  • 29
0
votes
1 answer

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 shouldMirror is set to YES at all times. Any Suggestions ?
hardik hadwani
  • 556
  • 6
  • 24
0
votes
2 answers

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 app gets terminated after a few seconds. I have…
nevos
  • 907
  • 1
  • 10
  • 22
0
votes
1 answer

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 class only appears to work on 512 samples,…
geir58
  • 21
  • 2
0
votes
0 answers

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 code: override func viewDidLoad() { …
nevos
  • 907
  • 1
  • 10
  • 22
0
votes
1 answer

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 so I have to pass an AudioBufferList structure…
acanterot
  • 21
  • 1
  • 5
0
votes
1 answer

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 callbackWithActionFlags:(AudioUnitRenderActionFlags…
benstpierre
  • 32,833
  • 51
  • 177
  • 288