SynthMaker

Can someone post a sticky with intuitive basics to gui phooy

Archive · 2006 6 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

doug4350 ·

Hi all,

While I'm waiting on some stuff, I've been fiddling the past couple of days with gui stuff. I understand pretty well the win gui api (device contexts, graphics, font/metrics, pixels, *blah*). I find parts of the SM gui path to be abstract. Maybe that's b-cause when I get home my mental horsepower is past the finish line and ready for the showers 🙂 .

As an example... I have a vsti with sub-modules containing switches & knobs. I'm lost trying to establish a mental relationship to the heirarchy. After fussing with a sub-module yesterday for 2 hours, I was able to get 2 buttons and 2 knobs to appear on the sub-module panel and the vsti front panel. Thinking I was getting the hang of it, I moved on to another sub-module. It had a button and 2 knobs. I fooled with it for an hour with no success. Then I noticed the difference in the other sub-module. The wireless links inside the button/knob modules of the working sub-module were nameless. Prior, I ended up naming the "new' sub-mod's button/knob wireless'ers trying to hack them into working. Later, removing the names made them work 😮 😕 . Ok, I thought. nameless wireless'ers for the sub-module primitives is the way to go. Moving on to the next sub-module I'm faced with the same thing... invisibility. I started with nameless wireless'ers on the button/knob sub-sub-components.

Ok, the $64000 question is can someone put up a sticky on getting button/knob components in sub-mod's to appear in their parents, the lock/unlock and "G" significance. I get the lock/unlock, but drilling down to a sub-mod to me makes no difference what its parent's "G"-spot is set to.

I'm trying to get a starting point going for future newb's. Personally, I'm only fiddling with the gui because it's there 😕. I can accomplish what I want w/out the gui for now. It's just a pain to start something ... y'all know what I mean.

I don't want to bother the dev's right now with this and other things... It looks like 'j' has turned into the nemesis release and we'll have to ride this storm for a bit and best to let them get us ashore...

Aloha, Doug

Ok, I hope that makes sense...

infuzion ·

I donno, I thought my Terse Tutorial had just enough... though I didn't explain how to move objects around w/in the GUI unlock mode...maybe that should be stickied, & I can add important links at the end?

angstrom ·

OK, here we go. a variation on the theme

if you hit G on a module (lets call it 'test'), a GUI will be automatically created it will recieve any nameless wireless V signals from children. EG: standard dials all have nameless wireless receives, these will show up on any parent with G pressed, in this case our 'test'

that works for a simple object, but if you are working with a more complex heirachy you will want to take a little more control over how things are displayed. I tend to insert a GUI module, if you had previously pressed 'G' and seen some knobs on the 'test' panel (as described above) they will now disapear. connect a nameless wireless transmit to the righthand side of the GUI module and all the knobs will reapear on the 'test' front panel.

Now, if you want to make this 'test' module a sub module of a new parent, still having the dials visible on its own GUI but also visible on the parent GUI. What you need to do is add a nameless V receive on the left hand side of the GUI module you added a moment ago in 'test'.

wireless --< mGUI --<wireless

if you take 'test' and put it in a parent object called 'daddy', to make the GUI visible on the main panel of 'daddy' you could either hit G on 'daddy' to automatically receive any wireless nameless V signals from offspring, or manually add a GUI module and stick a nameless wireless transmit V on the righthand side of 'daddy' GUI .

to tidy this up naming the various wireless transmits and receives can help you manage them a little better. I usually use the wireless names to group elements. Still using nameless wireless objects , but also using wireless names of 'background' , 'help panel' out of any sub sections. this helps me toggle them if required.

doug4350 ·

Thanks for the feedback Infuzion & Angstrom.

Ok, I succeeded, but with a twist, which I think is part of the confusion/frustration others may be encountering.

that works for a simple object, but if you are working with a more complex heirachy you will want to take a little more control over how things are displayed.

I went ahead and added the mgui on my mid-level module with the recv/xmit wireless'ers. To make a long story short, after fussing a bit more, I was able to get outlines of the existing buttons/knobs to show up on the immediate parent. However, the existing cut/pasted from here: http://members.shaw.ca/oddson/label.osm posted by Oddson in this thread Add a label....please don't kill me.... made it upwards all in one piece. Cool, some progress, but...

I did some more fussing with the buttons/knobs, but no luck 🙁 . In a last ditch desparate attempt to stop myself from jumping out the (ground floor) window pulling my hair out 🙂 I added a new button just to see if things added after adding the mgui made a difference. The result : 😮 😮 😮 it appeared in the parent modules. Ok, so, maybe there's a family feud going on with the gui's.

In the future, I'm going to do add gui stuff before doing any tech stuff in an osm with this in mind:

wireless --< mGUI --<wireless

I can live with that.

Aloha, Doug

oddson ·

Hey Doug... I'm seven months in with SM and I still get confused by the GUI model.

The 'old' model didn't have the 'G' panel connector method so you had to do everything explicitly. I was just starting to understand that when the 'simpler' model was introduced.

The Devs are big on leaving you with the maximum control over the program even when there are simpler ways of doing things. I think this is the right approach but it means there is a second learning curve once you get beyond using the wireless-only method.

To be honest, I still rely on trial and error to get the GUI working. 😊

doug4350 ·

To be honest, I still rely on trial and error to get the GUI working.

I'm ok with that, but I'd like trial and error to be way past Start->Programs 😀 (That was a Redmond slam, not SM)

Aloha, Doug

Wrote something here? To have a post removed or your name hidden, write to [email protected].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.