zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 016b1120200b2707fda5a89b39a893c3b76246ce
parent cdd2606b391155ff5704595dbc9726d073ca8c8f
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Fri,  4 Mar 2016 11:05:42 -0500

Normalizing Copyright Headers

Diffstat:
Msrc/Effects/Effect.cpp | 3++-
Msrc/Effects/Phaser.cpp | 13++++---------
Dsrc/Misc/Control.h | 99-------------------------------------------------------------------------------
Msrc/Misc/PresetExtractor.cpp | 20++++++++++++++++++--
Msrc/Misc/WavFile.cpp | 3+++
Msrc/Nio/AlsaEngine.cpp | 6+++---
Msrc/Nio/AlsaEngine.h | 6+++---
Msrc/Nio/JackEngine.cpp | 6+++---
Msrc/Nio/JackEngine.h | 6+++---
Msrc/Nio/WavEngine.cpp | 3+++
10 files changed, 42 insertions(+), 123 deletions(-)

diff --git a/src/Effects/Effect.cpp b/src/Effects/Effect.cpp @@ -3,7 +3,8 @@ 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 diff --git a/src/Effects/Phaser.cpp b/src/Effects/Phaser.cpp @@ -1,18 +1,13 @@ /* - - 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 diff --git a/src/Misc/Control.h b/src/Misc/Control.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_ */ diff --git a/src/Misc/PresetExtractor.cpp b/src/Misc/PresetExtractor.cpp @@ -1,5 +1,21 @@ -/** - * 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 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 */ #include "../Params/PresetsStore.h" diff --git a/src/Misc/WavFile.cpp b/src/Misc/WavFile.cpp @@ -1,4 +1,7 @@ /* + ZynAddSubFX - a software synthesizer + + WavFile.cpp - Wav File Serialization Copyright (C) 2006 Nasca Octavian Paul Author: Nasca Octavian Paul Mark McCurry diff --git a/src/Nio/AlsaEngine.cpp b/src/Nio/AlsaEngine.cpp @@ -1,9 +1,9 @@ /* ZynAddSubFX - a software synthesizer - AlsaEngine.cpp - ALSA Driver - Copyright 2009, Alan Calvert - 2014, Mark McCurry + AlsaEngine.cpp - ALSA Driver + Copyright (C) 2009 Alan Calvert + Copyright (C) 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 diff --git a/src/Nio/AlsaEngine.h b/src/Nio/AlsaEngine.h @@ -1,9 +1,9 @@ /* ZynAddSubFX - a software synthesizer - AlsaEngine.h - ALSA Driver - Copyright 2009, Alan Calvert - 2014, Mark McCurry + AlsaEngine.h - ALSA Driver + Copyright (C) 2009 Alan Calvert + Copyright (C) 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 diff --git a/src/Nio/JackEngine.cpp b/src/Nio/JackEngine.cpp @@ -1,9 +1,9 @@ /* ZynAddSubFX - a software synthesizer - JackEngine.cpp - Jack Driver - Copyright 2009, Alan Calvert - 2014, Mark McCurry + JackEngine.cpp - Jack Driver + Copyright (C) 2009 Alan Calvert + Copyright (C) 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 diff --git a/src/Nio/JackEngine.h b/src/Nio/JackEngine.h @@ -1,9 +1,9 @@ /* ZynAddSubFX - a software synthesizer - JackEngine.h - Jack Driver - Copyright 2009, Alan Calvert - 2014, Mark McCurry + JackEngine.h - Jack Driver + Copyright (C) 2009 Alan Calvert + Copyright (C) 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 diff --git a/src/Nio/WavEngine.cpp b/src/Nio/WavEngine.cpp @@ -1,4 +1,7 @@ /* + ZynAddSubFX - a software synthesizer + + WavEngine - an Output To File Engine Copyright (C) 2006 Nasca Octavian Paul Author: Nasca Octavian Paul