From: Frankie F. <jsy...@te...> - 2011-09-12 14:19:50
|
On 11/09/2011 01:42, Frankie Fisher wrote: > So we've now got a working single patch librarian and editor for the > M350. There isn't any proper documentation in the manual, so I had to > work the SysEx out myself. (For future reference I've documented the > format at > http://francisfisher.me.uk/problem/2011/deciphering-tc-electronic-m350-sysex-format/ > ). > > There's one thing still missing - I need to make a bank librarian. I am > not aware of any specific SysEx messages that would download the entire > bank so I need to request a single patch 99 times. Is there a better way > of doing it than something like this: > > for (i=1; i<99;++i) > { > singleDriver.reqestPatchDump(0,i); > sleep(100); > } > > I am guess this would block the UI thread until it's requested which I > don't really want to do! > > cheers, > frankie > > I tried this method and it did freeze the application until it finished as expected. I think in the long run I will have to make some progress dialogue that can get displayed while fetching banks - unless anyone knows a driver that does this already tbat I can steal the code from? But I don't want to do this yet while Joe is still working on his UI refactoring. So I think for now I will leave the bank driver alone and come back to it in the future. frankie |