Faust2SC:
Filter:
Faust.quark/Classes (extension) | Plugins > Faust

Faust2SC
ExtensionExtension

Compile Faust files to SuperCollider plugins

Description

This class is a simple interface for the compiler tool faust2sc.pywhich is used to generate SuperCollider plugins from Faust code. It can either compile singular files or a folder of files and can also automatically install it to your system. See AbstractFaustPackage for a simple way to automatically do this as part of your packaging.

The faust2sc.py tool is included in Faust version 2.40.0 and above, and so this will only work if you have that version or above installed.

To check if your installation is compatible:

Class Methods

.compileFile

Compile a Faust file to a SuperCollider plugin. Currently by default this also generates a supernova version and simple help files and classes. The resulting files are installed in the outputDir directory.

Arguments:

file

A String or a PathName

outputDir

A String or a PathName

.compileAllFilesInDir

Compile a folder of Faust files.The resulting files are installed in the outputDir directory.

Arguments:

inputDir

A String or a PathName

outputDir

A String or a PathName

.getCompilerCommand

.compilerExists

Examples