Welcome to %s forums

BrainModular Users Forum

Login Register

rename all buss

Tell us what you'd like Usine to do
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 03 May 2010, 22:48

just in case it can be easy done,

i figure i wrongly named my busses from start, i got a scrollYneg wich is in fact positive and a scrollY positive.
(totally my fault and not drastic,), as i could go and rename all busses manually I would be afraid to make mistakes,
thought one handy function could be to choose a buss name in a list, and rename all receive buss same named,
a bit like "search and replace" of notepad, (wich also could be handy on script, by the way)... just in case not vital at all..

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 05 May 2010, 01:23

I am wondering if any of these type of 'search and replace' issues could be managed by editing the .wkp file??

It is in a human readable format, right??
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 05 May 2010, 03:16

funny i was wondering same, well gonna try!

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 05 May 2010, 16:13

hard to implement in the general case.
note pad is a good alternative in this case.

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 05 May 2010, 21:42

so Ive tested the notepad trick on a 834ko complex workspace, worked like a charm, could rename all my busses once, and reopen without pb, good to know, as i guess it will work for other things.:) cool

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 09 May 2010, 06:13

really??? I've been trying to decypher a simple .pat file, and it is not easy for me.

oh wait--I'm trying to change a bunch of data ins and sends to audio ones (from before there was a difference!) Names are easy to edit, but it seems very hard to figure out and edit the TYPE of object--it looks like it is stored as a 16 digit number, but the same objects have different numbers, so there is obviously other info stored that way.

Any tips?

And to make this into a request ;)

It would be nice to (someday) implement an XML or similar dataformat that would make it possible to build/edit wkps from a text or XML editor.

Thanks!!
-eric
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 09 May 2010, 19:37

well in my case it was not complex: i had a bus named lv_scroll_Y wich so is very specific, opened the wksp in notepad, search and replaced by lv_scroll_Y_neg, saved and reopened the wksp, maybe more tricky with common name variables...

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 10 May 2010, 06:33

I figured some stuff out, but it ended up being easier to just rebuild it.... :/
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

martignasse
Site Admin
Posts: 611
Location: Lyon, FRANCE
Contact:

Unread post by martignasse » 10 May 2010, 17:13

Just to mention :
Not all data can be modified with notepad in a workspace or patch.
some are binary or Hexa coded (like presets contents...) and some are just ascii coded (so it's readable and editable).

Just a proposal :
Until the day we can have a format specification of the .wkp and .pat file, it could be good to create a trick and tips page on the wiki for notepad manipulation, with what is working and what is impossible to do.
Martin FLEURENT - Usine Developer - SDK maintainer

woodslanding
Member
Posts: 1327
Contact:

Unread post by woodslanding » 10 May 2010, 18:15

Well, here's one:

the first 4 digits of the 16 digit code for an object refers to its type.

Maybe somebody has a list?

Good for turning data outs to sends, etc.

Haven't figured out what the other 12 digits are for, but I'm guessing some of them refer to position.
Custom Ryzen 5900x MATX build, Win10, Fireface UFX, touchscreen
Custom 2 manual midi keyboard
Usine, Kontakt, Reaktor, Synthmaster, Byome, Arturia, Soundtoys, Unify

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 10 May 2010, 22:28

Hackers paradise? :D

(I have toyed with the idea of a program running through the files to increase/decrease the size of UI objects by X%. Maybe as a way of getting into C++. Haven't done anything concrete with the idea, though...)
Bjørn S

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 10 May 2010, 22:47

a program running through the files to increase/decrease the size of UI objects by X%
whao, that's could be useful ! +1

Post Reply

Who is online

Users browsing this forum: No registered users and 26 guests