diff --git a/app/MainWindow.cpp b/app/MainWindow.cpp index bb31242..cdb6e04 100644 --- a/app/MainWindow.cpp +++ b/app/MainWindow.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Dave Griffiths +// Copyright (C) 2022 Then Try This // // 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 diff --git a/app/MainWindow.h b/app/MainWindow.h index 202e0f7..f2a7087 100644 --- a/app/MainWindow.h +++ b/app/MainWindow.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/app/audio_thread.cpp b/app/audio_thread.cpp index a810f6a..0354faf 100644 --- a/app/audio_thread.cpp +++ b/app/audio_thread.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/app/audio_thread.h b/app/audio_thread.h index 2ea1174..dcb3b81 100644 --- a/app/audio_thread.h +++ b/app/audio_thread.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Dave Griffiths +// Copyright (C) 2022 Then Try This // // 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 diff --git a/app/process_thread.h b/app/process_thread.h index c68517c..7464f45 100644 --- a/app/process_thread.h +++ b/app/process_thread.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Dave Griffiths +// Copyright (C) 2022 Then Try This // // 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 diff --git a/app/qtmain.cpp b/app/qtmain.cpp index 1f2d541..f734c68 100644 --- a/app/qtmain.cpp +++ b/app/qtmain.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Dave Griffiths +// Copyright (C) 2022 Then Try This // // 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 diff --git a/app/sound_items.cpp b/app/sound_items.cpp index e1cd24d..339657d 100644 --- a/app/sound_items.cpp +++ b/app/sound_items.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2016 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/app/sound_items.h b/app/sound_items.h index 9ee109e..b58207e 100644 --- a/app/sound_items.h +++ b/app/sound_items.h @@ -1,4 +1,4 @@ -// Copyright (C) 2016 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/block.cpp b/brain/src/block.cpp index 038808c..ebe965d 100644 --- a/brain/src/block.cpp +++ b/brain/src/block.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/block.h b/brain/src/block.h index dee593b..a10858f 100644 --- a/brain/src/block.h +++ b/brain/src/block.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/block_source.h b/brain/src/block_source.h index 2dfd6c9..ccbc3e0 100644 --- a/brain/src/block_source.h +++ b/brain/src/block_source.h @@ -1,4 +1,4 @@ -// Copyright (C) 2016 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/block_stream.cpp b/brain/src/block_stream.cpp index 8858d30..0bf1e13 100644 --- a/brain/src/block_stream.cpp +++ b/brain/src/block_stream.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/block_stream.h b/brain/src/block_stream.h index d8393d1..a8bfd33 100644 --- a/brain/src/block_stream.h +++ b/brain/src/block_stream.h @@ -1,4 +1,4 @@ -// Copyright (C) 2016 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/brain.cpp b/brain/src/brain.cpp index b83f2c8..c591c6b 100644 --- a/brain/src/brain.cpp +++ b/brain/src/brain.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/brain.h b/brain/src/brain.h index 608baea..f7dc1e4 100644 --- a/brain/src/brain.h +++ b/brain/src/brain.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/fft.cpp b/brain/src/fft.cpp index 5866e0d..0e3258e 100644 --- a/brain/src/fft.cpp +++ b/brain/src/fft.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/fft.h b/brain/src/fft.h index cce8a9b..3dc11d0 100644 --- a/brain/src/fft.h +++ b/brain/src/fft.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2015 2022 Then Try This // // 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 diff --git a/brain/src/main.cpp b/brain/src/main.cpp index 508eebe..df0bed1 100644 --- a/brain/src/main.cpp +++ b/brain/src/main.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Dave Griffiths +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/pitchshift.cpp b/brain/src/pitchshift.cpp deleted file mode 100644 index fafcfff..0000000 --- a/brain/src/pitchshift.cpp +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (C) 2015 Foam Kernow -// -// 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. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#include - -using namespace spiralcore; -using namespace std; -using namespace RubberBand; - -RubberBandStretcher *pitchshift::m_stretcher = NULL; - -void pitchshift::init(u32 srate) { - if (m_stretcher!=NULL) delete m_stretcher; - m_stretcher = new RubberBandStretcher(srate,1, - RubberBandStretcher::OptionProcessRealTime); -} - -void pitchshift::process(const sample &in, float freq_scale, sample &out) { - if (freq_scale<1/256) freq_scale=1; - if (freq_scale>255) freq_scale=255; - m_stretcher->setPitchScale(freq_scale); - const float *in_ptr = in.get_buffer(); - m_stretcher->process(&in_ptr, in.get_length(), false); - float *out_ptr = out.get_non_const_buffer(); - m_stretcher->retrieve(&out_ptr, out.get_length()); -} diff --git a/brain/src/pitchshift.h b/brain/src/pitchshift.h deleted file mode 100644 index 3e2975a..0000000 --- a/brain/src/pitchshift.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (C) 2015 Foam Kernow -// -// 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. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -#ifndef SPIRALCORE_PITCHSHIFT -#define SPIRALCORE_PITCHSHIFT - -#include -#include -#include - -namespace spiralcore { - - class pitchshift { - public: - static void init(u32 srate); - static void process(const sample &in, float freq_change, sample &out); - - static RubberBand::RubberBandStretcher *m_stretcher; - }; - -} -#endif diff --git a/brain/src/renderer.cpp b/brain/src/renderer.cpp index aa1cbfa..aef863c 100644 --- a/brain/src/renderer.cpp +++ b/brain/src/renderer.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 @@ -16,7 +16,6 @@ #include "renderer.h" #include -//#include "pitchshift.h" using namespace spiralcore; using namespace std; diff --git a/brain/src/renderer.h b/brain/src/renderer.h index f3a27d4..897fd02 100644 --- a/brain/src/renderer.h +++ b/brain/src/renderer.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/search_params.cpp b/brain/src/search_params.cpp index 06705d2..f28cbf6 100644 --- a/brain/src/search_params.cpp +++ b/brain/src/search_params.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/search_params.h b/brain/src/search_params.h index c09f493..b4b1367 100644 --- a/brain/src/search_params.h +++ b/brain/src/search_params.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/spiralcore/audio.cpp b/brain/src/spiralcore/audio.cpp index 754661e..e108e31 100644 --- a/brain/src/spiralcore/audio.cpp +++ b/brain/src/spiralcore/audio.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 David Griffiths +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/spiralcore/stream.h b/brain/src/spiralcore/stream.h index d37f9d4..66e1bf5 100644 --- a/brain/src/spiralcore/stream.h +++ b/brain/src/spiralcore/stream.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Dave Griffiths +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/status.cpp b/brain/src/status.cpp index 517b867..4fc07ec 100644 --- a/brain/src/status.cpp +++ b/brain/src/status.cpp @@ -1,3 +1,19 @@ +// Copyright (C) 2022 Then Try This +// +// 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. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #include "status.h" #include diff --git a/brain/src/status.h b/brain/src/status.h index 9253be1..4a78a1e 100644 --- a/brain/src/status.h +++ b/brain/src/status.h @@ -1,3 +1,19 @@ +// Copyright (C) 2022 Then Try This +// +// 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. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + #include #include #include diff --git a/brain/src/window.cpp b/brain/src/window.cpp index f1852c9..1101dac 100644 --- a/brain/src/window.cpp +++ b/brain/src/window.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/brain/src/window.h b/brain/src/window.h index 7c5406f..2992a42 100644 --- a/brain/src/window.h +++ b/brain/src/window.h @@ -1,4 +1,4 @@ -// Copyright (C) 2015 Foam Kernow +// Copyright (C) 2022 Then Try This // // 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 diff --git a/cooking/python/_magicsquares.so b/cooking/python/_magicsquares.so deleted file mode 100755 index 83f50e3..0000000 Binary files a/cooking/python/_magicsquares.so and /dev/null differ diff --git a/debian/copyright b/debian/copyright index 55769ae..3fe9fad 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,21 +1,10 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: samplebrain -Upstream-Contact: -Source: +Upstream-Contact: dave@thentrythis.org +Source: Files: * -Copyright: - -License: - - - . - - -# If you want to use GPL v2 or later for the /debian/* files use -# the following clauses, or change it to suit. Delete these two lines -Files: debian/* -Copyright: 2022 Dave Griffiths +Copyright: 2022 Then Try This License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,11 +22,3 @@ License: GPL-2+ On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". -# Please also look if there are files or directories which have a -# different copyright/license attached and list them here. -# Please avoid picking licenses with terms that are more restrictive than the -# packaged work, as it may make Debian's contributions unacceptable upstream. -# -# If you need, there are some extra license texts available in two places: -# /usr/share/debhelper/dh_make/licenses/ -# /usr/share/common-licenses/