Browse Source

Use 10V as the headroom for Audio Interface IO instead of 5V

tags/v0.4.0
Andrew Belt 7 years ago
parent
commit
f9cf502a79
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      CHANGELOG.md
  2. +2
    -2
      src/core/AudioInterface.cpp

+ 1
- 1
CHANGELOG.md View File

@@ -4,7 +4,7 @@ Tip: Use `git checkout v0.3.2` for example to check out any previous version men
### dev
- Cables can now stack on output ports
- Added sub-menus for each plugin, includes optional plugin metadata like URLs
- Added middle-click-and-drag to scroll, shift-scroll to scroll horizontally
- Added new scrolling methods: middle-click-and-drag, shift-scroll, and arrow keys
- Added engine pausing in sample rate menu
- Support for AMD Phenom II processors
- Use self-contained Mac app bundle, no need for a Rack folder


+ 2
- 2
src/core/AudioInterface.cpp View File

@@ -145,7 +145,7 @@ void AudioInterface::step() {
if (!inputBuffer.full()) {
Frame<8> f;
for (int i = 0; i < 8; i++) {
f.samples[i] = inputs[AUDIO1_INPUT + i].value / 5.0;
f.samples[i] = inputs[AUDIO1_INPUT + i].value / 10.0;
}
inputBuffer.push(f);
}
@@ -166,7 +166,7 @@ void AudioInterface::step() {
if (!outputBuffer.empty()) {
Frame<8> f = outputBuffer.shift();
for (int i = 0; i < 8; i++) {
outputs[AUDIO1_OUTPUT + i].value = 5.0 * f.samples[i];
outputs[AUDIO1_OUTPUT + i].value = 10.0 * f.samples[i];
}
}
}


Loading…
Cancel
Save