diff --git a/package.json b/package.json index 002795e..df88284 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "build": "bun run build:bundle && bun run build:docs", "build:bundle": "bun build.ts", "build:docs": "typedoc", - "publish": "bun run test && bun run build && npm publish" + "build:publish": "bun run test && bun run build && npm publish" }, "engines": { "node": ">=18" diff --git a/public/docs/dev/classes/BufferReader.html b/public/docs/dev/classes/BufferReader.html index 0f55e1b..da1c84b 100644 --- a/public/docs/dev/classes/BufferReader.html +++ b/public/docs/dev/classes/BufferReader.html @@ -157,7 +157,7 @@ --md-sys-color-surface-container-highest: #e7e1e5 }
Internal
Readonly
bufferBuffer that is being read.
-Next byte to read.
-Protected
viewerData view for the buffer.
-Protected
resizeNext byte to read.
+Protected
viewerData view for the buffer.
+Create a buffer wrapper.
+Create a buffer wrapper.
An existing array buffer to manipulate
-Internal
A buffer object wrapper.
-Readonly
bufferBuffer that is being read.
-Next byte to read.
-Protected
viewerData view for the buffer.
-Protected
resizeNext byte to read.
+Protected
viewerData view for the buffer.
+Create a buffer wrapper.
+Create a buffer wrapper.
An existing array buffer to manipulate
-Internal
Represents an ArrayBuffer
writer.
Readonly
bufferBuffer that is being read.
-Next byte to read.
-Protected
viewerData view for the buffer.
-Protected
resizeNext byte to read.
+Protected
viewerData view for the buffer.
+Represents the Instrument
s of a Song
with helper methods.
Readonly
allID-instrument pair of the song's instruments.
Readonly
Internal
firstThe ID of the first custom instrument.
-Iterate each id-instrument pair.
+Readonly
Internal
firstThe ID of the first custom instrument.
+Iterate each id-instrument pair.
Add an existing Instrument
.
Add an existing Instrument
.
Instrument to add
-Create and add an Instrument
.
Create and add an Instrument
.
Options for the instrument
-Delete an Instrument
.
Delete an Instrument
.
ID of the instrument to be deleted
Set an existing Instrument
at an ID.
Set an existing Instrument
at an ID.
ID of the instrument to be set
The instrument to set at id
.
Internal
Options for fromArrayBuffer
.
Options available for an Instrument
.
Optional
keyKey of the sound file.
Optional
nameName of the instrument.
-Optional
pressWhether the on-screen piano should visually press keys when these notes are played.
-Optional
soundSound file of the instrument.
+Optional
nameName of the instrument.
+Optional
pressWhether the on-screen piano should visually press keys when these notes are played.
+Optional
soundSound file of the instrument.
Options available for a Layer
.
Optional
isWhether this layer has been marked as locked.
-Optional
isWhether this layer has been marked as solo.
-Optional
nameName of the layer.
-Optional
stereoHow much this layer is panned to the left or right.
-Optional
volumeVolume percentage of the layer.
-Options available for a Note
.
Optional
keyKey of the note block.
Optional
panningStereo position of the note block.
+Optional
panningStereo position of the note block.
Optional
pitchFine pitch of the note block.
+Optional
pitchFine pitch of the note block.
Optional
velocityVelocity (volume) of the note block.
+Optional
velocityVelocity (volume) of the note block.
Options available for Song#loop
.
Whether looping is enabled.
-Where the song should loop back to.
+Where the song should loop back to.
Number of times the song should loop.
+Number of times the song should loop.
Const
Internal
Used to construct Instrument.builtIn
.
Const
Internal
Default Song#autoSave
values.
Const
Internal
Default options for fromArrayBuffer
.
Const
Default Instrument
values.
Const
Internal
Default Layer
values.
Const
Internal
Default NoteOptions
values.
Const
Internal
Default options for toArrayBuffer
.
Represents an
-ArrayBuffer
reader.