Next  |  Prev  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Generating Stand-Alone Qt or GTK Applications

The next step after debugging a FAUST program is typically generating the desired application or plugin. For example,

 > faust2jaqt p.dsp     # make a standalone JACK-compatible Qt application
 > faust2jack p.dsp     # make a standalone JACK-compatible GTK application
where p.dsp is the FAUST program to be compiled. On the Mac, each of the above commands would create On a Linux system, the binary executable program p would be created.

faust2jaqt and faust2jack are convenience scripts distributed with FAUST.14 A screen-shot of the Qt main window (obtained using on the Mac) is shown in Fig.12.

Figure 12: Main (and only) window of a Qt application generated by faust2jaqt from cpgrui.dsp on a Mac OS X system.

When the application is run, it automatically binds its outputs to the system output if JACK is running (and it will exit if JACK is not running!). In a Linux environment, it is necessary to manually connect the program output to the system audio outputs. JACK may be conveniently started on Mac OS X using JackPilot, and on Linux systems using qjackctl.

Next  |  Prev  |  Top  |  JOS Index  |  JOS Pubs  |  JOS Home  |  Search

Download aspf.pdf
[Comment on this page via email]

``Audio Signal Processing in Faust'', by Julius O. Smith III.
Copyright © 2022-05-05 by Julius O. Smith III
Center for Computer Research in Music and Acoustics (CCRMA),   Stanford University