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

Saving file with application

For general discussion related FlowStone

Saving file with application

Postby billv » Tue Mar 12, 2013 7:34 pm

Need to create a file that saves and loads with VST or Exe.
What is the Full Path for this?
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Saving file with application

Postby trogluddite » Tue Mar 12, 2013 7:58 pm

The 'Start Folder' primitive will give you a full path to the plugin's folder that you can use inside an .exe or VST.
While you are editing in FS, you need to give it a path to a temporary folder that it uses during editing sessions. But once exported, it always points to the folder that the .exe or .dll was loaded from - and it does this check every startup, so it's safe even to move the files after installation.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Saving file with application

Postby tester » Tue Mar 12, 2013 9:39 pm

If you have a problem with triggers, filepaths and startup loading - you can use my time-based solution for that. ;-) At least we would have more practical tests. :-)
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: Saving file with application

Postby billv » Wed Mar 13, 2013 5:52 am

Thanks guys. Will work it out over the next few hours.
But to just to clarify what is was doing in the first place..........
I hooked up a Preset manager to the "preset string" in the Arp. This is fine but I can't modulate
10 presets on the fly, via the tickers, as the preset manager is just to slow in re-calling the info.
So I've back to the other save+ load system, just like the one that handles the envelopes in the tickers.
Works great. But it dosn''t save on shutdown and re-load on startup. I think the user will really need this
feature when punching in thier own patterns.
But having said that, I've done some cowboy attempts with the preset manager.
One was using the same "preset string" setup in the arp, but 10 of them. Didn't work.
The most sensible way to me was to put all the strings into an array and throw it in to
a "VST Parameter array" module. But this dosn't work, cause it only takes "float array" input.
String array on the other side is just wrong, with no commas. And I don't feel like creating
the system to place every comma where needed.
Why cant we have a VST Parameter array" with string array input?
Is that what the "preset string" module is for......might have to try that method again......
tester wrote:my time-based solution

Sounds interesting. No idea what it could be off the top of head .
Can you give me that gist if it with no FSM?
Or even better, don't say anything for a few days and let me sweat :D
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Saving file with application

Postby nix » Wed Mar 13, 2013 6:07 am

He's using timers to delay triggers on initialization.
So he sets trigger order, it's not just under the hood.
Seems to be fix for him.
Hehe, these triggers certainly keeep us entertained!
btw tester, AFAIK 10ms is the quickest a trigger will possibly emerge from the timer.
You can do float array to string,
string to float array if u need it.
It's a bit fiddly but yeah.
I'll help mate,
if u post the schem,
I'm happy to do the conversion from string to float array.
Cheers
The limitation of preset string module,
is it can only contain 2048 charachters IIRC
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am

Re: Saving file with application

Postby billv » Wed Mar 13, 2013 7:06 am

nix wrote:He's using timers to delay triggers on initialization.

Sneaky little ........ 8-) Will give that some thought. Thanks tester.
nix wrote:I'm happy to do the conversion from string to float array

These strings have got comas mate
ScreenShot121.png
ScreenShot121.png (19.54 KiB) Viewed 15005 times

Doing my head in at the moment. Don't think it's going to happen that way

I spent about an hour with Dreamsequence last night. Its secrets are slowly being revealed.
I butchered my attempt, but got what i wanted- a better idea of whats going on.
I'll break it down to zero eventually..... :)
The trick is to keep the GUI + GUI functions intact...........
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: Saving file with application

Postby nix » Wed Mar 13, 2013 7:18 am

Sweet,
ur having a look at my sequencer(again!).
One of the biggest hurdles is RAM usage.
I imagine we are dealing with many instances.
If it was in a DAW, u/we can clock many of them from the same timer.

Is it possible to have the string data without commas?

I think my sequencer works again Bill,
I can send the .fsm.
Timing seems quite good,
I will do extensive tests and see how many samples out it is,
but can just set 2 going and listen for phasing. It's good.
I am happy to produce tracks with that accuracy.

If the commas are neccesary,
yeah man, use preset string.
It will do it

wee edit-
since ur data is numerical, I'm sure we can figure out how to get it into a float array preset,
if neccessary
User avatar
nix
 
Posts: 817
Joined: Tue Jul 13, 2010 10:51 am


Return to General

Who is online

Users browsing this forum: No registered users and 86 guests