@magenta/music
Advanced tools
Comparing version 1.1.5 to 1.1.6
import { INoteSequence, NoteSequence } from '../protobuf/index'; | ||
export declare abstract class BasePlayerCallback { | ||
abstract run(n: NoteSequence.INote): void; | ||
abstract run(n: NoteSequence.INote, t?: number): void; | ||
abstract stop(): void; | ||
@@ -5,0 +5,0 @@ } |
@@ -115,3 +115,3 @@ "use strict"; | ||
Tone.Draw.schedule(function () { | ||
_this.callbackObject.run(n); | ||
_this.callbackObject.run(n, t); | ||
}, t); | ||
@@ -118,0 +118,0 @@ } |
{ | ||
"name": "@magenta/music", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Make music in the browser with machine learning.", | ||
@@ -42,3 +42,3 @@ "main": "es5/index.js", | ||
"proto": "pbjs --force-number -t static-module -w commonjs -o src/protobuf/proto.js ../../protobuf/music.proto && pbts -o src/protobuf/proto.d.ts src/protobuf/proto.js", | ||
"doc": "typedoc --sourcefile-url-prefix 'https://github.com/tensorflow/magenta-js/tree/master/music/src/' --out ../docs/ src --mode modules --excludePrivate --exclude '**/*+(index|test).ts' --excludeExternals" | ||
"doc": "typedoc --sourcefile-url-prefix 'https://github.com/tensorflow/magenta-js/tree/master/music/src/' --out ../docs/ src --mode modules --excludePrivate --exclude '**/*+(index|test).ts' --excludeExternals && touch ../docs/.nojekyll" | ||
}, | ||
@@ -45,0 +45,0 @@ "author": "Magenta", |
Sorry, the diff of this file is too big to display
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
2840095