Commit fccd0b47 authored by porres's avatar porres
Browse files

readme

parent 0c282153
......@@ -10,10 +10,6 @@
**FluidSynth** is a Real-Time SoundFont Software Synthesizer (see https://www.fluidsynth.org and https://github.com/FluidSynth/fluidsynth). The latest at the time of writing is v 2.2.7!
This is a modification of https://github.com/porres/pd-fluid
--------------------------------------------------------------------------
### Licence:
......@@ -21,10 +17,9 @@ This is a modification of https://github.com/porres/pd-fluid
Distributed under the GPLv2+, please check the LICENSE file for details.
--------------------------------------------------------------------------
#### Building [fluid~] for Pd Vanilla:
#### Building [fluidsynth~] for Pd Vanilla:
First you need to install **FluidSynth** (https://www.fluidsynth.org/) in your system. You can run the makefile after that.
......@@ -89,7 +84,6 @@ or with more options:
`make localdep_windows PDLIBDIR=<path/you/want-the/output>`
#### - Linux
first build **fluidsynth**! Download sources from https://github.com/FluidSynth/fluidsynth/releases and get the following dependencies (shown for Debian)
......@@ -118,14 +112,11 @@ Now you can copy all dependencies of `fluidsynth~.pd_linux` to the install path
The result can be uploaded to Deken, since it runs also on systems where the fluidsynth library is not installed.
--------------------------------------------------------------------------
### Acknowledgements :
Thanks to the **authors of fluidsynth** (https://github.com/FluidSynth/fluidsynth/blob/master/AUTHORS). Also thanks for those who worked on previous externals that loads fluid synth, such as **Larry Troxler**, author of the [iiwu~] external, which was the basis of the [fluid~] external by **Frank Barknecht** in [04/04/2003]. **Jonathan Wilkes** Ported [fluid~] from Flext/C++ to Pd's API using plain C/pdlibbuilder. **Albert Gräf** expanded the functionality of the object to take more MIDI messages. More thanks to **IOhannes Zmölnig** for the magical script that copies the dynamic libraries into the external folder and links them correctly. Thanks to **Lucas Cordiviola** and **Roman Haefeli** for helping on how to build for windows/Linux and **others from the pd-list** that also helped.
Thanks to the **authors of fluidsynth** (https://github.com/FluidSynth/fluidsynth/blob/master/AUTHORS). Also thanks for those who worked on previous externals for Pd that loads fluidsynth, such as **Larry Troxler**, author of the [iiwu~] external, which was the basis of the [fluid~] external by **Frank Barknecht** in [04/04/2003]. **Jonathan Wilkes** Ported [fluid~] from Flext/C++ to Pd's API using plain C/pdlibbuilder. **Albert Gräf** expanded the functionality of the object to take more MIDI messages. More thanks to **IOhannes Zmölnig** for the magical script that copies the dynamic libraries into the external folder and links them correctly. Thanks to **Lucas Cordiviola** and **Roman Haefeli** for helping on how to build for windows/Linux and **others from the pd-list** that also helped.
--------------------------------------------------------------------------
// This is a modification of https://github.com/porres/pd-fluid
/*
Copyright: Alexandre Torres Porres, based on the work of
Frank Barknecht, Jonathan Wilkes and Albert Gräf
......@@ -266,7 +270,7 @@ static void fluid_float(t_fluid_tilde *x, t_float f){
static void fluid_load(t_fluid_tilde *x, t_symbol *s, int ac, t_atom *av){
s = NULL;
if(x->x_synth == NULL){
pd_error(x, "[fluidsynth~]: no fluidsynth");
pd_error(x, "[fluidsynth~]: no fluidsynth instance created");
return;
}
if(ac >= 1 && av->a_type == A_SYMBOL){
......@@ -337,7 +341,7 @@ static void *fluid_tilde_new(t_symbol *s, int ac, t_atom *av){
fluid_settings_setstr(x->x_settings, "synth.ladspa.active", "no");
x->x_synth = new_fluid_synth(x->x_settings); // Create fluidsynth instance:
if(x->x_synth == NULL){
pd_error(x, "[fluidsynth~]: couldn't create synth");
pd_error(x, "[fluidsynth~]: couldn't fluidsynth instance");
goto end;
}
fluid_load(x, gensym("load"), ac, av); // try to load argument as soundfont
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment