Showing posts with label vst. Show all posts
Showing posts with label vst. Show all posts

Tuesday, 26 June 2012

VST to AudioUnit Preset Converter


KVR user aMUSEd recently tipped me off about a Python script which converts presets from .aupreset format to .fxp. Putting discussion about why we shouldn't be using host or plug-in architecture proprietary formats aside, it's a useful little tool for automating a mass preset conversion.

I've derived a mirror script which reverses this process, converting .fxp presets into equivalent .aupreset files: useful for Logic users migrating from a VST-only to an Audio Unit environment. Converting from one opaque format to another was never going to be easy, but it certainly seems to work for the (select few) plug-ins I've tested it with. Provided that the plug-in saves to an opaque chunk, and that the internal format is identical for both Audio Unit and VST plug-in chunks, conversion should work.

There are a few bits of information, absent from fxp format presets, that is required by au presets. The first three of these, the so called 'type', 'subtype', and 'manufacturer', can be found by running (from the command-line)
auval -a
and then copying the three, four character codes for the destination plugin. Our own Aspect, for example, uses:
aumu Lmaa Loom  -  Loomer: Aspect
aumu Lmaa Loom are the type, subtype, and manufacturer, respectively.

The final piece of information is the state key. This is completely defined by the developer, and there is no simple way to programatically find this. All is not lost, however: just save an aupreset using the plug-in, open it (in TextEdit, for example), and locate the key. Note that it is NOT the <key>data</key> line, but is usually found after that. Again, in Aspect's case, we have <key>jucePluginState</key>

So, in the case of Transverb, assuming that your presets are stored in .fxp format and in a folder called "~/transverb_presets", from the directory you've unzipped the app you'll need to run from a Terminal:

./fxp2aupreset.app/Contents/MacOS/fxp2aupreset ~/transverb_presets aumf DFtv DFX! destroyfx-data

or for those using the python script:
python ./fxp2aupreset.py ~/transverb_presets aumf DFtv DFX! destroyfx-data.

If all goes according to plan, this will create an aupreset for each fxp file it finds. Copy the aupresets into ~/Library/Audio/Presets/... in order for Logic/AU Lab or whatever to find them. Make sure you've already saved at least one preset with the plug-in to ensure that the .aupreset folder have been created beforehand.

The python script can be found here (you'll need the construct library installed for this). For those who'd rather not dabble with Python dependencies, you can find a command-line App bundled for Mac OS X here.

Thanks to yairadix from the rawmaterialsoftware forum for the original script, and for doing all the heavy lifting in defining the fxp construct structure. 

Saturday, 16 July 2011

Shift 2.2.0 update for Mac OS X, Windows, and Linux

Shift 2.2.0 is now available: download the evaluation demo or update here

Shift is a diatonic granular pitch shifting delay. Shift combines an intuitive and beautiful user interface, with a great sounding granular synthesis engine. Shift's flexibility allows a palette of timbres ranging from basic echo effects, through intelligent harmonies, to exotic evolving ambient soundscapes. 



Additions and improvements in Shift 2.2.0 include:
  • Native 64-bit VST plug-in for Mac OS X (64-bit VST support requires Mac OS X 10.6 or greater; 64-bit Audio Unit requires Mac OS X 10.5 or greater; all other formats require Mac OS X 10.4 or greater.) 
  • Integrated undo and redo, with unlimited history size. 
  • Preset Browser is now maximized to fill the entire plug-in window. 
  • Windows RTAS plug-in is now installed to the correct location on 64-bit Windows operating systems. 
  • MIDI Program Changes are now multi-threaded, and so will no longer potentially stall the audio synthesis. 
  • Fix for crash (on both Windows and Linux) that could occur when 'space' is pressed when confirming the overwrite preset dialog. 
  • Fixed interface lock that could occur on Cubase for Mac OS X. 
  • Preset meta data (ie, author name, notes, tags) is now correctly displayed after loading an .FXP based preset or restoring a saved project. 
  • VU meters now automatically reset their overload status after a few seconds. 
  • For Windows VST (32-bit and 64-bit), the preferences file can be placed alongside the DLL file to facilitate USB or portable installs. 
  • Windows RTAS plug-in is now installed to the correct location on 64-bit Windows operating systems. 
  • Clearer font in PDF documentation. 
  • Fix for rare issue that stopped presets from loading in Linux Renoise when LADSPA plug-in support is enabled. 
  • Factory presets now load significantly faster.
Download Shift 2.2.0 here for Mac OS X, Windows, and Linux.