updated namespaces
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include "note_event.h"
|
||||
#include "voice_allocator.h"
|
||||
|
||||
namespace trnr::lib::synth {
|
||||
namespace trnr {
|
||||
|
||||
// a generic midi synth base class with sample accurate event handling.
|
||||
template <typename t_voice>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
namespace trnr::lib::synth {
|
||||
namespace trnr {
|
||||
|
||||
enum note_event_type {
|
||||
note_on = 0,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include <array>
|
||||
|
||||
namespace trnr::lib::synth {
|
||||
namespace trnr {
|
||||
|
||||
enum env_state {
|
||||
idle = 0,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "tx_sineosc.h"
|
||||
#include "tx_envelope.h"
|
||||
|
||||
namespace trnr::lib::synth {
|
||||
namespace trnr {
|
||||
class tx_operator {
|
||||
public:
|
||||
tx_operator(double samplerate)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include <cmath>
|
||||
|
||||
namespace trnr::lib::synth {
|
||||
namespace trnr {
|
||||
|
||||
class tx_sineosc {
|
||||
public:
|
||||
|
||||
@@ -4,9 +4,7 @@
|
||||
#include "tx_operator.h"
|
||||
#include "../util/audio_math.h"
|
||||
|
||||
using namespace trnr::lib::util;
|
||||
|
||||
namespace trnr::lib::synth {
|
||||
namespace trnr {
|
||||
|
||||
class tx_voice {
|
||||
public:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <vector>
|
||||
#include "note_event.h"
|
||||
|
||||
namespace trnr::lib::synth {
|
||||
namespace trnr {
|
||||
|
||||
template <typename t_voice>
|
||||
class voice_allocator {
|
||||
|
||||
Reference in New Issue
Block a user