mirror of
https://github.com/AquaMorph/Droplets.git
synced 2025-07-04 19:32:01 +00:00
Fixed menu and sound output
This commit is contained in:
@ -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