/************************************************************************
IMPORTANT NOTE : this file contains two clearly delimited
sections : the ARCHITECTURE section (in two parts) and the
USER section. Each section is governed by its own copyright
and license. Please check individually each section for
license and copyright information.
*************************************************************************/
/*******************BEGIN ARCHITECTURE SECTION (part 1/2)****************/
/************************************************************************
FAUST Architecture File
Copyright (C) 2011 Michael J. Wilson
---------------------------------------------------------------------
This Architecture section is free software; you can redistribute
it and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; If not, see .
EXCEPTION : As a special exception, you may create a larger work
that contains this FAUST architecture section and distribute that
work under terms of your choice, so long as this FAUST
architecture section is not modified.
---------------------------------------------------------------------
************************************************************************/
/********************************************************************
* dssi.cpp - Polyphonic dssi wrapper for the FAUST language.
*
* Usage: faust -a dssi.cpp myfaustprog.dsp
*
* By Michael J. Wilson (mwilson@alumni.caltech.edu)
*
* Made with reference to:
* - vsti-mono.cpp by Julius Smith (http://ccrma.stanford.edu/~jos/)
* - ladspa.cpp by GRAME, Centre National de Creation Musicale
* - karplong.cpp by Chris Cannam, Steve Harris, Sean Bolton
*
* Because of the inclusion of code from ladspa.cpp, this architecture
* file is also released under the GNU General Public Licenses version
* 3. Sections which were taken from ladspa.cpp are clearly marked
* below, in order to trace the GPL dependency.
* As with faust2pd and vsti-mono.cpp, to obtain MIDI control via
* NoteOn/Off, Velocity, and KeyNumber, there must be a button named
* "gate" and sliders (or numeric entries) named "gain" and "freq" in
* the Faust patch specified in myfaustprog.dsp.
*
* FAUST
* Copyright (C) 2003-2007 GRAME, Centre National de Creation Musicale
* http://www.grame.fr/
*
********************************************************************/
#include "dssi.h"
#include "ladspa.h"
#include
#include
#include
#include
#include
#include