Skip to content

Commit

Permalink
Prepared next version
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Jul 29, 2020
1 parent 5b8f52d commit 0fa1d57
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/Test/MainTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,10 @@ void addCancellation(vector<GraphData*>& graphs) {
for (int i = 0; i < sine.getNumSamples(); ++i) {
const double freq = sine.getFrequency();
const double sample = sine.next();
//Multiply with 0.5(-6dB) to align peaks to 1.
const double sampleCan = filter.process(sample * 0.5);
samplesOrg.push_back({ freq , sample });
samplesCan.push_back({ freq, filter.process(sample) * 0.5 });
samplesCan.push_back({ freq, sampleCan });
}
graphData->add("Org", samplesOrg);
graphData->add("Cancelled 50Hz", samplesCan);
Expand Down
Binary file modified release/WinDSP-configEditor.jar
Binary file not shown.
Binary file modified release/WinDSP.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
using std::exception;
using std::make_shared;

#define VERSION "0.21.0b"
#define VERSION "0.22.0b"

#ifdef DEBUG
#include "MemoryManager.h"
Expand Down

0 comments on commit 0fa1d57

Please sign in to comment.