@waveform-playlist/browser 5.0.0-alpha.1 → 5.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -3
- package/dist/index.js +113 -113
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1907 -1896
- package/dist/index.mjs.map +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ declare interface AnnotationData {
|
|
|
65
65
|
* to avoid floating-point precision errors. Convert to seconds only when
|
|
66
66
|
* needed for playback using: seconds = samples / sampleRate
|
|
67
67
|
*/
|
|
68
|
-
declare interface AudioClip {
|
|
68
|
+
export declare interface AudioClip {
|
|
69
69
|
/** Unique identifier for this clip */
|
|
70
70
|
id: string;
|
|
71
71
|
/** The audio buffer containing the audio data */
|
|
@@ -152,7 +152,7 @@ declare interface ClipPeaks {
|
|
|
152
152
|
/**
|
|
153
153
|
* Represents a track containing multiple audio clips
|
|
154
154
|
*/
|
|
155
|
-
declare interface ClipTrack {
|
|
155
|
+
export declare interface ClipTrack {
|
|
156
156
|
/** Unique identifier for this track */
|
|
157
157
|
id: string;
|
|
158
158
|
/** Display name for this track */
|
|
@@ -328,7 +328,7 @@ export declare interface ExportWavButtonProps {
|
|
|
328
328
|
/**
|
|
329
329
|
* Simple fade configuration
|
|
330
330
|
*/
|
|
331
|
-
declare interface Fade {
|
|
331
|
+
export declare interface Fade {
|
|
332
332
|
/** Duration of the fade in seconds */
|
|
333
333
|
duration: number;
|
|
334
334
|
/** Type of fade curve (default: 'linear') */
|
|
@@ -660,6 +660,11 @@ declare class TonePlayout {
|
|
|
660
660
|
private gainToDb;
|
|
661
661
|
init(): Promise<void>;
|
|
662
662
|
addTrack(trackOptions: ToneTrackOptions): ToneTrack;
|
|
663
|
+
/**
|
|
664
|
+
* Apply solo muting after all tracks have been added.
|
|
665
|
+
* Call this after adding all tracks to ensure solo logic is applied correctly.
|
|
666
|
+
*/
|
|
667
|
+
applyInitialSoloState(): void;
|
|
663
668
|
removeTrack(trackId: string): void;
|
|
664
669
|
getTrack(trackId: string): ToneTrack | undefined;
|
|
665
670
|
play(when?: number, offset?: number, duration?: number): void;
|