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

Command line generate waveforms (or disable from GUI) #46

Open
chrisbeckstrom opened this issue Nov 4, 2019 · 3 comments
Open

Command line generate waveforms (or disable from GUI) #46

chrisbeckstrom opened this issue Nov 4, 2019 · 3 comments

Comments

@chrisbeckstrom
Copy link

If I search for a common string like "kick," the GUI freezes and the stdout output has a lot of lines like

pixbuf_to_blob(): compressed pixbuf 12024 -> 547

I think this is generating a waveform for each file. Unfortunately this makes the program unusable while it's doing this.

I don't always need the waveform - it would be cool to either:

  • Optionally disable the waveform preview from the GUI entirely (maybe just not show that column at all), or
  • Add the ability to mass-generate the waveforms, perhaps via command line

Thanks!

@ayyi
Copy link
Owner

ayyi commented Nov 6, 2019

Hi
I think you are seeing a performance issue with the GtkTreeView widget which is slow to update when there are many rows.

Long term we will move away from this widget, but I guess I could throttle the update rate to make the application more responsive during waveform generation of very short files.

If you want a temporary workaround you could try additional filtering such as by directory or by tag,
or you could reduce the value of LIST_STORE_MAX_ROWS in lib/samplecat/list_store.h .

Thanks for reporting the issue.

@ayyi
Copy link
Owner

ayyi commented Oct 15, 2020

Hi

I just committed a change which I believe will help this situation.

The timings for the background tasks are now less aggressive which actually speeds up directory importation quite a lot.

@chrisbeckstrom
Copy link
Author

awesome, thanks @ayyi ! and sorry I totally missed your comment from almost a year ago. Thanks for your hard work, I'll give it a shot!

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

No branches or pull requests

2 participants