Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Auto-load sample from file dialog (patch attached)

git_head
open
nobody
None
2015-02-01
2013-11-03
Brendan Jones
No

Hi Rui,

Here's a patch which adds a check box to the filedialog and auto-loads the sample on file selection. Hope you can find it useful - I'm working on something at the moment which has me searching through hundreds of samples and this helps me audition them faster. Something similar would be great for auditioning clips in qtractor also.

regards,

Brendan

1 Attachments

Discussion

  • looks interesting :)

    what happens when you cancel the file-dialog? it seems there's no means for backout to previous loaded sample; also, the auto-load (or preview) feature leaves the current preset state as dirty, which might not be the most correct behavior ...

    cheers && thanks

     
  • Brendan Jones
    Brendan Jones
    2013-11-06

    So would it be enough to reload the original on 'Cancel' and reset the loop points/dirty flag? The sample object looks to be an instance so unless that is changed, reloading from file is the easy option.

     
    • Milestone: 0.4.1 --> svn_trunk