/* Copyright (C) 2010-2012 Florian Jung This file is part of flo's FM synth. flo's FM synth is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. flo's FM synth is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with flo's FM synth. If not, see . */ #include #include #include #include #include #include "jack.h" #include "load.h" #include "cli.h" #include "channel.h" #include "fixed.h" #include "programs.h" #include "defines.h" #include "globals.h" #include "in_synth_cli.h" #include "communication.h" #include "note_loader.h" #include "lfos.h" #ifdef WATCHFILES #include "watch_files.h" #endif using namespace std; void cleanup(); void dump_options(); #ifdef WATCHFILES pthread_t watcher_thread=-1; #endif int main(int argc, char** argv) { init_communication(); for (int i=0;i