Skip to content
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

Improve load times #14

Open
jrsurge opened this issue Aug 31, 2017 · 2 comments
Open

Improve load times #14

jrsurge opened this issue Aug 31, 2017 · 2 comments
Milestone

Comments

@jrsurge
Copy link
Owner

jrsurge commented Aug 31, 2017

Issues with load times are currently caused by the SoundFileView in large pieces.

To help this, current proposal is to produce a much smaller 'peaks' style file that only stores every n-th sample (storing fewer samples will mean less accurate waveforms, but a trade-off worth having in this case).

This will involve creating a class responsible for:

  • Reading a soundfile
  • Writing a binary file containing the reduced number of samples
  • Reading the binary file again, producing an array suitable for passing to SoundFileView
@jrsurge jrsurge added this to the Version 2 milestone Aug 31, 2017
@jrsurge
Copy link
Owner Author

jrsurge commented Sep 16, 2017

Writing an external program to burn through this on an external system call

@jrsurge
Copy link
Owner Author

jrsurge commented Sep 25, 2017

Have written a custom viewer to display peakfile information that gets generated if it's required through an external program - storing in Platform.userAppSupportDir +/+ SuperDiffuse +/+ SDPK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant