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

CPU efficient pianoroll-less RAM?

Post any examples or modules that you want to share here

Re: CPU efficient pianoroll-less RAM?

Postby Nubeat7 » Wed May 06, 2015 12:12 pm

just updated the file in the previous post - there was some small bug with the sequence update after presetchange...
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: CPU efficient pianoroll-less RAM?

Postby Nubeat7 » Thu May 07, 2015 11:02 pm

actually it is also much more efficient to use just one view and mouse area instead of creating one for each note
here is the modified version for it
Attachments
seqDCnubeat7_v0_3.fsm
(9.21 KiB) Downloaded 1057 times
Last edited by Nubeat7 on Fri May 08, 2015 9:02 am, edited 1 time in total.
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: CPU efficient pianoroll-less RAM?

Postby nix » Fri May 08, 2015 4:48 am

There seems to be something wrong with it on my machine.
It loads with a Ruby error,
which, when cleared recurs when you try and draw notes.
The error is:
Ruby error.png
Ruby error.png (51.02 KiB) Viewed 15628 times


But I get the idea, thanks so much for trying to help me nut this out.
So there is no way to store float arrays other than RAM?
Would it be possible to read and write text? Would that end up on disk?
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: CPU efficient pianoroll-less RAM?

Postby Nubeat7 » Fri May 08, 2015 9:02 am

damn it! i'm using 3.06 where it is working fine, which methode fails with arguments? i didn't use any methode with 2 arguments :?

the only thing which is not done very proper is the update of the @notes with the preset input this should only happen on presetchanges and not each time the values are changing.. i changed this and updated the last download, but this shouldn't be the issue or?

i also included some lines for more detailed error message to find out where exactly the error happens..

i think to load and save text files in this size (4096*113*nr of presets and then extracting everything to the right place) could be timeconsuming too
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: CPU efficient pianoroll-less RAM?

Postby MyCo » Fri May 08, 2015 9:33 am

method name "send" is built-in, you shouldn't overwrite it for any other purpose
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: CPU efficient pianoroll-less RAM?

Postby nix » Fri May 08, 2015 9:48 am

Yep- that fixed it
Thanks Maik!
I'll think about making it like this NuBeat-
it means building it again-
what sort of RAM do you think this way would take in a similar length and height piano roll?
Here is the altered file->
seqDCnubeat7_v0_3_0.fsm
(9.24 KiB) Downloaded 1038 times


Cheers compadres
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: CPU efficient pianoroll-less RAM?

Postby Nubeat7 » Fri May 08, 2015 10:43 am

oh :roll: thanks myco!

about the size, this is depending on how much notes you want to allow which would depend on the smallest note resolution and the nr of sections but i think with 2000 for 8 sections in a min resolution of 64th notes should be enough
which would be 2 preset arrays with each 2000 elements

but there is also the ruby array handling which will require some space (i think so or!?) but all in all it will load pretty fast and it will be just a little piece of that what it is now
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Previous

Return to User Examples

Who is online

Users browsing this forum: No registered users and 128 guests