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
Super Text Box
32 posts
• Page 3 of 4 • 1, 2, 3, 4
Re: Super Text Box
Next update, Beta 04, available in the top post.
- Screen redraws limited to 15fps to prevent fast data changes from hogging the CPU due to excessive GUI refreshes.
- 'Visible?' boolean input, so that you can turn off all refreshes when the display is hidden (for example VST plugin editor closed). The GUI is immediately refreshed as soon as visibility is restored.
Note that these new features are entirely graphics related - the internal processing of data and selections still happens at full speed so that, for example, VST preset changes etc. are not adversely affected.
- Screen redraws limited to 15fps to prevent fast data changes from hogging the CPU due to excessive GUI refreshes.
- 'Visible?' boolean input, so that you can turn off all refreshes when the display is hidden (for example VST plugin editor closed). The GUI is immediately refreshed as soon as visibility is restored.
Note that these new features are entirely graphics related - the internal processing of data and selections still happens at full speed so that, for example, VST preset changes etc. are not adversely affected.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Super Text Box
Well i allways get an erro if i try to sort the 2nd and 3rd column.
And if soting is sucsessfull i hav no capital letters anymore.
Any Workaround here?
I can post a shematic tomorow
Regards
And if soting is sucsessfull i hav no capital letters anymore.
Any Workaround here?
I can post a shematic tomorow
Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Super Text Box
chackl wrote:Well i allways get an erro if i try to sort the 2nd and 3rd column.
And if soting is sucsessfull i hav no capital letters anymore.
Any Workaround here?
Oops! Thanks for reminding me. The all lower case text is indeed just a humungous bug!
Got that fixed a while ago, but got stuck into other things and forgot to post the fix. TBH, I'm still not quite happy with the sorter myself (see below), but here's the latest version, with the text case fix and various other improvements, and a couple of new simpler modules for use as selectors.
The sorting error could be either...
1) Part of the same bug with the text parsing as above - in which case fixed ...OR...
2) But, I'm guessing that the Ruby code may be showing something like this...
Argument Error: comparison of ???? with ????? failed
The sorter code is one of the reasons I was slack posting the update, because I think it needs work. I was attempting to make it 'intelligent' when dealing with strings that include numbers - by extracting the numbers for comparison, instead of comparing the strings complete with text. For nice simple columns of, say, currency prices it works reasonably well - but it can also cause these type mismatch errors when strings and numbers are mixed - or you don't intend the number to be "counted".
I'm also relying on Ruby's built in 'sort' method - which is very fast, but can rarely do comparisons on data of different types. And there are classes of object that are simply not sortable that way.
A few choices needed for the user to maybe, so that each can choose the best method for their data.
While I work some more on that, here's a second version of the file - all the same, except I've removed the "number stripping" from the sorter - I'd be very interested to know if either of the two files works better for you (or I've just added even more bugs!!)
If not, I'd be happy to do some testing if you can post a schematic with a sample of the data that you're using - seeing more examples of how people are using this in practice will help me to know what path to take when improving it, and maybe give me ideas for new/better features.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Super Text Box
Hey trogluddite, I know that I do a little mess writing here, but it's the only way to focus your attention (and I appreciate your knowledge), which is deeply immersed in ruby stuff as I can see
Quick questions.
1. Are you using your account on SM forum? It's the same name as here, but I don't know if PM's go through.
2. Could you take a small look at these topics (non-ruby solutions)? I'm trying to finalixe one of my projects, and these are the last one issues I don't know how to solve (somewhat I feel, that I came back in rather peaceful period of forum activity).
http://synthmaker.co.uk/forum/viewtopic ... 12&t=11942
http://synthmaker.co.uk/forum/viewtopic ... 12&t=11941
Btw, nice textbox.
Quick questions.
1. Are you using your account on SM forum? It's the same name as here, but I don't know if PM's go through.
2. Could you take a small look at these topics (non-ruby solutions)? I'm trying to finalixe one of my projects, and these are the last one issues I don't know how to solve (somewhat I feel, that I came back in rather peaceful period of forum activity).
http://synthmaker.co.uk/forum/viewtopic ... 12&t=11942
http://synthmaker.co.uk/forum/viewtopic ... 12&t=11941
Btw, nice textbox.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
Feel free to donate. Thank you for your contribution.
- tester
- Posts: 1786
- Joined: Wed Jan 18, 2012 10:52 pm
- Location: Poland, internet
Re: Super Text Box
Oooh ....! I like this.
It's really superb, these super-approach with so many comments.
Thanks a lot Trog!
It's really superb, these super-approach with so many comments.
Thanks a lot Trog!
- pall
- Posts: 31
- Joined: Thu Dec 09, 2010 1:27 pm
- Location: Transilvania
Re: Super Text Box
Hej!
Thanks!!!
At me it is working - well, it may not solved verry beautifull but ist is working here at me - great verry great!
Thanks
Regards
Thanks!!!
At me it is working - well, it may not solved verry beautifull but ist is working here at me - great verry great!
Thanks
Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Super Text Box
Hello!
Back once again
Well it seems if one line of a column is empty, than sorting gets an error?
Is there any way to fix that?
Regards
Back once again
Well it seems if one line of a column is empty, than sorting gets an error?
Is there any way to fix that?
Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
-
chackl - Posts: 233
- Joined: Tue Aug 17, 2010 8:46 pm
- Location: Austria / Salzburg
Re: Super Text Box
Oooh - well spotted, thanks for reporting!
Yes indeed, I can see why that might be a problem.
I've not looked at the code yet, but I'm almost certain that an empty entry would return the Ruby 'nil' value - which results in an error for the vast majority of methods.
That should be a pretty easy case to trap - null entries could be forced to the top or bottom of the list with a fairly small modification, I think.
I'll try and get a fix posted this weekend.
Yes indeed, I can see why that might be a problem.
I've not looked at the code yet, but I'm almost certain that an empty entry would return the Ruby 'nil' value - which results in an error for the vast majority of methods.
That should be a pretty easy case to trap - null entries could be forced to the top or bottom of the list with a fairly small modification, I think.
I'll try and get a fix posted this weekend.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Super Text Box
Hi Trog...
Tried your boxes and I found that they don't work with presets... That's a pitty! They look good and usefull but... Any possibility to work with presets?
Cheers
Ruben
Tried your boxes and I found that they don't work with presets... That's a pitty! They look good and usefull but... Any possibility to work with presets?
Cheers
Ruben
- ruben
- Posts: 25
- Joined: Wed Dec 17, 2008 7:26 pm
Re: Super Text Box
Hi Ruben,
At the moment presets work in a very limited way - they will store which rows are selected, but only so long as the content of the lists doesn't change (NB - this needs to be enabled in the properties panel).
Unfortunately it's tricky to get around this because the rules for what data a VST presets can store are very limited - max' 256 characters for text, and VST arrays are only available for numbers. Mixing text with number values gets even more awkward
But I would really like to be able to store the whole content, it would make the module much more versatile.
I shall keep experimenting and racking my brains for an answer!
Cheers,
Trog
At the moment presets work in a very limited way - they will store which rows are selected, but only so long as the content of the lists doesn't change (NB - this needs to be enabled in the properties panel).
Unfortunately it's tricky to get around this because the rules for what data a VST presets can store are very limited - max' 256 characters for text, and VST arrays are only available for numbers. Mixing text with number values gets even more awkward
But I would really like to be able to store the whole content, it would make the module much more versatile.
I shall keep experimenting and racking my brains for an answer!
Cheers,
Trog
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
32 posts
• Page 3 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: Google [Bot] and 68 guests