MCPcopy
hub / github.com/andremichelle/openDAW / project

Method project

packages/studio/core/src/EngineFacade.ts:98–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 get markerState(): DefaultObservableValue<Nullable<[UUID.Bytes, int]>> {return this.#markerState}
97 get cpuLoad(): ObservableValue<number> {return this.#cpuLoad}
98 get project(): Project {return this.#worklet.unwrap("No worklet to get project").project}
99 get sampleRate(): number {return this.#worklet.isEmpty() ? 44_100 : this.#worklet.unwrap().context.sampleRate}
100 get preferences(): EnginePreferences {return this.#preferencesFacade}
101 get perfBuffer(): Float32Array {return this.#worklet.mapOr(worklet => worklet.perfBuffer, new Float32Array(0))}

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.65

Tested by

no test coverage detected