Made a 6-channels outputs version, more compact. Requires a battery at the least to keep power runni
Made a 6-channels outputs version, more compact. Requires a battery at the least to keep power running.




frequency: tone frequency (it's not a true note block because that would require playing audio files or even dynamically pitch-shifting them)
default: 440: wave type (typesine,square,triangle,sawtooth)
default: sineendType:none,exponentialorlinear(values other thannonestart fading immediately)
default: none: tone length (seconds)length
default: 1volume: relative volume
default: 1delay: time to wait after shock before starting sound (seconds)
default: 0debounce: debounce mechanism to prevent sound starting multiple times (set and decremented automatically)debounceLength: length of debounce period (ticks)
default: 30
prop.jsfrequency and then a numbernumber

frequencyfrequencysinesquaretrianglesawtoothendTypenonenoneexponentiallinearvolumedelaydebouncedebounceLengthprop.js