-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a shared 'MonoValues' structure with shared monophonic data
Currently includes - temposync ratio (unused) - tables Use those tables to remove final pow 2 calls
- Loading branch information
Showing
12 changed files
with
137 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* Six Sines | ||
* | ||
* A synth with audio rate modulation. | ||
* | ||
* Copyright 2024, Paul Walker and Various authors, as described in the github | ||
* transaction log. | ||
* | ||
* This source repo is released under the MIT license, but has | ||
* GPL3 dependencies, as such the combined work will be | ||
* released under GPL3. | ||
* | ||
* The source code and license are at https://github.com/baconpaul/six-sines | ||
*/ | ||
|
||
#ifndef BACONPAUL_SIX_SINES_SYNTH_MONO_VALUES_H | ||
#define BACONPAUL_SIX_SINES_SYNTH_MONO_VALUES_H | ||
|
||
#include <sst/basic-blocks/tables/EqualTuningProvider.h> | ||
#include <sst/basic-blocks/tables/TwoToTheXProvider.h> | ||
|
||
struct MTSClient; | ||
|
||
namespace baconpaul::six_sines | ||
{ | ||
struct MonoValues | ||
{ | ||
MonoValues() | ||
{ | ||
tuningProvider.init(); | ||
twoToTheX.init(); | ||
} | ||
|
||
float tempoSyncRatio{1}; | ||
|
||
MTSClient *mtsClient{nullptr}; | ||
|
||
sst::basic_blocks::tables::EqualTuningProvider tuningProvider; | ||
sst::basic_blocks::tables::TwoToTheXProvider twoToTheX; | ||
}; | ||
}; // namespace baconpaul::six_sines | ||
#endif // MONO_VALUES_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.