| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| MultiPseudoStack.cpp - Multiple-Writer Lock Free Datastructure | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "MultiPseudoStack.h" | |||
| #include <cassert> | |||
| #include <cstdio> | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| MultiPseudoStack.h - Multiple-Writer Lock Free Datastructure | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #pragma once | |||
| #include <atomic> | |||
| #include <cassert> | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| NotePool.cpp - Pool of Synthesizer Engines And Note Instances | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "NotePool.h" | |||
| #include "../Misc/Allocator.h" | |||
| #include "../Synth/SynthNote.h" | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| NotePool.h - Pool of Synthesizer Engines And Note Instances | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #pragma once | |||
| #include <stdint.h> | |||
| #include <functional> | |||
| @@ -7,19 +7,10 @@ | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cstring> //memcpy | |||
| @@ -7,19 +7,10 @@ | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef ANALOG_FILTER_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef FFT_WRAPPER_H | |||
| @@ -58,10 +49,10 @@ std::complex<_Tp> | |||
| FFTpolar(const _Tp& __rho, const _Tp& __theta = _Tp(0)) | |||
| { | |||
| _Tp __x = __rho * cos(__theta); | |||
| if (isnan(__x)) | |||
| if (std::isnan(__x)) | |||
| __x = 0; | |||
| _Tp __y = __rho * sin(__theta); | |||
| if (isnan(__y)) | |||
| if (std::isnan(__y)) | |||
| __y = 0; | |||
| return std::complex<_Tp>(__x, __y); | |||
| } | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef FILTER_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef FORMANT_FILTER_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef SV_FILTER_H | |||
| @@ -5,18 +5,10 @@ | |||
| Copyright (C) 2002-2009 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,18 +5,10 @@ | |||
| Copyright (C) 2002-2009 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef UNISON_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef ALIENWAH_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef CHORUS_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Distorsion.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef DISTORSION_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef DYNAMICFILTER_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef EQ_H | |||
| @@ -7,19 +7,10 @@ | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef ECHO_H | |||
| @@ -3,22 +3,14 @@ | |||
| Effect.cpp - this class is inherited by the all effects(Reverb, Echo, ..) | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Copyright 2011, Alan Calvert | |||
| Copyright (C) 2011 Alan Calvert | |||
| Copyright (C) 2015 Mark McCurry | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Effect.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef EFFECT_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "EffectLFO.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef EFFECT_LFO_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <rtosc/ports.h> | |||
| @@ -5,18 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef EFFECTMGR_H | |||
| @@ -1,32 +1,18 @@ | |||
| /* | |||
| Phaser.cpp - Phasing and Approximate digital model of an analog JFET phaser. | |||
| Analog modeling implemented by Ryan Billing aka Transmogrifox. | |||
| ZynAddSubFX - a software synthesizer | |||
| Phaser.cpp - Phaser effect | |||
| Phaser.cpp - Phasing and Approximate digital model of an analog JFET phaser. | |||
| Analog modeling implemented by Ryan Billing aka Transmogrifox. | |||
| DSP analog modeling theory & practice largely influenced by | |||
| various CCRMA publications, particularly works by Julius O. Smith. | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Copyright (C) 2009-2010 Ryan Billing | |||
| Copyright (C) 2010-2010 Mark McCurry | |||
| Author: Nasca Octavian Paul | |||
| Ryan Billing | |||
| Mark McCurry | |||
| DSP analog modeling theory & practice largely influenced by various CCRMA publications, particularly works by Julius O. Smith. | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -9,19 +9,10 @@ | |||
| Ryan Billing | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef PHASER_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Reverb.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2009 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef REVERB_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| Allocator.cpp - RT-Safe Memory Allocator | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cstddef> | |||
| #include <cstdlib> | |||
| #include <cassert> | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| Allocator.h - RT-Safe Memory Allocator | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #pragma once | |||
| #include <cstdlib> | |||
| #include <utility> | |||
| @@ -7,19 +7,10 @@ | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Bank.h" | |||
| @@ -370,21 +361,21 @@ void Bank::rescanforbanks() | |||
| sort(banks.begin(), banks.end()); | |||
| //remove duplicate bank names | |||
| int dupl = 0; | |||
| for(int j = 0; j < (int) banks.size() - 1; ++j) | |||
| for(int j = 0; j < (int) banks.size() - 1; ++j) { | |||
| int dupl = 0; | |||
| for(int i = j + 1; i < (int) banks.size(); ++i) { | |||
| if(banks[i].name == banks[j].name) { | |||
| //add a [1] to the first bankname and [n] to others | |||
| banks[i].name = banks[i].name + '[' | |||
| + stringFrom(dupl + 2) + ']'; | |||
| if(dupl == 0) | |||
| banks[j].name += "[1]"; | |||
| dupl++; | |||
| } | |||
| else | |||
| dupl = 0; | |||
| } | |||
| if(dupl != 0) | |||
| banks[j].name += "[1]"; | |||
| if(dupl) | |||
| j += dupl; | |||
| } | |||
| } | |||
| void Bank::setMsb(uint8_t msb) | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef BANK_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| CallbackRepeater.cpp - Timed Callback Container | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "CallbackRepeater.h" | |||
| CallbackRepeater::CallbackRepeater(int interval, cb_t cb_) | |||
| :last(time(0)), dt(interval), cb(cb_) | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| CallbackRepeater.h - Timed Callback Container | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #pragma once | |||
| #include <functional> | |||
| #include <ctime> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2003-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cstdio> | |||
| #include <cmath> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2003-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef CONFIG_H | |||
| @@ -1,99 +0,0 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| Control.h - Defines a variable that can be controled from a frontend | |||
| Copyright (C) 2009 Harald Hvaal | |||
| Author: Harald Hvaal | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| */ | |||
| #ifndef _CONTROL_H_ | |||
| #define _CONTROL_H_ | |||
| #include <string> | |||
| class Control | |||
| { | |||
| public: | |||
| /** | |||
| * The parent is the logical owner of this control. Parent should only | |||
| * be null for the root node. | |||
| * The id is a string uniquely identifying this control within the | |||
| * context of the parent control. No spaces or dots are allowed in this | |||
| * id. | |||
| * Children id's are denoted by <parent-id>.<children-id>, so that one | |||
| * can refer to any control in the hierarchy by separating them with | |||
| * dots. Example: Main.AddSynth.FrequencyLFO.Amplitude | |||
| */ | |||
| Control(Control *parent, string id); | |||
| /** | |||
| * Will recursively get the XML representation for all the subcontrols. | |||
| * Used for saving to file and copy-pasting settings | |||
| */ | |||
| string getXMLRepresentation(); | |||
| /** | |||
| * Set the value of this (and possibly subcomponents as well) based on | |||
| * a xml description. | |||
| */ | |||
| void restoreFromXML(string xml); | |||
| /** | |||
| * Register a controluser. This will cause this user to be notified | |||
| * whenever the contents of the control changes. | |||
| */ | |||
| void registerControlUser(ControlUser *user); | |||
| /** | |||
| * This should return a string representation of the controls internal | |||
| * value | |||
| */ | |||
| virtual string getStringRepresentation() = 0; | |||
| }; | |||
| class FloatControl:public Control | |||
| { | |||
| public: | |||
| /** | |||
| * Set the value of this control. If the ControlUser variable is set, | |||
| * then this user will not be updated with the new value. This is to | |||
| * avoid setting a value being set back to the source that set it | |||
| * (which would be redundant, or possibly causing infinite setValue | |||
| * loops). | |||
| * NOTE: this function is thread-safe (using a mutex internally) | |||
| */ | |||
| void setValue(float value, ControlUser *user = NULL); | |||
| /** | |||
| * Reimplemented from Control | |||
| */ | |||
| virtual string getStringRepresentation(); | |||
| float value(); | |||
| }; | |||
| class ControlUser | |||
| { | |||
| public: | |||
| /** | |||
| * Pure virtual method, to notify the controluser that the value has | |||
| * been changed internally, and needs to be read again. | |||
| */ | |||
| virtual void controlUpdated(Control *control) = 0; | |||
| }; | |||
| #endif /* _CONTROL_H_ */ | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2006-2009 Lars Luthman | |||
| Author: Lars Luthman | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <unistd.h> | |||
| #include <iostream> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2006-2009 Lars Luthman | |||
| Author: Lars Luthman | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef LASHClient_h | |||
| #define LASHClient_h | |||
| @@ -6,19 +6,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Master.h" | |||
| @@ -6,19 +6,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef MASTER_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cmath> | |||
| @@ -123,7 +114,7 @@ const rtosc::Ports Microtonal::ports = { | |||
| { | |||
| rtosc_blob_t b = rtosc_argument(msg, 0).b; | |||
| assert(b.len == sizeof(void*)); | |||
| Microtonal *other = *(Microtonal**)b.len; | |||
| Microtonal *other = *(Microtonal**)b.data; | |||
| Microtonal &self = *(Microtonal*)d.obj; | |||
| //oh how I wish there was some darn reflection for this... | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef MICROTONAL_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| MiddleWare.cpp - Glue Logic And Home Of Non-RT Operations | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "MiddleWare.h" | |||
| #include <cstring> | |||
| @@ -338,7 +349,8 @@ struct NonRtObjStore | |||
| d.matches++; | |||
| d.reply((obj_rl+"needPrepare").c_str(), "F"); | |||
| } else { | |||
| assert(pad); | |||
| if(!pad) | |||
| return; | |||
| strcpy(d.loc, obj_rl.c_str()); | |||
| d.obj = pad; | |||
| PADnoteParameters::non_realtime_ports.dispatch(msg, d); | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| MiddleWare.h - RT & Non-RT Glue Layer | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #pragma once | |||
| #include <functional> | |||
| #include <cstdarg> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Part.h" | |||
| @@ -84,7 +75,7 @@ static const Ports partPorts = { | |||
| rString(info.Pauthor, MAX_INFO_TEXT_SIZE, "Instrument author"), | |||
| rString(info.Pcomments, MAX_INFO_TEXT_SIZE, "Instrument comments"), | |||
| rString(Pname, PART_MAX_NAME_LEN, "User specified label"), | |||
| rArray(Pefxroute, NUM_PART_EFX, "Effect Routing"), | |||
| rArrayI(Pefxroute, NUM_PART_EFX, "Effect Routing"), | |||
| rArrayT(Pefxbypass, NUM_PART_EFX, "If an effect is bypassed"), | |||
| {"captureMin:", rDoc("Capture minimum valid note"), NULL, | |||
| [](const char *, RtData &r) | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef PART_H | |||
| @@ -1,6 +1,14 @@ | |||
| /** | |||
| * Extract Presets from realtime data | |||
| */ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| PresetExtractor.cpp - Extract Presets from realtime data | |||
| Copyright (C) 2015 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "../Params/PresetsStore.h" | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| PresetExtractor.h - RT Safe Copy/Paste | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #pragma once | |||
| #include <string> | |||
| #include <rtosc/ports.h> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <sys/stat.h> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef RECORDER_H | |||
| @@ -5,18 +5,10 @@ | |||
| Copyright (C) 2009-2009 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| template<class T> | |||
| @@ -5,18 +5,10 @@ | |||
| Copyright (C) 2009-2009 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef STEREO_H | |||
| #define STEREO_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| Time.h - Frame Tracker | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #pragma once | |||
| #include <stdint.h> | |||
| #include "../globals.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "globals.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef UTIL_H | |||
| @@ -1,20 +1,15 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| WavFile.cpp - Wav File Serialization | |||
| Copyright (C) 2006 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cstdio> | |||
| @@ -6,18 +6,10 @@ | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef WAVFILE_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "WaveShapeSmps.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef WAVESHAPESMPS_H | |||
| #define WAVESHAPESMPS_H | |||
| @@ -7,19 +7,10 @@ | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "XMLwrapper.h" | |||
| @@ -7,19 +7,10 @@ | |||
| Author: Nasca Octavian Paul | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <mxml.h> | |||
| @@ -1,22 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| AlsaEngine.cpp - ALSA Driver | |||
| Copyright 2009, Alan Calvert | |||
| 2014, Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| AlsaEngine.cpp - ALSA Driver | |||
| Copyright (C) 2009 Alan Calvert | |||
| Copyright (C) 2014 Mark McCurry | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <iostream> | |||
| @@ -1,22 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| AlsaEngine.h - ALSA Driver | |||
| Copyright 2009, Alan Calvert | |||
| 2014, Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| AlsaEngine.h - ALSA Driver | |||
| Copyright (C) 2009 Alan Calvert | |||
| Copyright (C) 2014 Mark McCurry | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef ALSA_ENGINE_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2009-2010 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <iostream> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2009-2010 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef AUDIO_OUT_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2009-2010 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Engine.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2009-2010 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef ENGINE_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| EngineMgr.cpp - MIDI/Audio Factory | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "EngineMgr.h" | |||
| #include <algorithm> | |||
| #include <iostream> | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| EngineMgr.h - MIDI/Audio Factory | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef ENGINE_MGR_H | |||
| #define ENGINE_MGR_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| InMgr.cpp - MIDI Input Manager | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "InMgr.h" | |||
| #include "MidiIn.h" | |||
| #include "EngineMgr.h" | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| InMgr.h - MIDI Input Manager | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef INMGR_H | |||
| #define INMGR_H | |||
| @@ -1,22 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| JackEngine.cpp - Jack Driver | |||
| Copyright 2009, Alan Calvert | |||
| 2014, Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| JackEngine.cpp - Jack Driver | |||
| Copyright (C) 2009 Alan Calvert | |||
| Copyright (C) 2014 Mark McCurry | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <iostream> | |||
| @@ -1,22 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| JackEngine.h - Jack Driver | |||
| Copyright 2009, Alan Calvert | |||
| 2014, Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| JackEngine.h - Jack Driver | |||
| Copyright (C) 2009 Alan Calvert | |||
| Copyright (C) 2014 Mark McCurry | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef JACK_ENGINE_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2012-2012 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <jack/jack.h> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2012-2012 Mark McCurry | |||
| Author: Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef JACK_MULTI_ENGINE | |||
| #define JACK_MULTI_ENGINE | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "MidiIn.h" | |||
| @@ -7,19 +7,10 @@ | |||
| Author: Nasca Octavian Paula | |||
| Mark McCurry | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef MIDI_IN_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| Nio.cpp - IO Wrapper Layer | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "Nio.h" | |||
| #include "OutMgr.h" | |||
| #include "InMgr.h" | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| Nio.h - IO Interface | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef NIO_H | |||
| #define NIO_H | |||
| #include <string> | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "NulEngine.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef NUL_ENGINE_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "OssEngine.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002-2005 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef OSS_ENGINE_H | |||
| @@ -4,19 +4,10 @@ | |||
| OssMultiEngine.cpp - Multi channel audio output for Open Sound System | |||
| Copyright (C) 2014 Hans Petter Selasky | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include <cstring> | |||
| @@ -4,19 +4,10 @@ | |||
| OssMultiEngine.h - Multi channel audio output for Open Sound System | |||
| Copyright (C) 2014 Hans Petter Selasky | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef OSS_MULTI_ENGINE_H | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| OutMgr.cpp - Audio Output Manager | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "OutMgr.h" | |||
| #include <algorithm> | |||
| #include <iostream> | |||
| @@ -1,3 +1,14 @@ | |||
| /* | |||
| ZynAddSubFX - a software synthesizer | |||
| OutMgr.h - Audio Engine Interfacer | |||
| Copyright (C) 2016 Mark McCurry | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef OUTMGR_H | |||
| #define OUTMGR_H | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #include "PaEngine.h" | |||
| @@ -5,19 +5,10 @@ | |||
| Copyright (C) 2002 Nasca Octavian Paul | |||
| Author: Nasca Octavian Paul | |||
| This program is free software; you can redistribute it and/or modify | |||
| it under the terms of version 2 of the GNU General Public License | |||
| as published by the Free Software Foundation. | |||
| 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 (version 2 or later) for more details. | |||
| You should have received a copy of the GNU General Public License (version 2) | |||
| along with this program; if not, write to the Free Software Foundation, | |||
| Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||
| This program 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 2 | |||
| of the License, or (at your option) any later version. | |||
| */ | |||
| #ifndef PA_ENGINE_H | |||
| #define PA_ENGINE_H | |||