Re: [Rosegarden-user] Yoshimi device file? [WAS]: Re: Bug or feature?
On Thu, 16 Jun 2016 11:37:06 +0200 Lorenzo Suttonwrote: > > > > Cool.. Where does yoshimi pick the bank number (e.g. Arpeggios -> 5, > > Bass -> 10).. It seems *almost* alphabetical with the exception of chip. > > Actually it would be nice to have a script which could generate the rdg > > file on a user's system :) > > Never mind... I figured it out: it's generated depending on the number > of banks.. > > Misc/Bank.cpp:size_t idStep = (size_t)128 / (bankDirsMap.size() + 2); > > I was confused because "chip" came last, but that's because it's > lowercase vs all the other banks. > > This means that probably one could do a script which generates a rgd > file given a yoshimi bank root directory (at least the banks part)... :) > > Lorenzo I'm back :) The bad news is that this time next week I'll be down one wisdom tooth :( NEway Quite correct, but maybe I should make more fuss about yoshimi's "doc" directory. There's a very detailed explanation of the root/bank/instrument structure there in a text file called banks.txt :) In short, Rosegarden is probably best off ignoring root and bank IDs, and using just the installed location, simply taking the bank directory names. The Instrument IDs however are an integral part of the filename so must be included. The clever thing about the way this is structured is that adding new roots or banks will never change the IDs of the existing ones (unless you lose your .config/yoshimi/yoshimi.banks file somehow) and that is aimed purely at those wanting to make bank and program changes via MIDI. Also, the user can reorder roots and banks with new IDs without modifying the directories/files themselves. However, I have no intention of increasing the number of default banks so they shouldn't change anyway. Now I don't know if all that makes things simpler or more complicated. -- W J G -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421=/41014381 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Yoshimi device file? [WAS]: Re: Bug or feature?
> > Cool.. Where does yoshimi pick the bank number (e.g. Arpeggios -> 5, > Bass -> 10).. It seems *almost* alphabetical with the exception of chip. > Actually it would be nice to have a script which could generate the rdg > file on a user's system :) Never mind... I figured it out: it's generated depending on the number of banks.. Misc/Bank.cpp:size_t idStep = (size_t)128 / (bankDirsMap.size() + 2); I was confused because "chip" came last, but that's because it's lowercase vs all the other banks. This means that probably one could do a script which generates a rgd file given a yoshimi bank root directory (at least the banks part)... :) Lorenzo -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421=/41014381 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Yoshimi device file? [WAS]: Re: Bug or feature?
On 16/06/2016 09:33, Abrolag wrote: > On Thu, 16 Jun 2016 09:16:10 +0200 > Lorenzo Suttonwrote: > >> On 16/06/2016 02:13, Ted Felix wrote: >>> On 06/15/2016 06:51 PM, Abrolag wrote: On the next startup, if I start Yoshimi first, Rosegarden connects and resets most of the controls to (now) wrong values. Changing bank root was a particular problem (now pretty much resolved) because it then meant Yoshimi was pointing to completely the wrong patches. >>> >>>Rosegarden provides support for (and works best with) device files. >>> These contain lists of banks and programs and allow Rosegarden to >>> control synths. Without a proper device file for Yoshimi, Rosegarden >>> will make a mess of things, sending whatever bank select and program >>> changes are in whatever device file you are using. This is what is >>> causing trouble. >>> >>>You need a Yoshimi.rgd device file. I've started working on one >>> based on the banks/programs that were installed for me with Yoshimi. So >>> far, I have the Arpeggios, Bass, Brass, and Drums banks entered. With >>> this, RG and Yoshimi get along just fine for me. >>> > > Hmmm, now you mention it I dimly remember something about this from about 10 > years ago! :o > >> I think one could automatize that a with a (python) script. If I recall >> correctly rgd is XML (any 'specification somewhere?), can't remember how >> default yoshimi banks/programs are stored (files IIRC?)... I could have >> a try at it if other considered it useful (I did use lxml quite a lot in >> the past so I'm quite ok with working on XML...) :) >> >> Lorenzo. > > The default installed set are in /usr{/local}/share/yoshimi/banks and are > normal > directories of banks with instrument files in them. All the instrument files > have a 4 digit number prefix. Cool.. Where does yoshimi pick the bank number (e.g. Arpeggios -> 5, Bass -> 10).. It seems *almost* alphabetical with the exception of chip. Actually it would be nice to have a script which could generate the rdg file on a user's system :) > > Now I must go, I'm supposed to be several miles away in an hours time! > -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421=/41014381 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Yoshimi device file? [WAS]: Re: Bug or feature?
On Thu, 16 Jun 2016 09:16:10 +0200 Lorenzo Suttonwrote: > On 16/06/2016 02:13, Ted Felix wrote: > > On 06/15/2016 06:51 PM, Abrolag wrote: > >> On the next startup, if I start Yoshimi first, Rosegarden connects and > >> resets > >> most of the controls to (now) wrong values. Changing bank root was a > >> particular > >> problem (now pretty much resolved) because it then meant Yoshimi was > >> pointing to > >> completely the wrong patches. > > > >Rosegarden provides support for (and works best with) device files. > > These contain lists of banks and programs and allow Rosegarden to > > control synths. Without a proper device file for Yoshimi, Rosegarden > > will make a mess of things, sending whatever bank select and program > > changes are in whatever device file you are using. This is what is > > causing trouble. > > > >You need a Yoshimi.rgd device file. I've started working on one > > based on the banks/programs that were installed for me with Yoshimi. So > > far, I have the Arpeggios, Bass, Brass, and Drums banks entered. With > > this, RG and Yoshimi get along just fine for me. > > Hmmm, now you mention it I dimly remember something about this from about 10 years ago! :o > I think one could automatize that a with a (python) script. If I recall > correctly rgd is XML (any 'specification somewhere?), can't remember how > default yoshimi banks/programs are stored (files IIRC?)... I could have > a try at it if other considered it useful (I did use lxml quite a lot in > the past so I'm quite ok with working on XML...) :) > > Lorenzo. The default installed set are in /usr{/local}/share/yoshimi/banks and are normal directories of banks with instrument files in them. All the instrument files have a 4 digit number prefix. Now I must go, I'm supposed to be several miles away in an hours time! -- W J G -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421=/41014381 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
Re: [Rosegarden-user] Re-send: MIDI loops back to keyboard
* Ted Felix[2016-06-15 20:17]: > > Simply put, when I record using my keyboard, it appears that Rosegarden > > (or something) feeds the recorded MIDI immediately back to the keyboard. > >It is supposed to do that. You need to turn "Local" off on the K-11. Excellent! Why didn't I think of that? Thanks to you, Lorenzo and Chris (replied off-list). -- Vegard Svanberg [*Takapa@IRC (EFnet)] -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421=/41014381 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user
[Rosegarden-user] Yoshimi device file? [WAS]: Re: Bug or feature?
On 16/06/2016 02:13, Ted Felix wrote: > On 06/15/2016 06:51 PM, Abrolag wrote: >> On the next startup, if I start Yoshimi first, Rosegarden connects and resets >> most of the controls to (now) wrong values. Changing bank root was a >> particular >> problem (now pretty much resolved) because it then meant Yoshimi was >> pointing to >> completely the wrong patches. > >Rosegarden provides support for (and works best with) device files. > These contain lists of banks and programs and allow Rosegarden to > control synths. Without a proper device file for Yoshimi, Rosegarden > will make a mess of things, sending whatever bank select and program > changes are in whatever device file you are using. This is what is > causing trouble. > >You need a Yoshimi.rgd device file. I've started working on one > based on the banks/programs that were installed for me with Yoshimi. So > far, I have the Arpeggios, Bass, Brass, and Drums banks entered. With > this, RG and Yoshimi get along just fine for me. > I think one could automatize that a with a (python) script. If I recall correctly rgd is XML (any 'specification somewhere?), can't remember how default yoshimi banks/programs are stored (files IIRC?)... I could have a try at it if other considered it useful (I did use lxml quite a lot in the past so I'm quite ok with working on XML...) :) Lorenzo. >I'll send it to you for testing once I've got it completed. There > are a lot of programs. This will take some time. I have to enter them > all manually. It's not fun. > > Ted. > > -- > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity planning > reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421=/41014381 > ___ > Rosegarden-user mailing list > Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe > https://lists.sourceforge.net/lists/listinfo/rosegarden-user > -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421=/41014381 ___ Rosegarden-user mailing list Rosegarden-user@lists.sourceforge.net - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-user