Skip to content

Commit dc60a2f

Browse files
author
mars
committed
reverted fixed delay
1 parent cfa8e9e commit dc60a2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/HeavyPatch.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class HeavyPatch : public Patch {
101101
float note = (float)(bid - MIDI_NOTE_BUTTON);
102102
float velocity = (float)(value>>5);
103103
// unsigned int hash = 0x41BE0F9C; // __hv_ctlin
104-
float ms = 0;//1000.0f*(samples+getBlockSize())/getSampleRate(); // delay in milliseconds
104+
float ms = 1000.0f*(samples+getBlockSize())/getSampleRate(); // delay in milliseconds
105105
// float cmd = value ? 0x90 : 0x80;
106106
hv_msg_setFloat(notein, 0, note);
107107
hv_msg_setFloat(notein, 1, velocity);

0 commit comments

Comments
 (0)