Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Any Way to get X and Y position of a module?

For general discussion related FlowStone

Any Way to get X and Y position of a module?

Postby chackl » Thu Mar 27, 2014 11:02 am

Hello!

Is there any way to get the X and Y position of a module with a GUI inside?

Regards
C.Hackl
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Any Way to get X and Y position of a module?

Postby tester » Thu Mar 27, 2014 11:37 am

Use mgui in connectors with float driven localization.

I think everything else can be done indirectly via area2float and float2area prims (area prim defines what is visible).
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Any Way to get X and Y position of a module?

Postby oddson » Thu Mar 27, 2014 6:03 pm

Three threads I know of on the old site and none with a solution.
http://synthmaker.co.uk/forum/viewtopic.php?f=12&t=4241
http://synthmaker.co.uk/forum/viewtopic.php?f=5&t=8659
http://synthmaker.co.uk/forum/viewtopic.php?f=12&t=9650

Maybe there's something new that makes it possible.
oddson
 
Posts: 36
Joined: Sun Jul 25, 2010 12:13 am

Re: Any Way to get X and Y position of a module?

Postby chackl » Thu Mar 27, 2014 9:35 pm

I fear not :/

I searched the Ruby View Class - and also no Chance to get it with primitive modules :/

btw: oddson - i remember this Name ;) - Great to have one of the greatest masterminds from SM here ;)

Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Any Way to get X and Y position of a module?

Postby chackl » Fri Mar 28, 2014 10:48 am

I did a Workaround. It is possible to get them but it is not the finest solution.

viewtopic.php?f=3&t=2415

Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Any Way to get X and Y position of a module?

Postby pall » Fri Mar 28, 2014 7:17 pm

Hi guys!
How are you?
Another attempt of its kind, was here at SM forum. I do not have FS...
http://www.synthmaker.co.uk/forum/viewt ... =3&t=18501
Cheers!
pall
 
Posts: 31
Joined: Thu Dec 09, 2010 1:27 pm
Location: Transilvania

Re: Any Way to get X and Y position of a module?

Postby chackl » Fri Mar 28, 2014 10:29 pm

Same solution :D - Well done :D

You did some nice additions to move the modules. I also thought about that but doing it with ruby in FS.

Good work ;)

Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg

Re: Any Way to get X and Y position of a module?

Postby pall » Sun Mar 30, 2014 8:34 am

Hi Chackl!
Thanks for the compliment. :D I realize that in ruby efficiency is much improved. But I do not have time and can no mood to learn ruby. In fact do not know if its inclusion in Software was the best solution.
Like honestly say I still do not know what language was created SM and FS. I figure if it was used C or C + +, potential development of SM and FS would have been high. Here I think of the facilities offered to use graphics acceleration, where a good part of the computing tasks to be undertaken by the graphics card.
But the greatest achievement is that, this software could become a powerful vizual programming language. I do not know how they think the developers of this software? We do not even know what direction they want to go. Then what to buy me this software? Just to play with him? :? For now I say - no - thanks!
Cheers!
pall
 
Posts: 31
Joined: Thu Dec 09, 2010 1:27 pm
Location: Transilvania

Re: Any Way to get X and Y position of a module?

Postby RJHollins » Sun Mar 30, 2014 9:34 am

Hi pall,

Always good to read posts from you !

I know you have much more experience than I with SM/FS [or probably programming in general].

When I transported to the FS release, I was curious about this RUBY stuff, but honestly, I couldn't get the first line of code to work. It easily became something that I just ignored. [I do this for personal reason mostly to make tools for my work].

Slowly ... with MUCH help ... over and over ... the FS GANG always came to my rescue. Very slowly I started to get some clue .... and then I'd be right back in trouble again :lol:

I was hitting all the RUBY sites I could find [most suggested here]. And some of the basics started working.

I still consider my 'Ruby level' as basic .... maybe a little less :roll: But the thing is ...

There was some operation I needed to do. It was nothing real complicated, but I found that stringing the PRIMS together was getting quite complicated. I had a 'logic' in my head, but trying to realize it as PRIMS was getting messy in a hurry.

I drew on some of the GFABasic I was teaching myself [Atari Computer in the 80's], and applied the thinking into RUBY. Real long story short [sure] ... I eventual refined the working RUBY code into a handful of lines. Comparing to my attempted PRIM design ... it was no contest.

From that point on ... I looked at a RUBY solution in a different light.

It is so much more powerful than I grasp ... but it really has opened another side to this type of programming.

Again ... at my very basic understand with it ... I am glad that I try to call on it. It is also great that the 'experienced ones' have also shared some very useful RUBY routines.

Not trying to talk 'you' into anything ... just a share of recent experience.

I really hope that FS expands, and that it develops to handle the requests that have been voiced.

Honestly ... it's only because of the SM, now FS concept, that I'm even involved. If Mr Kurtweil is correct in Our potential longevity ... well ... I'd still say that I would NOT be trying to tackle C or C++ or whatever names they call it.
Yes ... it would be fantastic to be able to ... but this last brain cell can only take so many beatings. :|

OK ... honestly ... hope you DO consider the FS .... 'cause then you might be here posting cool stuff [like at SM] ... and helping out us pitiful ones :roll:

Well .... that, and I wanted to say HI ... and again thank-you for things you've posted ! :D

8-)
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm


Return to General

Who is online

Users browsing this forum: Google [Bot] and 33 guests