Skip to content

Commit

Permalink
Some hyper-parameter (ChannelCount & BufferFadeLength)
Browse files Browse the repository at this point in the history
  • Loading branch information
designe committed Sep 13, 2021
1 parent 45fa2ac commit dc67bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions euphony/src/main/cpp/core/Definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
namespace Euphony {
typedef std::vector<std::shared_ptr<Wave>> WaveList;

constexpr int32_t kChannelCount = 2;
constexpr int32_t kChannelCount = 1;
constexpr int32_t kSampleRate = 44100;
constexpr int32_t kFFTSize = 512;
constexpr int32_t kBufferSize = 2048;
constexpr int32_t kBufferFadeLength = 256;
constexpr int32_t kBufferFadeLength = 128;
constexpr int32_t kFrequencyInterval = kSampleRate / kFFTSize;
constexpr int32_t kStandardFrequency = 18001;
constexpr int32_t kStartSignalFrequency = kStandardFrequency - kFrequencyInterval;
Expand Down

0 comments on commit dc67bf8

Please sign in to comment.