scratch-audioengine
Advanced tools
Comparing version 0.1.0-prerelease.1478803928 to 0.1.0-prerelease.1478806867
{ | ||
"name": "scratch-audioengine", | ||
"version": "0.1.0-prerelease.1478803928", | ||
"version": "0.1.0-prerelease.1478806867", | ||
"description": "audio engine for scratch 3.0", | ||
@@ -5,0 +5,0 @@ "main": "dist.js", |
@@ -105,8 +105,8 @@ /* | ||
// create a lowpass filtered follower to turn the bandpass filter output into a smooth control | ||
// signal for the carrier filter | ||
var follower = new Tone.Follower(0,0); | ||
modulatorFilterPostGain.connect(follower); | ||
var followerLowPass = new Tone.Filter(50, 'lowpass'); | ||
follower.connect(followerLowPass); | ||
// add a rectifier with a lowpass filter to turn the bandpass filtered signal | ||
// into a smoothed control signal to control the carrier filter | ||
var rectifier = new Tone.WaveShaper([1,0,1]); | ||
modulatorFilterPostGain.connect(rectifier); | ||
var rectifierLowPass = new Tone.Filter(50, 'lowpass'); | ||
rectifier.connect(rectifierLowPass); | ||
@@ -125,3 +125,3 @@ // Create the bandpass filter in the carrier chain | ||
followerLowPass.connect(bandGain.gain); | ||
rectifierLowPass.connect(bandGain.gain); | ||
@@ -128,0 +128,0 @@ bandGain.connect(this.outputGain); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
793203