id
int64
0
755k
file_name
stringlengths
3
109
file_path
stringlengths
13
185
content
stringlengths
31
9.38M
size
int64
31
9.38M
language
stringclasses
1 value
extension
stringclasses
11 values
total_lines
int64
1
340k
avg_line_length
float64
2.18
149k
max_line_length
int64
7
2.22M
alphanum_fraction
float64
0
1
repo_name
stringlengths
6
65
repo_stars
int64
100
47.3k
repo_forks
int64
0
12k
repo_open_issues
int64
0
3.4k
repo_license
stringclasses
9 values
repo_extraction_date
stringclasses
92 values
exact_duplicates_redpajama
bool
2 classes
near_duplicates_redpajama
bool
2 classes
exact_duplicates_githubcode
bool
2 classes
exact_duplicates_stackv2
bool
1 class
exact_duplicates_stackv1
bool
2 classes
near_duplicates_githubcode
bool
2 classes
near_duplicates_stackv1
bool
2 classes
near_duplicates_stackv2
bool
1 class
754,441
KiwiModel_SahTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_SahTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SAH~ // // ================================================================================ // class SahTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); SahTilde(flip::Default& d): model::Object(d){}; SahTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,651
C++
.h
30
49.233333
90
0.495507
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,442
KiwiModel_Trigger.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Trigger.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // TRIGGER // // ================================================================================ // class Trigger : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Trigger(flip::Default& d) : model::Object(d) {} Trigger(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; private: // methods static std::string getTypeDescription(tool::Atom const& atom); }; }}
1,774
C++
.h
32
48.625
90
0.50758
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,443
KiwiModel_SwitchTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_SwitchTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SWITCH~ // // ================================================================================ // class SwitchTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); SwitchTilde(flip::Default& d) : model::Object(d) {} SwitchTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,673
C++
.h
30
49.566667
90
0.5
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,444
KiwiModel_Toggle.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Toggle.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT TOGGLE // // ================================================================================ // class Toggle : public model::Object { public: // enum enum Signal : SignalKey { OutputValue }; public: // methods static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Toggle(flip::Default& d); Toggle(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,823
C++
.h
35
43.257143
91
0.48503
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,445
KiwiModel_SfRecordTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_SfRecordTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SFRECORD~ // // ================================================================================ // class SfRecordTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); SfRecordTilde(flip::Default& d) : model::Object(d) {} SfRecordTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,733
C++
.h
32
46.59375
91
0.491315
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,446
KiwiModel_SnapshotTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_SnapshotTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SNAPSHOT~ // // ================================================================================ // class SnapshotTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); SnapshotTilde(flip::Default& d): model::Object(d){}; SnapshotTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,674
C++
.h
30
49.733333
90
0.503497
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,447
KiwiModel_MinusTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_MinusTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT -~ // // ================================================================================ // class MinusTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); MinusTilde(flip::Default& d): OperatorTilde(d){}; MinusTilde(std::vector<tool::Atom> const& args); }; }}
1,648
C++
.h
29
49.482759
91
0.487313
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,448
KiwiModel_PlusTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_PlusTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT PLUS~ // // ================================================================================ // class PlusTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); PlusTilde(flip::Default& d): model::OperatorTilde(d){}; PlusTilde(std::vector<tool::Atom> const& args); }; }}
1,652
C++
.h
29
49.62069
91
0.489942
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,449
KiwiModel_Times.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Times.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT TIMES // // ================================================================================ // class Times : public Operator { public: Times(flip::Default& d) : Operator(d) {} Times(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,660
C++
.h
30
48.166667
91
0.488372
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,450
KiwiModel_OscTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_OscTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT OSC~ // // ================================================================================ // class OscTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); OscTilde(flip::Default& d): model::Object(d){}; OscTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,710
C++
.h
30
49.233333
91
0.489924
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,451
KiwiModel_Divide.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Divide.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT DIVIDE // // ================================================================================ // class Divide : public Operator { public: Divide(flip::Default& d) : Operator(d) {} Divide(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,663
C++
.h
30
48.266667
91
0.490006
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,452
KiwiModel_Gate.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Gate.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // GATE // // ================================================================================ // class Gate : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Gate(flip::Default& d) : model::Object(d) {} Gate(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,652
C++
.h
30
48.866667
90
0.49192
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,453
KiwiModel_NewBox.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_NewBox.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // NEWBOX // // ================================================================================ // class NewBox : public model::Object { public: //! @brief flip Default Constructor. NewBox(flip::Default& d) : model::Object(d) {} //! @brief Constructor. NewBox(); std::string getIODescription(bool is_inlet, size_t index) const override; //! @brief Declaration method. static void declare(); //! @brief The object's creation method. static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,839
C++
.h
34
46.058824
91
0.488616
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,454
KiwiModel_ClipTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_ClipTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // CLIP~ // // ================================================================================ // class ClipTilde : public Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); ClipTilde(flip::Default& d): Object(d){}; ClipTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,697
C++
.h
30
48.866667
91
0.486041
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,455
KiwiModel_Different.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Different.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT DIFFERENT // // ================================================================================ // class Different : public Operator { public: Different(flip::Default& d) : Operator(d) {} Different(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,672
C++
.h
30
48.566667
91
0.494872
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,456
KiwiModel_Scale.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Scale.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SCALE // // ================================================================================ // class Scale : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Scale(flip::Default& d): model::Object(d){}; Scale(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,654
C++
.h
30
48.933333
90
0.493867
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,457
KiwiModel_Delay.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Delay.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT DELAY // // ================================================================================ // class Delay : public model::Object { public: // methods Delay(flip::Default& d) : model::Object(d) {}; Delay(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,714
C++
.h
30
49.366667
91
0.488693
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,458
KiwiModel_EqualTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_EqualTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT ==~ // // ================================================================================ // class EqualTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); EqualTilde(flip::Default& d): OperatorTilde(d){}; EqualTilde(std::vector<tool::Atom> const& args); }; }}
1,649
C++
.h
29
49.517241
92
0.486996
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,459
KiwiModel_MeterTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_MeterTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // METER~ // // ================================================================================ // class MeterTilde : public model::Object { public: // enum enum Signal : SignalKey { PeakChanged }; public: // methods static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); MeterTilde(flip::Default& d); MeterTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override final; }; } }
1,786
C++
.h
36
42.555556
90
0.496068
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,460
KiwiModel_NoiseTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_NoiseTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // NOISE~ // // ================================================================================ // class NoiseTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); NoiseTilde(flip::Default& d): model::Object(d){}; NoiseTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,669
C++
.h
30
49.433333
90
0.498721
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,461
KiwiModel_Slider.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Slider.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <string> #include <vector> #include <flip/detail/Default.h> #include <flip/Bool.h> #include <KiwiModel/KiwiModel_Object.h> #include <KiwiTool/KiwiTool_Atom.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT SLIDER // // ================================================================================ // class Slider : public model::Object { public: // enum enum Signal : SignalKey { OutputValue }; public: // methods Slider(flip::Default& d); Slider(); std::string getIODescription(bool is_inlet, size_t index) const override; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,906
C++
.h
40
40.05
91
0.500285
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,462
KiwiModel_Greater.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Greater.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT GREATER // // ================================================================================ // class Greater : public Operator { public: Greater(flip::Default& d) : Operator(d) {} Greater(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,666
C++
.h
30
48.366667
91
0.491634
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,463
KiwiModel_Plus.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Plus.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT PLUS // // ================================================================================ // class Plus : public Operator { public: Plus(flip::Default& d) : Operator(d) {} Plus(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,657
C++
.h
30
48.066667
91
0.486731
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,464
KiwiModel_TimesTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_TimesTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT *~ // // ================================================================================ // class TimesTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); TimesTilde(flip::Default& d): OperatorTilde(d){}; TimesTilde(std::vector<tool::Atom> const& args); }; }}
1,648
C++
.h
29
49.482759
91
0.487313
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,465
KiwiModel_Select.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Select.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SELECT // // ================================================================================ // class Select : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Select(flip::Default& d) : model::Object(d) {} Select(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,658
C++
.h
30
49.066667
90
0.495171
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,466
KiwiModel_SfPlayTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_SfPlayTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SFPLAY~ // // ================================================================================ // class SfPlayTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); SfPlayTilde(flip::Default& d) : model::Object(d) {} SfPlayTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,727
C++
.h
32
46.40625
91
0.488169
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,467
KiwiModel_LessEqualTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_LessEqualTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT <=~ // // ================================================================================ // class LessEqualTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); LessEqualTilde(flip::Default& d): OperatorTilde(d){}; LessEqualTilde(std::vector<tool::Atom> const& args); }; }}
1,661
C++
.h
29
49.931034
92
0.490968
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,468
KiwiModel_OSCSend.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_OSCSend.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OSC.send // // ================================================================================ // class OSCSend : public model::Object { public: //! @brief flip Default Constructor. OSCSend(flip::Default& d) : model::Object(d) {} //! @brief Constructor. OSCSend(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; //! @brief Declaration method. static void declare(); //! @brief The object's creation method. static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,877
C++
.h
34
47.176471
91
0.495146
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,469
KiwiModel_PhasorTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_PhasorTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // PHASOR~ // // ================================================================================ // class PhasorTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); PhasorTilde(flip::Default& d): model::Object(d){}; PhasorTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,668
C++
.h
30
49.533333
90
0.500319
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,470
KiwiModel_Print.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Print.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT PRINT // // ================================================================================ // class Print : public model::Object { public: // methods Print(flip::Default& d) : model::Object(d) {} Print(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,723
C++
.h
30
49.333333
91
0.489001
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,471
KiwiModel_Hub.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Hub.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <flip/Message.h> #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT HUB // // ================================================================================ // class Hub : public model::Object { public: // methods Hub(flip::Default& d); Hub(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; void writeAttribute(std::string const& name, tool::Parameter const& parameter) override final; void readAttribute(std::string const& name, tool::Parameter & parameter) const override final; bool attributeChanged(std::string const& name) const override final; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); private: // members flip::Message<std::string> m_message; }; }}
2,123
C++
.h
36
49.722222
103
0.528594
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,472
KiwiModel_Unpack.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Unpack.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // UNPACK // // ================================================================================ // class Unpack : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Unpack(flip::Default& d) : model::Object(d) {} Unpack(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,658
C++
.h
30
49.066667
90
0.495171
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,473
KiwiModel_FaustTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_FaustTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <flip/Message.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT FAUST~ // // ================================================================================ // class FaustTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); FaustTilde(flip::Default& d); FaustTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; void setDSPCode(std::string const& newcode); std::string getDSPCode() const; void setEditCode(std::string const& newcode); std::string getEditCode() const; void setCompileOptions(std::vector<std::string> const& newcompileoptions); std::vector<std::string> getCompileOptions() const; int64_t getLockState() const; void writeAttribute(std::string const& name, tool::Parameter const& parameter) override; void readAttribute(std::string const& name, tool::Parameter & parameter) const override; bool attributeChanged(std::string const& name) const override; private: class iString : public flip::Object { public: flip::String value; static void declare(); iString(flip::Default& d); iString(flip::String&& v); iString(std::string const& v); }; flip::String m_dsp_code; flip::Message<std::string> m_dsp_code_changed; flip::String m_edit_code; flip::Message<std::string> m_edit_code_changed; flip::Int m_lock_state; flip::Array<iString> m_compiles_options; flip::Message<std::string> m_compiles_options_changed; }; }}
3,161
C++
.h
58
43.431034
96
0.545804
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,474
KiwiModel_DifferentTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_DifferentTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT !=~ // // ================================================================================ // class DifferentTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); DifferentTilde(flip::Default& d): OperatorTilde(d){}; DifferentTilde(std::vector<tool::Atom> const& args); }; }}
1,660
C++
.h
29
49.896552
91
0.491285
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,475
KiwiModel_GateTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_GateTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // GATE~ // // ================================================================================ // class GateTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); GateTilde(flip::Default& d) : model::Object(d) {} GateTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,667
C++
.h
30
49.366667
90
0.496799
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,476
KiwiModel_GreaterTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_GreaterTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT >~ // // ================================================================================ // class GreaterTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); GreaterTilde(flip::Default& d): OperatorTilde(d){}; GreaterTilde(std::vector<tool::Atom> const& args); }; }}
1,654
C++
.h
29
49.689655
91
0.489307
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,477
KiwiModel_Comment.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Comment.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <flip/String.h> #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT COMMENT // // ================================================================================ // class Comment : public model::Object { public: // methods Comment(flip::Default& d); Comment(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; void writeAttribute(std::string const& name, tool::Parameter const& parameter) override final; void readAttribute(std::string const& name, tool::Parameter & parameter) const override final; bool attributeChanged(std::string const& name) const override final; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); private: // members flip::String m_comment_text; }; }}
2,119
C++
.h
36
49.777778
103
0.532134
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,478
KiwiModel_GreaterEqual.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_GreaterEqual.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT GREATEREQUAL // // ================================================================================ // class GreaterEqual : public Operator { public: GreaterEqual(flip::Default& d) : Operator(d) {} GreaterEqual(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,681
C++
.h
30
48.866667
91
0.499681
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,479
KiwiModel_Loadmess.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Loadmess.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT LOADMESS // // ================================================================================ // class Loadmess : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Loadmess(flip::Default& d) : model::Object(d) {} Loadmess(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,711
C++
.h
30
49.266667
91
0.492763
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,480
KiwiModel_Float.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Float.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // FLOAT // // ================================================================================ // class Float : public Object { public: Float(flip::Default& d) : Object(d) {} Float(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,686
C++
.h
30
48.5
91
0.482428
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,481
KiwiModel_Random.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Random.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // RANDOM // // ================================================================================ // class Random : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Random(flip::Default& d): model::Object(d){}; Random(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,657
C++
.h
30
49.033333
90
0.49549
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,482
KiwiModel_Switch.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Switch.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // SWITCH // // ================================================================================ // class Switch : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Switch(flip::Default& d) : model::Object(d) {} Switch(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,658
C++
.h
30
49.066667
90
0.495171
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,483
KiwiModel_Pack.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Pack.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // PACK // // ================================================================================ // class Pack : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Pack(flip::Default& d) : model::Object(d) {} Pack(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; private: // methods static std::string getTypeDescription(tool::Atom const& atom); }; }}
1,765
C++
.h
32
48.34375
90
0.503049
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,484
KiwiModel_AdcTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_AdcTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT ADC~ // // ================================================================================ // //! @todo Check better way to get routes. class AdcTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); AdcTilde(flip::Default& d): model::Object(d){} AdcTilde(std::vector<tool::Atom> const& args); std::vector<size_t> parseArgsAsChannelRoutes(std::vector<tool::Atom> const& args) const; std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,864
C++
.h
32
50.15625
97
0.506358
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,485
KiwiModel_NumberTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_NumberTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiTool/KiwiTool_Atom.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT NUMBER TILDE // // ================================================================================ // class NumberTilde : public model::Object { public: // methods NumberTilde(flip::Default& d); NumberTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,742
C++
.h
31
48.806452
92
0.503385
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,486
KiwiModel_Message.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Message.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <flip/String.h> #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT SLIDER // // ================================================================================ // class Message : public model::Object { public: // classes enum Signal : SignalKey { outputMessage }; public: // methods Message(flip::Default& d); Message(); std::string getIODescription(bool is_inlet, size_t index) const override; void writeAttribute(std::string const& name, tool::Parameter const& parameter) override final; void readAttribute(std::string const& name, tool::Parameter & parameter) const override final; bool attributeChanged(std::string const& name) const override final; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); private: // members flip::String m_message_text; }; }}
2,221
C++
.h
41
44.243902
103
0.52336
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,487
KiwiModel_OperatorTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OPERATOR TILDE // // ================================================================================ // class OperatorTilde : public model::Object { public: // methods OperatorTilde(flip::Default& d) : model::Object(d) {} OperatorTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; static void declare(); }; }}
1,642
C++
.h
29
49.275862
91
0.48857
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,488
KiwiModel_Number.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Number.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiTool/KiwiTool_Atom.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT NUMBER // // ================================================================================ // class Number : public model::Object { public: // enum enum Signal : SignalKey { OutputValue }; public: // methods Number(flip::Default& d); Number(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,841
C++
.h
36
43.027778
91
0.492941
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,489
KiwiModel_Mtof.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Mtof.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // MTOF // // ================================================================================ // class Mtof : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Mtof(flip::Default& d) : model::Object(d) {} Mtof(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,652
C++
.h
30
48.866667
90
0.49192
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,490
KiwiModel_Modulo.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Modulo.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT MODULO // // ================================================================================ // class Modulo : public Operator { public: Modulo(flip::Default& d) : Operator(d) {} Modulo(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,663
C++
.h
30
48.266667
91
0.490006
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,491
KiwiModel_Equal.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Equal.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT EQUAL // // ================================================================================ // class Equal : public Operator { public: Equal(flip::Default& d) : Operator(d) {} Equal(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,660
C++
.h
30
48.166667
91
0.488372
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,492
KiwiModel_LessTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_LessTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT <~ // // ================================================================================ // class LessTilde : public OperatorTilde { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); LessTilde(flip::Default& d): OperatorTilde(d){}; LessTilde(std::vector<tool::Atom> const& args); }; }}
1,645
C++
.h
29
49.37931
91
0.48631
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,493
KiwiModel_Pow.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Pow.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT POW // // ================================================================================ // class Pow : public Operator { public: Pow(flip::Default& d) : Operator(d) {} Pow(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,654
C++
.h
30
47.966667
91
0.485084
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,494
KiwiModel_Route.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Route.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // ROUTE // // ================================================================================ // class Route : public model::Object { public: //! @brief flip Default Constructor. Route(flip::Default& d) : model::Object(d) {} //! @brief Constructor. Route(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; //! @brief Declaration method. static void declare(); //! @brief The object's creation method. static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,876
C++
.h
35
45.628571
91
0.491138
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,495
KiwiModel_ErrorBox.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_ErrorBox.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // ERRORBOX // // ================================================================================ // class ErrorBox : public model::Object { public: //! @brief flip Default Constructor ErrorBox(flip::Default& d) : model::Object(d) {} //! @brief Constructor ErrorBox(); //! @brief Set the number of inlets. //! @param inlets The number of inlets. void setInlets(flip::Array<Inlet> const& inlets); //! @brief Set the number of inlets. //! @param inlets The number of inlets. void setOutlets(flip::Array<Outlet> const& outlets); //! @brief Sets the message error that caused the errorbox construction. void setError(std::string const& error); //! @brief Returns the error that caused the errorbox construction. std::string getError() const; std::string getIODescription(bool is_inlet, size_t index) const override; //! @internal flip static declare method static void declare(); //! @brief The error box construction method. static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); private: // members std::string m_error; }; }}
2,532
C++
.h
46
45.282609
91
0.529563
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,496
KiwiModel_Metro.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Metro.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT METRO // // ================================================================================ // class Metro : public model::Object { public: // methods static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); Metro(flip::Default& d) : model::Object(d) {}; Metro(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,714
C++
.h
30
49.366667
91
0.488693
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,497
KiwiModel_Operator.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Objects/KiwiModel_OperatorTilde.h> namespace kiwi { namespace model { // ================================================================================ // // OPERATOR // // ================================================================================ // class Operator : public model::Object { public: // methods Operator(flip::Default& d) : model::Object(d) {} Operator(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; static void declare(); }; }}
1,652
C++
.h
29
49.62069
91
0.487346
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,498
KiwiModel_LineTilde.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_LineTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace model { // ================================================================================ // // LINE~ // // ================================================================================ // class LineTilde : public model::Object { public: static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); LineTilde(flip::Default& d): model::Object(d){}; LineTilde(std::vector<tool::Atom> const& args); std::string getIODescription(bool is_inlet, size_t index) const override; }; }}
1,662
C++
.h
30
49.333333
90
0.497117
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,499
KiwiModel_Minus.h
Musicoll_Kiwi/Modules/KiwiModel/KiwiModel_Objects/KiwiModel_Minus.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiModel/KiwiModel_Object.h> #include <KiwiModel/KiwiModel_Objects/KiwiModel_Operator.h> namespace kiwi { namespace model { // ================================================================================ // // OBJECT MINUS // // ================================================================================ // class Minus : public Operator { public: Minus(flip::Default& d) : Operator(d) {} Minus(std::vector<tool::Atom> const& args); static void declare(); static std::unique_ptr<Object> create(std::vector<tool::Atom> const& args); }; }}
1,660
C++
.h
30
48.166667
91
0.488372
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,500
KiwiEngine_Object.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Object.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <functional> #include <set> #include <string> #include <atomic> #include <flip/Ref.h> #include <KiwiEngine/KiwiEngine_Def.h> #include <KiwiTool/KiwiTool_Scheduler.h> #include <KiwiTool/KiwiTool_ConcurrentQueue.h> #include <KiwiEngine/KiwiEngine_Patcher.h> #include <KiwiDsp/KiwiDsp_Processor.h> #include <KiwiModel/KiwiModel_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT // // ================================================================================ // //! @brief The Object reacts and interacts with other ones by sending and receiving messages via its inlets and outlets. class Object : public model::Object::Listener { public: // methods //! @brief Constructor. Object(model::Object const& model, Patcher& patcher) noexcept; //! @brief Destructor. virtual ~Object() noexcept; private: // methods //! @brief Receives a set of arguments via an inlet. //! @details This method must be overriden by object's subclasses. virtual void receive(size_t index, std::vector<tool::Atom> const& args) = 0; public: // methods //! @brief Called when the Patcher is loaded. virtual void loadbang() {}; //! @internal Appends a new Link to an outlet. void addOutputLink(flip::Ref link_ref, size_t outlet_index, Object & receiver, size_t inlet_index); //! @internal Removes a Link from an outlet. void removeOutputLink(flip::Ref link_ref, size_t outlet_index); //! @brief Called when a parameter has changed. void modelParameterChanged(std::string const& name, tool::Parameter const& parameter) override final; //! @brief Called when an attribute has changed. void modelAttributeChanged(std::string const& name, tool::Parameter const& parameter) override final; protected: // methods // ================================================================================ // // CONSOLE // // ================================================================================ // //! @brief post a log message in the Console. void log(std::string const& text) const; //! @brief post a message in the Console. void post(std::string const& text) const; //! @brief post a warning message in the Console. void warning(std::string const& text) const; //! @brief post an error message in the Console. void error(std::string const& text) const; // ================================================================================ // // SCHEDULER // // ================================================================================ // //! @brief Returns the engine's scheduler. tool::Scheduler<> & getScheduler() const; //! @brief Returns the main scheduler. tool::Scheduler<> & getMainScheduler() const; //! @brief Defers a task on the engine thread. //! @details The task is automatically unscheduled when object is destroyed. void defer(std::function<void()> call_back); //! @brief Defers a task on the main thread. //! @details The tasks is automatically unscheduled when object is destroyed. void deferMain(std::function<void()> call_back); //! @brief Schedules a task on the engine thread. //! @details The tasks is automatically unscheduled when object is destroyed. void schedule(std::function<void()> call_back, tool::Scheduler<>::duration_t delay); //! @brief Schedules a task on the main thread. //! @details The tasks is automatically unscheduled when object is destroyed. void scheduleMain(std::function<void()> call_back, tool::Scheduler<>::duration_t delay); // ================================================================================ // // BEACON // // ================================================================================ // //! @brief Gets or creates a Beacon with a given name. tool::Beacon& getBeacon(std::string const& name) const; // ================================================================================ // // SEND // // ================================================================================ // //! @brief Sends a vector of Atom via an outlet. //! @todo Improve the stack overflow system. //! @todo See if the method must be noexcept. void send(const size_t index, std::vector<tool::Atom> const& args); //! @brief Changes one of the data model's attributes. //! @details For thread safety actual model's modification is called on the main thread. void setAttribute(std::string const& name, tool::Parameter && parameter); //! @brief Changes one of the data model's parameter. //! @details For thread safety actual model's modification is called on the main thread. void setParameter(std::string const& name, tool::Parameter && parameter); protected: // methods //! @brief Returns the object's data model. model::Object & getObjectModel(); private: // methods //! @brief Called once the data model's parameters has changed. //! @details Automatically called on the engine's thread. virtual void parameterChanged(std::string const& param_name, tool::Parameter const& param); //! @brief Called once one of the data model's attributes has changed. //! @details Automatically called on the engine's thread. virtual void attributeChanged(std::string const& name, tool::Parameter const& attribute); //! @brief Called by the patcher when the stack-overflow is cleared. void clearStackOverflow(); private: // members using Outlet = std::map<flip::Ref, Link>; Patcher& m_patcher; flip::Ref const m_ref; size_t m_inlets; std::vector<Outlet> m_outlets; std::shared_ptr<Object> m_master; static constexpr size_t m_stack_overflow_max = 12; private: // deleted methods friend engine::Patcher; Object(Object const&) = delete; Object(Object&&) = delete; Object& operator=(Object const&) = delete; Object& operator=(Object&&) = delete; }; typedef std::shared_ptr<Object> sObject; // ================================================================================ // // AUDIOOBJECT // // ================================================================================ // //! @brief A pure interface that audio object must implement. //! @details audio objects will be held and triggered by both the engine and the dsp chain. class AudioObject : public engine::Object, public dsp::Processor { public: // methods //! @brief Constructor. AudioObject(model::Object const& model, Patcher& patcher) noexcept; //! @brief Destructor. virtual ~AudioObject() = default; }; } }
9,809
C++
.h
148
50.783784
129
0.487028
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,501
KiwiEngine_Def.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Def.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <cstddef> #include <vector> #include <set> #include <map> #include <queue> #include <exception> #include <functional> #include <KiwiTool/KiwiTool_Atom.h> #include <KiwiTool/KiwiTool_Scheduler.h> namespace kiwi { namespace model { class Link; class Object; class Patcher; } namespace engine { class Link; class Object; class Patcher; class Instance; } }
1,378
C++
.h
40
29.275
91
0.57362
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,502
KiwiEngine_Patcher.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Patcher.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <map> #include <flip/Ref.h> #include <KiwiTool/KiwiTool_Beacon.h> #include "KiwiEngine_Def.h" #include "KiwiEngine_AudioControler.h" #include <KiwiDsp/KiwiDsp_Chain.h> #include <KiwiModel/KiwiModel_PatcherUser.h> namespace kiwi { namespace engine { // ================================================================================ // // PATCHER // // ================================================================================ // //! @brief The Patcher manages a set of Object and Link. class Patcher { private: // classes class CallBack; public: // methods //! @brief Constructor. Patcher(Instance& instance, model::Patcher & patcher_model) noexcept; //! @brief Destructor. ~Patcher(); //! @internal The model changed. void modelChanged(model::Patcher const& model); //! @brief Adds a link to the current stack overflow list (or create a new list if there is no). //! @internal Only the Object should use this method. void signalStackOverflow(flip::Ref ref); //! @brief Gets the lists of stack overflow. bool stackOverflowDetected() const; //! @brief Clears the stack overflow. void clearStackOverflow(); //! @brief Returns the audio controler held by the patcher's instance. AudioControler& getAudioControler() const; //! @internal Call the loadbang method of all objects. void sendLoadbang(); //! @brief Returns the patcher's data model. model::Patcher & getPatcherModel(); // ================================================================================ // // CONSOLE // // ================================================================================ // //! @brief post a log message in the Console. void log(std::string const& text) const; //! @brief post a message in the Console. void post(std::string const& text) const; //! @brief post a warning message in the Console. void warning(std::string const& text) const; //! @brief post an error message in the Console. void error(std::string const& text) const; // ================================================================================ // // SCHEDULER // // ================================================================================ // //! @brief Returns the engine's scheduler. tool::Scheduler<> & getScheduler() const; //! @brief Returns the main scheduler tool::Scheduler<> & getMainScheduler() const; // ================================================================================ // // BEACON // // ================================================================================ // //! @brief Gets or creates a Beacon with a given name. tool::Beacon& getBeacon(std::string const& name) const; private: // methods //! @brief Called when the stack-overflow is cleared. void onStackOverflowCleared(); //! @brief Updates the dsp chain held by the engine patcher void updateChain(); //! @internal Update the patcher's graph according to datamodel. void updateGraph(model::Patcher const& patcher_model); //! @internal Updates obects' parameters according to there data model. void updateAttributes(model::Patcher const& patcher_model); //! @internal Object model has just been added to the document. void objectAdded(model::Object const& object); //! @internal Object model has changed. void objectChanged(model::Object const& object); //! @internal Object model will be removed from the document. void objectRemoved(model::Object const& object); //! @internal Link model has just been added to the document. void linkAdded(model::Link const& link); //! @internal Link model has changed. void linkChanged(model::Link const& link_m); //! @internal Link model will be removed from the document. void linkRemoved(model::Link const& link_m); private: // members Instance& m_instance; std::map<flip::Ref, std::shared_ptr<Object>> m_objects {}; dsp::Chain m_chain {}; model::Patcher& m_patcher_model; bool m_has_stack_overflow = false; bool m_dsp_chain_need_update = false; flip::SignalConnection m_stack_overflow_cleared_signal_cnx; private: // deleted methods Patcher(Patcher const&) = delete; Patcher(Patcher&&) = delete; Patcher& operator=(Patcher const&) = delete; Patcher& operator=(Patcher&&) = delete; }; }}
6,651
C++
.h
110
48.709091
105
0.49175
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,503
KiwiEngine_AudioControler.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_AudioControler.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiDsp/KiwiDsp_Chain.h> #include <KiwiDsp/KiwiDsp_Signal.h> namespace kiwi { namespace engine { //! @brief AudioControler is a pure interface that enable controling audio in kiwi. //! @details AudioControler enables the engine to control audio without knowing //! it's implementation depending on other libraries. //! @see DspDeviceManager class AudioControler { public: // methods //! @brief the default constructor AudioControler() = default; //! @brief The destuctor. virtual ~AudioControler() = default; //! @brief Starts the audio thread. virtual void startAudio() = 0; //! @brief Stops the audio thread. virtual void stopAudio() = 0; //! @brief Returns true if the audio is on. virtual bool isAudioOn() const = 0; //! @brief Adds a chain to be ticked by the audio thread. virtual void add(dsp::Chain& chain) = 0; //! @brief Removes a chain from the ticked chains list. virtual void remove(dsp::Chain& chain) = 0; //! @brief Adds a signal to the output_buffer of the AudioControler. virtual void addToChannel(size_t const channel, dsp::Signal const& output_signal) = 0; //! @brief Gets a signal from one of the input channels of the AudioControler. virtual void getFromChannel(size_t const channel, dsp::Signal & input_signal) = 0; private: // deleted methods AudioControler(AudioControler const& other) = delete; AudioControler(AudioControler && other) = delete; AudioControler& operator=(AudioControler const& other) = delete; AudioControler& operator=(AudioControler && other) = delete; }; } }
2,881
C++
.h
54
42.740741
98
0.602848
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,504
KiwiEngine_Instance.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Instance.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <thread> #include <atomic> #include "flip/Document.h" #include <KiwiTool/KiwiTool_Beacon.h> #include "KiwiEngine_Console.h" #include "KiwiEngine_Patcher.h" #include "KiwiEngine_AudioControler.h" namespace kiwi { namespace engine { // ================================================================================ // // INSTANCE // // ================================================================================ // //! @brief The Instance adds the engine objects to the engine::Factory //! @details The patcher document model must be initialised before creating the Instance //! The Instance is also the entry point to retrieve beacons and output messages to the console. class Instance : public tool::Beacon::Factory { public: // methods //! @brief Constructs an Instance and adds the engine objects to the engine::Factory. Instance(std::unique_ptr<AudioControler> audio_controler, tool::Scheduler<> & main_scheduler); //! @brief Destructor. ~Instance(); // ================================================================================ // // CONSOLE // // ================================================================================ // //! @brief post a log message in the Console. void log(std::string const& text) const; //! @brief post a message in the Console. void post(std::string const& text) const; //! @brief post a warning message in the Console. void warning(std::string const& text) const; //! @brief post an error message in the Console. void error(std::string const& text) const; //! @brief Adds a console listener. void addConsoleListener(Console::Listener& listener); //! @brief Removes a console listener. void removeConsoleListener(Console::Listener& listener); // ================================================================================ // // AUDIO CONTROLER // // ================================================================================ // AudioControler& getAudioControler() const; // ================================================================================ // // SCHEDULER // // ================================================================================ // //! @brief Returns the engine's scheduler. tool::Scheduler<> & getScheduler(); //! @brief Returns the main's scheduler. tool::Scheduler<> & getMainScheduler(); private: // methods //! @internal Processes the scheduler to check if new messages have been added. void processScheduler(); private: // members Console m_console; std::unique_ptr<AudioControler> m_audio_controler; tool::Scheduler<> m_scheduler; tool::Scheduler<>& m_main_scheduler; std::atomic<bool> m_quit; std::thread m_engine_thread; private: // deleted methods Instance(Instance const&) = delete; Instance(Instance&&) = delete; Instance& operator=(Instance const&) = delete; Instance& operator=(Instance&&) = delete; }; } }
5,061
C++
.h
83
47.325301
107
0.443583
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,505
KiwiEngine_Factory.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Factory.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <functional> #include <map> #include <string> #include <memory> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT FACTORY // // ================================================================================ // //! @brief The engine Object's factory class Factory { public: // classes using ctor_fn_t = std::function<std::unique_ptr<Object>(model::Object const& model, Patcher& patcher)>; public: // methods //! @brief Adds an object engine into the Factory. //! @details This function adds a new object engine to the factory. //! If the name of the object already exists, the function does nothing, //! otherwise the object is added to the factory. //! @param name The name of the object. template <class TEngine, typename std::enable_if<std::is_base_of<Object, TEngine>::value, Object>::type* = nullptr> static void add(std::string const& name, ctor_fn_t create_method) { static_assert(!std::is_abstract<TEngine>::value, "The engine object must not be abstract."); static_assert(std::is_constructible<TEngine, model::Object const&, Patcher&>::value, "The engine object must have a valid constructor."); assert(!name.empty()); assert(modelHasObject(name) && "The model counterpart does not exist"); assert(m_creators.count(name) == 0 && "The object already exists"); m_creators[name] = create_method; } //! @brief Creates a new engine Object. //! @param model The model::Object. //! @return An engine object. static std::unique_ptr<Object> create(Patcher& patcher, model::Object const& model); //! @brief Returns true if a given string match a registered Object name. //! @param name The name of the object engine to find. //! @return true if the object has been added, otherwise false. static bool has(std::string const& name); private: // methods static bool modelHasObject(std::string const& name); static std::map<std::string, ctor_fn_t> m_creators; private: // deleted methods Factory() = delete; ~Factory() = delete; }; } }
3,878
C++
.h
70
41.585714
116
0.519619
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,506
KiwiEngine_Link.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Link.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include "KiwiEngine_Def.h" namespace kiwi { namespace engine { // ================================================================================ // // LINK // // ================================================================================ // //! @brief The Link represents the connection between the outlet of an Object to the inlet of another. class Link { public: // methods //! @brief Constructor. Link(Object & receiver, size_t index); //! @brief Copy constructor Link(Link const& other) = default; //! @brief Move constructor Link(Link && other) = default; //! @brief Destructor. ~Link() = default; //! @brief Gets the Object that receives messages. Object & getReceiver() const; //! @brief Gets the index of the inlet of the Link. size_t getReceiverIndex() const; //! @brief returns the stack count (used by the object to detect stack-overflows); size_t& useStackCount(); private: // members engine::Object& m_receiver; size_t m_index = 0; size_t m_stack_count = 0; private: // deleted methods Link& operator=(Link const&) = delete; Link& operator=(Link&&) = delete; }; } }
2,606
C++
.h
51
38.803922
111
0.474018
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,507
KiwiEngine_Console.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Console.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiTool/KiwiTool_Atom.h> #include <KiwiTool/KiwiTool_Listeners.h> namespace kiwi { namespace engine { // ================================================================================ // // CONSOLE // // ================================================================================ // //! @brief The console is an interface that let you print messages. class Console { public: // methods //! @brief Constructor Console() = default; //! @brief Destructor ~Console() = default; //! @brief The Console Message owns the informations of a message posted via a console. class Message { public: //! @brief Type of message enum class Type { Log = 0, Normal, Warning, Error }; std::string text; Type type; }; //! @brief Print a post-type message in the console. void post(Message const& mess) const; // ================================================================================ // // CONSOLE LISTENER // // ================================================================================ // //! @brief You can inherit from this class to receive console changes. class Listener { public: virtual ~Listener() = default; //! @brief Receive the Console messages. virtual void newConsoleMessage(Console::Message const& message) = 0; }; //! @brief Adds a Console listener. void addListener(Listener& listener); //! @brief Removes a Console listener. void removeListener(Listener& listener); private: // members tool::Listeners<Listener> m_listeners; }; } }
3,256
C++
.h
69
34.623188
99
0.430954
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,508
KiwiEngine_LineTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_LineTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> #include <queue> namespace kiwi { namespace engine { class Ramp { public: // classes struct ValueTimePair { ValueTimePair(dsp::sample_t value_, dsp::sample_t time_ms_) : value(value_) , time_ms(time_ms_) { assert(time_ms_ >= 0.); } dsp::sample_t value; dsp::sample_t time_ms; }; public: // methods //! @brief Constructor Ramp(dsp::sample_t start = 0) noexcept; //! @brief Set sample rate. //! @details The sample rate is used to compute the step value of the ramp. //! @param sample_rate The current sample rate. void setSampleRate(double sample_rate) noexcept; //! @brief Set the function to call when the ramp reached its final destination. //! @details This callback function will be called by the getNextValue() method. //! @param callback The callback function to be called. void setEndOfRampCallback(std::function<void()> callback); //! @brief Set a new value directly. //! @param new_value New value void setValueDirect(dsp::sample_t new_value) noexcept; //! @brief Resets the value-time pairs of the ramp. //! @param value_time_pairs A vector of ValueTimePair. void setValueTimePairs(std::vector<ValueTimePair> value_time_pairs); //! @brief Compute and returns the next value. //! @details The sampling rate must be set before calling this method. dsp::sample_t getNextValue() noexcept; //! @brief Returns the current value. dsp::sample_t getValue() noexcept; private: // methods void reset(); void setNextValueTime(ValueTimePair const& value_time_pair) noexcept; void triggerNextRamp(); private: // variables std::mutex m_lock; double m_sr = 0.; dsp::sample_t m_current_value = 0, m_destination_value = 0, m_step = 0; int m_countdown = 0, m_steps_to_destination = 0; std::vector<ValueTimePair> m_value_time_pairs {}; size_t m_valuetime_pairs_countdown = 0; std::function<void()> m_ramp_ended_callback = nullptr; bool m_should_notify_end {false}; }; // ================================================================================ // // LINE~ // // ================================================================================ // class LineTilde : public AudioObject { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); LineTilde(model::Object const& model, Patcher& patcher); ~LineTilde(); void receive(size_t index, std::vector<tool::Atom> const& args) override; void prepare(dsp::Processor::PrepareInfo const& infos) override; void perform(dsp::Buffer const& input, dsp::Buffer& output) noexcept; private: // methods std::vector<Ramp::ValueTimePair> parseAtomsAsValueTimePairs(std::vector<tool::Atom> const& atoms) const; private: // variables class BangTask; std::shared_ptr<BangTask> m_bang_task; double m_next_ramp_time_ms; bool m_next_ramp_time_consumed; Ramp m_ramp; }; }}
4,626
C++
.h
92
39.630435
112
0.57288
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,509
KiwiEngine_Different.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Different.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT DIFERRENT // // ================================================================================ // class Different : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Different(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,661
C++
.h
30
49.9
92
0.519108
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,510
KiwiEngine_Switch.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Switch.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // SWITCH // // ================================================================================ // class Switch : public engine::Object { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); Switch(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override; private: void openInput(int input); private: size_t m_opened_input; size_t m_num_inputs; }; }}
1,774
C++
.h
34
45.088235
93
0.503053
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,511
KiwiEngine_Minus.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Minus.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT MINUS // // ================================================================================ // class Minus : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Minus(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,653
C++
.h
30
49.633333
92
0.514085
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,512
KiwiEngine_Print.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Print.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT PRINT // // ================================================================================ // class Print : public engine::Object { public: Print(model::Object const& model, Patcher& patcher); void receive(size_t, std::vector<tool::Atom> const& args) override; static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); private: std::string m_name; }; }}
1,662
C++
.h
31
47.322581
92
0.5
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,513
KiwiEngine_SahTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_SahTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // SAH~ // // ================================================================================ // class SahTilde : public AudioObject { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); SahTilde(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override; void prepare(dsp::Processor::PrepareInfo const& infos) override final; void perform(dsp::Buffer const& input, dsp::Buffer& output) noexcept; private: // methods void setThreshold(dsp::sample_t const& value) noexcept; private: // members std::atomic<dsp::sample_t> m_threshold {0.f}; dsp::sample_t m_hold_value {0.f}; dsp::sample_t m_last_ctrl_sample {0.f}; }; }}
2,096
C++
.h
37
48.918919
93
0.529139
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,514
KiwiEngine_TimesTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_TimesTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_OperatorTilde.h> namespace kiwi { namespace engine { // ================================================================================ // // TIMES~ // // ================================================================================ // class TimesTilde : public OperatorTilde { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); TimesTilde(model::Object const& model, Patcher& patcher); void compute(dsp::sample_t & result, dsp::sample_t const& lhs, dsp::sample_t const& rhs) override final; }; }}
1,693
C++
.h
29
52.586207
112
0.511264
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,515
KiwiEngine_SigTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_SigTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // SIG~ // // ================================================================================ // class SigTilde : public AudioObject { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); SigTilde(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override final; void perform(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void prepare(dsp::Processor::PrepareInfo const& infos) override final; private: // members std::atomic<float> m_value{0.f}; }; }}
1,895
C++
.h
33
50.272727
93
0.519886
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,516
KiwiEngine_Greater.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Greater.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT GREATER // // ================================================================================ // class Greater : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Greater(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,657
C++
.h
30
49.766667
92
0.516603
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,517
KiwiEngine_GreaterEqualTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_GreaterEqualTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_OperatorTilde.h> namespace kiwi { namespace engine { // ================================================================================ // // >=~ // // ================================================================================ // class GreaterEqualTilde : public OperatorTilde { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); GreaterEqualTilde(model::Object const& model, Patcher& patcher); void compute(dsp::sample_t & result, dsp::sample_t const& lhs, dsp::sample_t const& rhs); }; }}
1,687
C++
.h
29
52.517241
97
0.509398
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,518
KiwiEngine_NumberTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_NumberTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiTool/KiwiTool_Scheduler.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT NUMBER TILDE // // ================================================================================ // class NumberTilde : public engine::AudioObject, tool::Scheduler<>::Timer { public: // methods NumberTilde(model::Object const& model, Patcher& patcher); void perform(dsp::Buffer const& intput, dsp::Buffer& output); void prepare(dsp::Processor::PrepareInfo const& infos) override final; void release() override final; static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); private: // methods void timerCallBack() override final; void receive(size_t index, std::vector<tool::Atom> const& args) override final; private: // members std::atomic<dsp::sample_t> m_value; size_t m_interval; }; }}
2,137
C++
.h
38
48.842105
92
0.539043
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,519
KiwiEngine_Message.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Message.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> #include <array> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT MESSAGE // // ================================================================================ // class Message : public engine::Object { public: // methods Message(model::Object const& model, Patcher& patcher); ~Message(); void attributeChanged(std::string const& name, tool::Parameter const& param) override final; void receive(size_t index, std::vector<tool::Atom> const& args) override final; void outputMessage(); static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); private: // members void sendMessages(); void prepareMessagesForText(std::string const& text); flip::SignalConnection m_connection; std::array<tool::Atom, 10> m_input_args {}; struct Sequence { Sequence(std::vector<tool::Atom>&& _atoms, bool _has_dollar) : atoms(_atoms), has_dollar(_has_dollar) {} ~Sequence() = default; const std::vector<tool::Atom> atoms {}; const bool has_dollar = false; }; std::vector<Sequence> m_messages {}; }; }}
2,465
C++
.h
48
42.3125
100
0.527778
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,520
KiwiEngine_ErrorBox.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_ErrorBox.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // ERRORBOX // // ================================================================================ // class ErrorBox : public AudioObject { public: ErrorBox(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override; void prepare(dsp::Processor::PrepareInfo const& infos) override final; static void declare(); static std::unique_ptr<Object> create(model::Object const& object, Patcher& patcher); }; }}
1,706
C++
.h
30
50.666667
93
0.51218
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,521
KiwiEngine_Trigger.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Trigger.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // TRIGGER // // ================================================================================ // class Trigger : public engine::Object { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); Trigger(model::Object const& model, Patcher& patcher); ~Trigger() = default; void receive(size_t, std::vector<tool::Atom> const& args) override; private: using trigger_fn_t = std::function<std::vector<tool::Atom>(std::vector<tool::Atom> const&)>; static std::vector<trigger_fn_t> initializeTriggers(std::vector<tool::Atom> const&); const std::vector<trigger_fn_t> m_triggers; }; }}
1,929
C++
.h
34
49.794118
100
0.521088
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,522
KiwiEngine_OSCSend.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_OSCSend.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> #include <juce_osc/juce_osc.h> namespace kiwi { namespace engine { // ================================================================================ // // OSC.send // // ================================================================================ // class OSCSend : public engine::Object { public: // methods OSCSend(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override; static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); private: // methods bool connectToHostAndPort(std::string host, int new_port); juce::OSCSender m_sender; std::string m_host {"127.0.0.1"}; int m_port = 0; }; }}
1,883
C++
.h
36
45.555556
92
0.512835
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,523
KiwiEngine_Clip.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Clip.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <atomic> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // CLIP // // ================================================================================ // class Clip : public Object { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); Clip(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override final; private: // methods double m_minimum; double m_maximum; }; }}
1,733
C++
.h
33
46.242424
93
0.501544
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,524
KiwiEngine_Modulo.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Modulo.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT MODULO // // ================================================================================ // class Modulo : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Modulo(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,655
C++
.h
30
49.7
92
0.515345
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,525
KiwiEngine_OscTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_OscTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OSC~ // // ================================================================================ // class OscTilde : public AudioObject { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); OscTilde(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override; void performValue(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void performFreq(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void performPhase(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void performPhaseAndFreq(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void prepare(dsp::Processor::PrepareInfo const& infos) override final; private: // methods void setFrequency(dsp::sample_t const& freq) noexcept; void setOffset(dsp::sample_t const& offset) noexcept; void setSampleRate(dsp::sample_t const& sample_rate); private: // members dsp::sample_t m_sr = 0.f; dsp::sample_t m_time = 0.f; std::atomic<dsp::sample_t> m_freq{0.f}; std::atomic<dsp::sample_t> m_offset{0.f}; }; }}
2,548
C++
.h
43
50.302326
93
0.555556
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,526
KiwiEngine_Plus.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Plus.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT PLUS // // ================================================================================ // class Plus : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Plus(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,651
C++
.h
30
49.566667
92
0.512821
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,527
KiwiEngine_Hub.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Hub.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT HUB // // ================================================================================ // class Hub : public engine::Object { public: // methods Hub(model::Object const& model, Patcher& patcher); ~Hub(); void attributeChanged(std::string const& name, tool::Parameter const& param) override final; void receive(size_t index, std::vector<tool::Atom> const& args) override final; static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); }; }}
1,762
C++
.h
31
50.258065
100
0.51184
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,528
KiwiEngine_GreaterEqual.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_GreaterEqual.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT GREATEREQUAL // // ================================================================================ // class GreaterEqual : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); GreaterEqual(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,667
C++
.h
30
50.1
92
0.522843
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,529
KiwiEngine_NoiseTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_NoiseTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> #include <random> namespace kiwi { namespace engine { // ================================================================================ // // NOISE~ // // ================================================================================ // class NoiseTilde : public AudioObject { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); NoiseTilde(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override final; void perform(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void prepare(dsp::Processor::PrepareInfo const& infos) override final; private: // members std::random_device m_random_devive; std::mt19937 m_random_generator; std::uniform_real_distribution<dsp::sample_t> m_random_distribution; }; }}
2,103
C++
.h
36
51.305556
93
0.519857
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,530
KiwiEngine_Less.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Less.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT LESS // // ================================================================================ // class Less : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Less(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,651
C++
.h
30
49.566667
92
0.512821
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,531
KiwiEngine_GreaterTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_GreaterTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_OperatorTilde.h> namespace kiwi { namespace engine { // ================================================================================ // // >~ // // ================================================================================ // class GreaterTilde : public OperatorTilde { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); GreaterTilde(model::Object const& model, Patcher& patcher); void compute(dsp::sample_t & result, dsp::sample_t const& lhs, dsp::sample_t const& rhs); }; }}
1,677
C++
.h
29
52.172414
97
0.506305
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,532
KiwiEngine_Random.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Random.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> #include <chrono> #include <random> namespace kiwi { namespace engine { // ================================================================================ // // RANDOM // // ================================================================================ // class Random : public Object { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); Random(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override final; private: // methods void setRange(int64_t range); void setSeed(int64_t new_seed); int64_t getNextRandomValue(); private: // members using clock_t = std::chrono::high_resolution_clock; using rnd_distribution_t = std::uniform_int_distribution<int64_t>; clock_t::time_point m_start_time { clock_t::now() }; std::mt19937 m_random_generator {}; rnd_distribution_t m_random_distribution {0ll, 0ll}; }; }}
2,190
C++
.h
41
45.926829
93
0.532544
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,533
KiwiEngine_Divide.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Divide.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT DIVIDE // // ================================================================================ // class Divide : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Divide(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,655
C++
.h
30
49.7
92
0.515345
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,534
KiwiEngine_LessEqual.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_LessEqual.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT LESSEQUAL // // ================================================================================ // class LessEqual : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); LessEqual(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,661
C++
.h
30
49.9
92
0.519108
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,535
KiwiEngine_NewBox.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_NewBox.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // NEWBOX // // ================================================================================ // class NewBox : public engine::Object { public: // methods NewBox(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override; static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); }; }}
1,627
C++
.h
29
50.310345
92
0.498695
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,536
KiwiEngine_OperatorTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_OperatorTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OPERATOR TILDE // // ================================================================================ // class OperatorTilde : public engine::AudioObject { public: OperatorTilde(model::Object const& model, Patcher& patcher); void prepare(dsp::Processor::PrepareInfo const& infos) override final; void receive(size_t index, std::vector<tool::Atom> const& args) override final; void performValue(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void performVec(dsp::Buffer const& input, dsp::Buffer& output) noexcept; virtual void compute(dsp::sample_t & result, dsp::sample_t const& lhs, dsp::sample_t const& rhs) = 0; protected: std::atomic<dsp::sample_t> m_rhs{0.f}; }; }}
1,970
C++
.h
33
52.545455
109
0.53515
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,537
KiwiEngine_Times.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Times.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Operator.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // OBJECT TIMES // // ================================================================================ // class Times : public Operator { public: static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher& patcher); Times(model::Object const& model, Patcher& patcher); double compute(double lhs, double rhs) const override final; }; }}
1,658
C++
.h
30
49.633333
92
0.514085
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,538
KiwiEngine_DelaySimpleTilde.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_DelaySimpleTilde.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <atomic> #include <vector> #include <KiwiTool/KiwiTool_Scheduler.h> #include <KiwiTool/KiwiTool_CircularBuffer.h> #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // DELAYSIMPLETILDE // // ================================================================================ // class DelaySimpleTilde : public AudioObject, public tool::Scheduler<>::Timer { private: //classes using CircularBuffer = tool::CircularBuffer<dsp::sample_t>; class ReleasePool { public: // methods ReleasePool(); ~ReleasePool(); void add(std::shared_ptr<CircularBuffer> & buffer); void clear(); private: // members std::vector<std::shared_ptr<CircularBuffer>> m_pool; mutable std::mutex m_mutex; }; public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); DelaySimpleTilde(model::Object const& model, Patcher& patcher); ~DelaySimpleTilde(); void receive(size_t index, std::vector<tool::Atom> const& args) override final; void perform(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void performDelay(dsp::Buffer const& input, dsp::Buffer& output) noexcept; void prepare(dsp::Processor::PrepareInfo const& infos) override final; void timerCallBack() override final; void store(std::shared_ptr<CircularBuffer> new_buffer); std::shared_ptr<CircularBuffer> load(); private: // methods dsp::sample_t cubicInterpolate(float const& x, float const& y0, float const& y1, float const& y2, float const& y3); private: // members std::shared_ptr<CircularBuffer> m_circular_buffer; std::unique_ptr<dsp::Signal> m_reinject_signal; float m_max_delay; std::atomic<float> m_delay; std::atomic<float> m_reinject_level; dsp::sample_t m_sr; ReleasePool m_pool; mutable std::mutex m_mutex; }; }}
3,695
C++
.h
68
42.147059
93
0.519821
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,539
KiwiEngine_Objects.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Objects.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_NewBox.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_ErrorBox.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Print.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Receive.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Slider.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Plus.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Times.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Delay.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Metro.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Pipe.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Bang.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Toggle.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_AdcTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_DacTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_OscTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Loadmess.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_TimesTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_PlusTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_SigTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_MeterTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_DelaySimpleTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Message.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_NoiseTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_PhasorTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_SahTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_SnapshotTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Trigger.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_LineTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Minus.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Divide.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Equal.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Less.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Greater.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Different.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Pow.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Modulo.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_MinusTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_DivideTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_LessTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_GreaterTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_EqualTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_DifferentTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_LessEqual.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_LessEqualTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_GreaterEqual.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_GreaterEqualTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Comment.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Pack.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Unpack.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Random.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Scale.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Select.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Number.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_NumberTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Hub.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Mtof.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Send.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Gate.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Switch.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_GateTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_SwitchTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Float.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_ClipTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Clip.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_SfPlayTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_SfRecordTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_FaustTilde.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_Route.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_OSCReceive.h> #include <KiwiEngine/KiwiEngine_Objects/KiwiEngine_OSCSend.h>
5,363
C++
.h
85
60.682353
91
0.793379
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false
754,540
KiwiEngine_Scale.h
Musicoll_Kiwi/Modules/KiwiEngine/KiwiEngine_Objects/KiwiEngine_Scale.h
/* ============================================================================== This file is part of the KIWI library. - Copyright (c) 2014-2016, Pierre Guillot & Eliott Paris. - Copyright (c) 2016-2019, CICM, ANR MUSICOLL, Eliott Paris, Pierre Guillot, Jean Millot. Permission is granted to use this software under the terms of the GPL v3 (or any later version). Details can be found at: www.gnu.org/licenses KIWI 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. ------------------------------------------------------------------------------ Contact : cicm.mshparisnord@gmail.com ============================================================================== */ #pragma once #include <KiwiEngine/KiwiEngine_Object.h> namespace kiwi { namespace engine { // ================================================================================ // // SCALE // // ================================================================================ // class Scale : public Object { public: // methods static void declare(); static std::unique_ptr<Object> create(model::Object const& model, Patcher & patcher); Scale(model::Object const& model, Patcher& patcher); void receive(size_t index, std::vector<tool::Atom> const& args) override final; private: float scaleValue(); private: // members double m_value {0.}; double m_input_low {0.}; double m_input_high {1.}; double m_output_low {0.}; double m_output_high {1.}; }; }}
1,890
C++
.h
37
43.837838
93
0.500857
Musicoll/Kiwi
134
11
7
GPL-3.0
9/20/2024, 9:42:21 PM (Europe/Amsterdam)
false
false
false
false
false
false
false
false