Comparing version 0.3.2 to 0.3.3
@@ -24,2 +24,3 @@ import worklet from './glicol-engine' | ||
isLiveCoding = false, | ||
loadSamples = false, | ||
connectTo, | ||
@@ -102,3 +103,5 @@ onLoaded = () => {} | ||
} else { | ||
await this.loadSamples() | ||
if (loadSamples) { | ||
await this.loadSamples() | ||
} | ||
} | ||
@@ -105,0 +108,0 @@ onLoaded() |
@@ -187,2 +187,9 @@ const isRef = s => String(s).includes('~') | ||
sp(sampleName) { | ||
// if (!isNaN(str)) { | ||
this.code += ` >> sp \\${sampleName}` | ||
// } | ||
return this | ||
} | ||
envperc(attack, decay) { | ||
@@ -189,0 +196,0 @@ // if (!isNaN(str)) { |
{ | ||
"name": "glicol", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "An light-weight, garbage-collection-free, and easy-to-use audio engine for browser-based music apps.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2148986
878