Skip to content

Commit d6484c4

Browse files
Default to all harmonics
1 parent e02bbcd commit d6484c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function getDefaultSettings() {
4444
, sampleRate: WEBAUDIO_MAX_SAMPLERATE
4545
, downsamplingFactor: 2
4646
, numHarm: 2 //Number of harmonics
47-
, harmType: "Odd" // Harmonic series to evaluate - Odd, even or all
47+
, harmType: "All" // Harmonic series to evaluate - Odd, even or all
4848
, harmSlope: "1/x" // Amplitude scaling for harmonics. can be used to create different shapes like saw or square
4949
, harmonicFreqs: new Float32Array(MAX_HARMONICS) //Array storing harmonic frequency in hz
5050
, harmonicAmps: new Float32Array(MAX_HARMONICS) //Array storing harmonic amp (0-1.0)

0 commit comments

Comments
 (0)