A module, held in its author's own repository.
tid
Timestamp-based ID
Properties
audioInputs
array
of
ref
#port
Required
Zero or more individually identified audio inputs.
audioOutputs
array
of
ref
#port
Required
No description available.
automation
array
of
ref
#automation
Optional
Scheduled AudioParam envelopes. Web Audio has no envelope node, so these are their own structure.
connections
array
of
ref
#connection
Required
No description available.
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
description
string
Required
No description available.
maxLength: 3000 bytesdescriptionVersion
integer
Required
Version of the module description this record follows. A reader accepts any version at or below its own.
minimum: 1forkedFrom
ref
#lineage
Optional
No description available.
midiInputs
array
of
ref
#port
Required
Zero or more note inputs. A note input carries note events — what is played, and when — from any note source: a sequencer's note output, or the player, which is the on-screen keys, the computer keyboard and every MIDI device at once. "MIDI" is the historical name; nothing arriving here need have come from MIDI.
moduleId
string
Required
Stable identity shared by every published version of this module.
maxLength: 128 bytesname
string
Required
No description available.
maxLength: 200 bytesminLength: 1 bytesnodes
array
of
ref
#node
Required
No description available.
noteOutputs
array
of
ref
#port
Optional
Zero or more note outputs. A note output carries note events — what is played, and when — rather than a signal, so it is wired to another instance's note input (`midiInputs`) rather than to an audio input. A module that declares one is a source of what is played; a module that declares none is what plays it.
noteSource
string
Optional
What this module emits notes by, where it is not made of Web Audio nodes at all. A note source has no `nodes` and no `connections`: it produces note events, and the behaviour that produces them is named here rather than described, because there is no vocabulary of nodes for a thing that makes no sound. A reader that does not know the named behaviour cannot run the module, and says so rather than guessing.
maxLength: 64 byteskeyboard, sequencerparameters
array
of
ref
#parameter
Optional
No description available.
sampleSlots
array
of
ref
#sampleSlot
Optional
No description available.
versionKey
string
Optional
The record key this version is published under, repeated in the record so a reader holding only the record knows which version it is. A patch's `moduleRef.versionKey` is this value, and it is the record key a reader fetches: a record whose `versionKey` differs from its own key is pinned by the key and misdescribed by this field.
maxLength: 128 bytesView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"descriptionVersion",
"moduleId",
"name",
"description",
"audioInputs",
"audioOutputs",
"midiInputs",
"nodes",
"connections",
"createdAt"
],
"properties": {
"name": {
"type": "string",
"maxLength": 200,
"minLength": 1
},
"nodes": {
"type": "array",
"items": {
"ref": "#node",
"type": "ref"
}
},
"moduleId": {
"type": "string",
"maxLength": 128,
"description": "Stable identity shared by every published version of this module."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"automation": {
"type": "array",
"items": {
"ref": "#automation",
"type": "ref"
},
"description": "Scheduled AudioParam envelopes. Web Audio has no envelope node, so these are their own structure."
},
"forkedFrom": {
"ref": "#lineage",
"type": "ref"
},
"midiInputs": {
"type": "array",
"items": {
"ref": "#port",
"type": "ref"
},
"description": "Zero or more note inputs. A note input carries note events — what is played, and when — from any note source: a sequencer's note output, or the player, which is the on-screen keys, the computer keyboard and every MIDI device at once. \"MIDI\" is the historical name; nothing arriving here need have come from MIDI."
},
"noteSource": {
"type": "string",
"maxLength": 64,
"description": "What this module emits notes by, where it is not made of Web Audio nodes at all. A note source has no `nodes` and no `connections`: it produces note events, and the behaviour that produces them is named here rather than described, because there is no vocabulary of nodes for a thing that makes no sound. A reader that does not know the named behaviour cannot run the module, and says so rather than guessing.",
"knownValues": [
"keyboard",
"sequencer"
]
},
"parameters": {
"type": "array",
"items": {
"ref": "#parameter",
"type": "ref"
}
},
"versionKey": {
"type": "string",
"maxLength": 128,
"description": "The record key this version is published under, repeated in the record so a reader holding only the record knows which version it is. A patch's `moduleRef.versionKey` is this value, and it is the record key a reader fetches: a record whose `versionKey` differs from its own key is pinned by the key and misdescribed by this field."
},
"audioInputs": {
"type": "array",
"items": {
"ref": "#port",
"type": "ref"
},
"description": "Zero or more individually identified audio inputs."
},
"connections": {
"type": "array",
"items": {
"ref": "#connection",
"type": "ref"
}
},
"description": {
"type": "string",
"maxLength": 3000
},
"noteOutputs": {
"type": "array",
"items": {
"ref": "#port",
"type": "ref"
},
"description": "Zero or more note outputs. A note output carries note events — what is played, and when — rather than a signal, so it is wired to another instance's note input (`midiInputs`) rather than to an audio input. A module that declares one is a source of what is played; a module that declares none is what plays it."
},
"sampleSlots": {
"type": "array",
"items": {
"ref": "#sampleSlot",
"type": "ref"
}
},
"audioOutputs": {
"type": "array",
"items": {
"ref": "#port",
"type": "ref"
}
},
"descriptionVersion": {
"type": "integer",
"minimum": 1,
"description": "Version of the module description this record follows. A reader accepts any version at or below its own."
}
}
},
"description": "A module, held in its author's own repository."
}