mirror of
https://github.com/AquaMorph/Droplets.git
synced 2026-11-29 06:32:34 +00:00
Fixed menu and sound output
This commit is contained in:
1 parent
ab58175b6f
commit
e4987c2322
4 files changed
+8
-7
No files matched your search
@@ -10,7 +10,7 @@ NoiseDroplet::NoiseDroplet(DaisyPatch* m_patch,
|
||||
void NoiseDroplet::Control() {}
|
||||
|
||||
void NoiseDroplet::Process(AudioHandle::InputBuffer in, AudioHandle::OutputBuffer out, size_t size) {
|
||||
for (size_t i = 0; i < size; i += 2) {
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
float sig = noise.Process();
|
||||
for (size_t chn = GetChannelMin(); chn < GetChannelMax(); chn++) {
|
||||
out[chn][i] = sig;
|
||||
|
||||
@@ -53,7 +53,7 @@ void VCODroplet::Process(AudioHandle::InputBuffer in, AudioHandle::OutputBuffer
|
||||
|
||||
Patch()->ProcessAnalogControls();
|
||||
|
||||
for (size_t i = 0; i < size; i += 2) {
|
||||
for (size_t i = 0; i < size; i++) {
|
||||
// Read Knobs
|
||||
freq = mtof(freqctrl.Process() + finectrl.Process());
|
||||
if (GetState() == DropletState::kFull) {
|
||||
|
||||
Reference in new issue
Block a user