MATRIXSYNTH: How to Edit Mass Parameters in TouchOSC


Wednesday, July 27, 2011

How to Edit Mass Parameters in TouchOSC



If you remember my FS1R TouchOSC editor post from yesterday, I mentioned that it would be a while before I completed it due to the sheer number of pages and parameters that needed to be manually edited. You can copy and paste a page in the TouchOSC Editor, but then you have to click on every single control and edit. I wished there was an easier way to simply copy and replace. Well... It turns out there is!!! Hans of The Missing Link came to the rescue via a tip from control_man here. Apparently TouchOSC files are XML files and can be edited as follows:

1. add a .zip extension to the TouchOSC template filename
2. unzip - this will give you index.xml
3. edit index.xml
4. zip index.xml into an archive
5. change filename + extension of index.zip to templatename.touchosc

Note that Touch OSC requires a unique name for each control (click the above image so see - BTW, that is the very start of my FS1R editor), so I did the following to make it easier:

1. I created blank pages in my template for those I wanted to duplicate in the TouchOSC editor itself
2. I opened the template in XCode
3. I grabbed the chunk between the Page tags for the page I wanted to duplicate
4. I pasted that into TextEdit
5. I did a search and replace all for name=” with name=“0
6. I did a search and replace all for the hex values I wanted to change, in my case 0x60 0x02 to 0x60 0x03
7. I did a control all and pasted it into the first new blank page in XCode
8. I repeated steps 5-7 for each page substituting name=” with name=“1 0x60 0x02 to 0x60 0x04 and so on.


I was able to create five new pages pictured to the left in under ten minutes. This is literally going to save me days worth of work.

Thank you Hans!!!

Note this is also being covered in the hexler forum here.

No comments:

Post a Comment

To reduce spam, comments for posts older than one week are not displayed until approved, usually same day. Do not insult people. For items for sale, do not ask if it is still available. Check the auction link and search for the item. Auctions are from various sellers and expire over time. Posts remain for the pics and historical purposes. This site is meant to be a daily snapshot of some of what was out there in the world of synths.

PREVIOUS PAGE NEXT PAGE HOME


Patch n Tweak
Switched On Make Synthesizer Evolution Vintage Synthesizers Creating Sound Fundlementals of Synthesizer Programming Kraftwerk

© Matrixsynth - All posts are presented here for informative, historical and educative purposes as applicable within fair use.
MATRIXSYNTH is supported by affiliate links that use cookies to track clickthroughs and sales. See the privacy policy for details.
MATRIXSYNTH - EVERYTHING SYNTH