The Zizula Forum
August 16, 2017, 09:41:25 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: This is an Ad Revenue Sharing website, all active members get the benefit of earning through their Google AdSense account or Yahoo Publisher Network!
 
   Home   Help Arcade Search Calendar Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot Ask BlinkBits BlinkList Co.mments Delirious Google Bookmarks Linkagogo Ma.gnolia MSN Live Netscape Netvouz Newsvine RawSugar Rojo Smarking Socializer Sphinn Spurl Squidoo Tailrank Technorati Yahoo My Web

Pages: [1]   Go Down
  Print  
Author Topic: pyvst example to grab vst parameter names and output all to one file.  (Read 1434 times)
edexter
Moderator
Full Member
*****

Karma: 22
Offline Offline

Posts: 177



View Profile WWW
« on: June 15, 2011, 10:37:43 PM »

from pyvst import *
#http://www.dextracker.blogspot.com/ will have (or has) everything packaged up.
#uses pyvst to get parameter an example that is probily usefull in many programs
#Distributed under the dex tracker licence.  Go ahead and include it with your programs
#as long as the url remains in the example.
import sys
#needs plugin name with extention as the argument
# pyvst is placed in a folder off the one holding this file.
print sys.argv[1]
plugin = VSTPlugin(sys.argv[1])
        
number_of_parem = plugin.get_number_of_parameters()
outfile = open(sys.argv[1][:-3] + 'par' , 'w')
for n in range(1, number_of_parem):
    outfile.write(plugin.get_parameter_name(n))
    outfile.write(' ')
« Last Edit: June 15, 2011, 10:39:42 PM by edexter » Logged

http://dextracker.blogspot.com/ The number one spot for dex tracker audio software on the internet.
Pages: [1]   Go Up
  Print  

 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines | Sitemap Valid XHTML 1.0! Valid CSS!