@audiotool/nexus - v0.0.19
    Preparing search index...

    Class DocumentMetadataGenerated

    Lightweight summary of a document state at a specific commit index.

    Intended for reuse across services that need to characterize a project (config, samples, devices, cables, presets, arrangement, entity-type counts) without fetching the full entity payload.

    from message audiotool.document.v1.metadata.v1.DocumentMetadata

    Hierarchy

    Index

    Constructors

    Properties

    cables: CableMetadata[] = []

    All connection entities of the document.

    Includes:

    • entity.desktop_audio_cable.v1.DesktopAudioCable
    • entity.desktop_note_cable.v1.DesktopNoteCable
    • entity.mixer.v1.MixerSideChainCable
    • entity.mixer.v1.MixerAuxRoute
    • entity.mixer.v1.MixerStripGrouping

    At the point in time (commit_index) of the metadata.

    from field: repeated audiotool.document.v1.metadata.v1.CableMetadata cables = 6;

    commitIndex: bigint = protoInt64.zero

    The commit index this summary was computed at.

    from field: uint64 commit_index = 2;

    The document config entity. At most one exists; empty if none was created yet.

    Includes:

    • entity.config.v1.Config

    At the point in time (commit_index) of the metadata.

    from field: audiotool.document.v1.metadata.v1.ConfigMetadata config = 3;

    devices: DeviceMetadata[] = []

    All desktop devices of the document (entities with a desktop position), including their loaded preset if there is one.

    Includes:

    • entity.audio_device.v1.AudioDevice
    • entity.audio_merger.v1.AudioMerger
    • entity.audio_splitter.v1.AudioSplitter
    • entity.auto_filter.v1.AutoFilter
    • entity.band_splitter.v1.BandSplitter
    • entity.bassline.v1.Bassline
    • entity.beatbox8.v1.Beatbox8
    • entity.beatbox9.v1.Beatbox9
    • entity.centroid.v1.Centroid
    • entity.crossfader.v1.Crossfader
    • entity.curve.v1.Curve
    • entity.exciter.v1.Exciter
    • entity.gakki.v1.Gakki
    • entity.generic_vst3_plugin_beta.v1.GenericVst3PluginBeta
    • entity.graphical_eq.v1.GraphicalEQ
    • entity.gravity.v1.Gravity
    • entity.heisenberg.v1.Heisenberg
    • entity.helmholtz.v1.Helmholtz
    • entity.kobolt.v1.Kobolt
    • entity.machiniste.v1.Machiniste
    • entity.matrix_arpeggiator.v1.MatrixArpeggiator
    • entity.minimixer.v1.Minimixer
    • entity.mixer.v1.MixerMaster
    • entity.note_splitter.v1.NoteSplitter
    • entity.panorama.v1.Panorama
    • entity.pulsar.v1.Pulsar
    • entity.pulverisateur.v1.Pulverisateur
    • entity.quantum.v1.Quantum
    • entity.quasar.v1.Quasar
    • entity.rasselbock.v1.Rasselbock
    • entity.ring_modulator.v1.RingModulator
    • entity.space.v1.Space
    • entity.spitfire_labs_vst3_plugin.v1.SpitfireLabsVst3Plugin
    • entity.stereo_enhancer.v1.StereoEnhancer
    • entity.stompbox_chorus.v1.StompboxChorus
    • entity.stompbox_compressor.v1.StompboxCompressor
    • entity.stompbox_crusher.v1.StompboxCrusher
    • entity.stompbox_delay.v1.StompboxDelay
    • entity.stompbox_flanger.v1.StompboxFlanger
    • entity.stompbox_gate.v1.StompboxGate
    • entity.stompbox_parametric_equalizer.v1.StompboxParametricEqualizer
    • entity.stompbox_phaser.v1.StompboxPhaser
    • entity.stompbox_pitch_delay.v1.StompboxPitchDelay
    • entity.stompbox_reverb.v1.StompboxReverb
    • entity.stompbox_slope.v1.StompboxSlope
    • entity.stompbox_stereo_detune.v1.StompboxStereoDetune
    • entity.stompbox_tube.v1.StompboxTube
    • entity.tiny_gain.v1.TinyGain
    • entity.tonematrix.v1.Tonematrix
    • entity.waveshaper.v1.Waveshaper

    Does not include:

    • entity.mixer.v1.MixerChannel
    • entity.mixer.v1.MixerGroup
    • entity.mixer.v1.MixerAux
    • entity.mixer.v1.MixerReverbAux
    • entity.mixer.v1.MixerDelayAux
    • cables (see cables)
    • samples (see samples)
    • timeline tracks and regions (see timeline)
    • config (see config)
    • entity.groove.v1.Groove
    • entity.adsr_envelope.v1.AdsrEnvelope
    • entity.micro_tuning_octave.v1.MicroTuningOctave
    • entity.region.v1.Region

    At the point in time (commit_index) of the metadata.

    from field: repeated audiotool.document.v1.metadata.v1.DeviceMetadata devices = 5;

    entityCount: bigint = protoInt64.zero

    The total number of entities in the document.

    from field: uint64 entity_count = 7;

    entityTypeCounts: { [key: string]: bigint } = {}

    Entity counts keyed by the fully-qualified entity type name, e.g. "audiotool.document.v1.entity.timeline.v1.note.Note".

    Every entity of the document is counted, including types not broken out above (regions, tracks, notes, automation events, ...), so derived statistics can be computed without fetching the entities.

    At the point in time (commit_index) of the metadata.

    from field: map<string, uint64> entity_type_counts = 8;

    projectName: string = ""

    The project this summary belongs to, in the form projects/{uuid}.

    from field: string project_name = 1;

    samples: SampleMetadata[] = []

    All sample entities of the document.

    Includes:

    • entity.sample.v1.Sample

    At the point in time (commit_index) of the metadata.

    from field: repeated audiotool.document.v1.metadata.v1.SampleMetadata samples = 4;

    timeline?: TimelineMetadata

    The arrangement of the document: timeline tracks and regions.

    Large arrangements may be truncated by the server so the response stays small. When truncated, tracks and regions are a prefix of the full arrangement; entity_type_counts still reflects the untruncated document. Transport settings (tempo, time signature, duration) live on config.

    At the point in time (commit_index) of the metadata.

    from field: audiotool.document.v1.metadata.v1.TimelineMetadata timeline = 9;

    fields: FieldList = ...
    runtime: ProtoRuntime = proto3
    typeName: "audiotool.document.v1.metadata.v1.DocumentMetadata"

    Methods

    • Create a deep copy.

      Returns DocumentMetadata

    • Compare with a message of the same type. Note that this function disregards extensions and unknown fields.

      Parameters

      Returns boolean

    • Parse from binary data, merging fields.

      Repeated fields are appended. Map entries are added, overwriting existing keys.

      If a message field is already present, it will be merged with the new data.

      Parameters

      Returns this

    • Parse a message from a JSON value.

      Parameters

      • jsonValue: JsonValue
      • Optionaloptions: Partial<JsonReadOptions>

      Returns this

    • Parse a message from a JSON string.

      Parameters

      • jsonString: string
      • Optionaloptions: Partial<JsonReadOptions>

      Returns this

    • Retrieve the MessageType of this message - a singleton that represents the protobuf message declaration and provides metadata for reflection- based operations.

      Returns MessageType<DocumentMetadata>

    • Serialize the message to binary data.

      Parameters

      • Optionaloptions: Partial<BinaryWriteOptions>

      Returns Uint8Array

    • Serialize the message to a JSON value, a JavaScript value that can be passed to JSON.stringify().

      Parameters

      • Optionaloptions: Partial<JsonWriteOptions>

      Returns JsonValue

    • Override for serialization behavior. This will be invoked when calling JSON.stringify on this message (i.e. JSON.stringify(msg)).

      Note that this will not serialize google.protobuf.Any with a packed message because the protobuf JSON format specifies that it needs to be unpacked, and this is only possible with a type registry to look up the message type. As a result, attempting to serialize a message with this type will throw an Error.

      This method is protected because you should not need to invoke it directly -- instead use JSON.stringify or toJsonString for stringified JSON. Alternatively, if actual JSON is desired, you should use toJson.

      Returns JsonValue

    • Serialize the message to a JSON string.

      Parameters

      • Optionaloptions: Partial<JsonWriteStringOptions>

      Returns string