Implemented very basic tone generator
This commit is contained in:
1 parent
f612e4e14f
commit
4c95889a91
15 files changed
+279
-142
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#include "basetonegenerator.h"
|
||||
|
||||
class DebugToneGenerator : public BaseToneGenerator
|
||||
{
|
||||
public:
|
||||
using BaseToneGenerator::BaseToneGenerator;
|
||||
|
||||
std::size_t fill(SamplePair *begin, SamplePair *end) override;
|
||||
|
||||
private:
|
||||
float m_counter{0.f};
|
||||
float m_offset{0.};
|
||||
float m_freq{0.};
|
||||
};
|
||||
Reference in new issue
Block a user