Comparing version 0.3.7 to 0.3.8
11
index.js
@@ -312,2 +312,13 @@ import worklet from './glicol-engine' | ||
addSampleFromDataArray(name, sample, numberOfChannels, length, sampleRate) { | ||
this.node.port.postMessage({ | ||
type: "loadsample", | ||
sample: sample, | ||
channels: numberOfChannels, | ||
length: length, | ||
name: this.encoder.encode("\\"+ name), | ||
sr: sampleRate | ||
}); | ||
} | ||
async loadSamples() { | ||
@@ -314,0 +325,0 @@ |
{ | ||
"name": "glicol", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "A light-weight, audio-thread-GC-free, memory-safe, and easy-to-use audio engine for browser-based music apps.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
2145337
891