File size: 817 Bytes
ca5bd83
 
 
 
72db8a4
153471c
72db8a4
 
 
 
 
3deaf02
 
 
72db8a4
 
 
 
3deaf02
72db8a4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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('');