New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having a scrollview instead of erasing and redrawing the content #11
Comments
Helloo, glad you're digging /**
The types of plots that can be displayed in the view using the data.
*/
typedef NS_ENUM(NSInteger,EZPlotType){
/**
* Plot that displays only the samples of the current buffer
*/
EZPlotTypeBuffer,
/**
* Plot that displays a rolling history of values using the RMS calculated for each incoming buffer
*/
EZPlotTypeRolling,
/**
* Plot that displays a scrolling, rolling history of values using the RMS calculated for each incoming buffer
*/
EZPlotTypeScrolling,
}; and extending the plots to accompany the custom history buffer handling to support the scrolling (once full, add N data to front and remove N data from beginning of display buffer). I'm currently busy working on an ContributingIf anyone is interested in becoming an |
I'll look into that, thanks! |
I hacked on this a little last night and got the scrolling waveform with an adjustable history buffer. This is more of the behavior I had in mind when I was first designing the EZPlotTypeRolling so I'm going to refactor the EZAudioPlot and EZAudioPlotGL now so you can expect it in the update for 0.0.3. |
I couldn't find the scrolling behavior in EZAudio.. Can you please help me? |
It doesn't scroll, it just removes points from the beginning and adds them to the end so it appears to be scrolling while recordin . But when you're done recording you can't scroll back through it. |
Ok... Thanks.. :) |
Hey!
Great job on the library! Really.
Would there be a way to have a scrollview instead of erasing what's been drawn already? You can try recording using the SoundCloud app to see what I'm talking about.
The text was updated successfully, but these errors were encountered: