COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 09-08-2017, 08:19 AM   #1
JonOsterman
Human being with feelings
 
Join Date: Aug 2017
Posts: 50
Default Pass file to Plugin

Hi again,

I was wondering if I could give access to a text file to the vst plugin, which I could parse to change vst conf, giving it informations, a signature, etc

For example I could print different text depending the file content.

If it's possible, does the location of the text file is depending of the DAW or could it be anywhere on computer, allowing me to just give him a path like "C:\\Users\\CockOS\\Documents\" ?
JonOsterman is offline   Reply With Quote
Old 09-09-2017, 10:03 AM   #2
gstuff
Human being with feelings
 
Join Date: Feb 2014
Posts: 63
Default

You can read and write to a file located anywhere you like assuming you have the correct file permissions, but avoid doing so in the audio processing thread as this could result in blocking the thread and causing glitches or dropouts.
gstuff is offline   Reply With Quote
Old 09-12-2017, 01:33 AM   #3
JonOsterman
Human being with feelings
 
Join Date: Aug 2017
Posts: 50
Default

Ok so if I do it in the constructor it is ok ?
JonOsterman is offline   Reply With Quote
Old 09-13-2017, 12:22 AM   #4
gstuff
Human being with feelings
 
Join Date: Feb 2014
Posts: 63
Default

Yes - dependent on what you're actually doing and any side effects.
gstuff is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.