Spaces:
Runtime error
Runtime error
import { writable } from 'svelte/store'; | |
import type { Writable } from 'svelte/store'; | |
/* Input parameters */ | |
export const style: Writable<string> = writable('synth'); | |
export const density: Writable<string> = writable('medium'); | |
export const temperature: Writable<string> = writable('medium'); | |
/* Audio state */ | |
export const composing: Writable<boolean> = writable(false); | |
export const audioDuration: Writable<number> = writable(0); | |
export const audioTime: Writable<number> = writable(0); | |
export const audioPaused: Writable<boolean> = writable(true); | |
/* Composition outputs */ | |
export const audioBlob: Writable<string> = writable(''); | |
export const notesImage: Writable<string> = writable(''); | |
export const notesImageWidth: Writable<number> = writable(0); | |
export const notesTokens: Writable<string> = writable(''); | |