PlanetZ@scopeusers.com

Scope Users Community
It is currently Sat Oct 21, 2017 10:13 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Any way to save presets in modular 2
PostPosted: Tue Sep 06, 2016 4:55 am 
Offline
User avatar

Joined: Wed Nov 01, 2006 3:12 am
Posts: 1085
Location: israel
hey i don't have an answer but would just like to say, props on the persistence and what you are learning here! good stuff! i don't think most devs on scope (including us so far) get to that area of what you are exploring now, awesome and keep going!!!

_________________
Scope 3rd Party Developer
http://www.oceanswift.net
https://www.facebook.com/oceanswiftsynthesis/


Top
 Profile  
Reply with quote  
 Post subject: Re: Any way to save presets in modular 2
PostPosted: Tue Sep 06, 2016 12:37 pm 
Offline
User avatar

Joined: Mon Oct 29, 2001 4:00 pm
Posts: 632
Location: No idea. All looks the same down here
DragonSF wrote:
Attachment:
Image2.png

I'm a little step farther now: I can read/write array elements from/to file, but I haven't find a way to iterate the index in the ArrayIterator. I can do this manually and get the actual data, but I want to use something, which does this for each index (incl. read/write). Any ideas, how to accomplish that?
Or is there a function, which converts arrays to string (CSV) and vice versa?


In this case you're probably better using the IniIntInterface.pep unless there's a need for strings.

For string arrays you can use the tabletextfader to edit the strings in a string array via selected index, but off the top of my head I can't think of a way to split a string array to individual string pads like the ArrayIntSplitter does with integer pads.


Top
 Profile  
Reply with quote  
 Post subject: Re: Any way to save presets in modular 2
PostPosted: Tue Sep 06, 2016 2:59 pm 
Offline

Joined: Sun Nov 08, 2015 4:28 pm
Posts: 236
faxinadu wrote:
hey i don't have an answer but would just like to say, props on the persistence and what you are learning here! good stuff! i don't think most devs on scope (including us so far) get to that area of what you are exploring now, awesome and keep going!!!

Thanks! Regarding 'persistence': does anybody know, how to make a module persistent? I'm getting always complains for modules being non-persistent.


Top
 Profile  
Reply with quote  
 Post subject: Re: Any way to save presets in modular 2
PostPosted: Tue Sep 06, 2016 3:22 pm 
Offline
User avatar

Joined: Mon Oct 29, 2001 4:00 pm
Posts: 632
Location: No idea. All looks the same down here
Set Persistent to true (1) in the ModuleLoader PadList to avoid the non-persistent errors


Top
 Profile  
Reply with quote  
 Post subject: Re: Any way to save presets in modular 2
PostPosted: Tue Sep 06, 2016 6:09 pm 
Offline

Joined: Sun Nov 08, 2015 4:28 pm
Posts: 236
Got it. Now the main question: how does the ArrayIterator work, i.e. when does the iteration start?


Top
 Profile  
Reply with quote  
 Post subject: Re: Any way to save presets in modular 2
PostPosted: Sat Sep 10, 2016 12:17 am 
Offline

Joined: Sun Nov 08, 2015 4:28 pm
Posts: 236
I found a way to save all array elements to the text-file, but they are not reloaded at load time (even if I click the read-menu).Is it possible, that the MS EG has read-only arrays? Any way to change that?


Top
 Profile  
Reply with quote  
 Post subject: Re: Any way to save presets in modular 2
PostPosted: Sun Sep 11, 2016 4:47 am 
Offline

Joined: Sun Nov 08, 2015 4:28 pm
Posts: 236
Thanks for all the support, but I'm leaving the pep approach path. There is no documentation for it, more guessing than having a clear picture and strange behavior.
My new approach is ScopeFX (with Juse) and I'm quite happy: there are some docs, I can debug with VC and write my own code (and it's seem to be working). Thanks to Will, who showed methis way.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Donate to help support this community


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group