syedhali / EZAudio

An iOS and macOS audio visualization framework built upon Core Audio useful for anyone doing real-time, low-latency audio processing and visualizations.
Other
4.93k stars 821 forks source link

EZAudioPlot #388

Open iDevelopper opened 3 years ago

iDevelopper commented 3 years ago

Hello,

I am using your awesome library for EZAudioPlot. AudioKit is very very slow to draw a plot! But I wonder why there is a gap (a blank) at the end of the plot, while there is indeed a sound in this part. If you have an idea, I'm a taker.

The audio plot is configured like that:

    @IBOutlet weak var audioPlot: EZAudioPlot! {
        didSet {
            EZAudioUtilities.setShouldExitOnCheckResultFail(false)
            audioPlot.plotType = EZPlotType.buffer
            audioPlot.isOpaque = false
            audioPlot.backgroundColor = appDelegate.secondaryBackgroundColor()
            audioPlot.color = appDelegate.labelColor()
            audioPlot.shouldFill   = true
            audioPlot.shouldMirror = true
        }
    }

And displayed in a scroll view.

Simulator Screen Shot - iPod touch (7th generation) - 2021-05-19 at 11 44 54

Same behavior with a .caf and a .m4a file.

Thanks!

iDevelopper commented 3 years ago

I know this library is deprecated but I love it. Please do not remove it.

pareshios commented 1 year ago

@iDevelopper What we can use to achieve the same in AudioKit, Could you please share some detail?

iDevelopper commented 1 year ago

I do not use AudioKit, I tried it a while ago with no success about performance. I am using EZAudioPlot.

pareshios commented 1 year ago

Thanks, @iDevelopper, EZAudioPlot is good.