@yyc3/music-ai 0.0.0-stage → 1.0.0

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.
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import type { AITip, VoiceCommand } from '@yyc3/music-hooks';
3
+ interface AIAssistantProps {
4
+ activeTips: AITip[];
5
+ onDismissTip: (id: string) => void;
6
+ onExecuteAction: (actionKey: string) => void;
7
+ isListening: boolean;
8
+ onToggleListening: () => void;
9
+ voiceSupported: boolean;
10
+ voiceFeedback: string;
11
+ voiceHistory: VoiceCommand[];
12
+ sessionInsight: string;
13
+ isPlaying: boolean;
14
+ audioEnergy: number;
15
+ externalExpanded?: boolean;
16
+ onExternalExpandedChange?: (expanded: boolean) => void;
17
+ }
18
+ export declare const AIAssistant: React.FC<AIAssistantProps>;
19
+ export {};
20
+ //# sourceMappingURL=AIAssistant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AIAssistant.d.ts","sourceRoot":"","sources":["../../src/components/AIAssistant.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAO3D,OAAO,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAM7D,UAAU,gBAAgB;IACxB,UAAU,EAAE,KAAK,EAAE,CAAC;IACpB,YAAY,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,eAAe,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,cAAc,EAAE,OAAO,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,wBAAwB,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CACxD;AA4CD,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAwflD,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { type CompositionParams } from '@yyc3/music-hooks';
3
+ interface AILyricsGeneratorProps {
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ onCreateTrack?: (lyrics: string[], theme: AILyricsTheme, audioBlobUrl?: string, compositionParams?: CompositionParams) => void;
7
+ }
8
+ export type AILyricsTheme = 'happy' | 'sad' | 'energetic' | 'calm' | 'love';
9
+ export declare const AILyricsGenerator: React.FC<AILyricsGeneratorProps>;
10
+ export {};
11
+ //# sourceMappingURL=AILyricsGenerator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AILyricsGenerator.d.ts","sourceRoot":"","sources":["../../src/components/AILyricsGenerator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAuBrD,OAAO,EAAoB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE7E,UAAU,sBAAsB;IAC9B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,aAAa,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,iBAAiB,KAAK,IAAI,CAAC;CAChI;AAED,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;AAiB5E,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoY9D,CAAC"}
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import { type CompositionParams } from '@yyc3/music-hooks';
3
+ import type { Track } from '@yyc3/music-data';
4
+ interface CreationStudioProps {
5
+ isOpen: boolean;
6
+ onClose: () => void;
7
+ onCreateTrack?: (lyrics: string[], theme: string, audioBlobUrl?: string, compositionParams?: CompositionParams) => void;
8
+ playlist: Track[];
9
+ currentTrackIndex: number;
10
+ onHaptic?: (pattern: string) => void;
11
+ onShareWork?: (work: CreatedWork) => void;
12
+ onOpenMV?: (workLyrics?: string[]) => void;
13
+ user?: any;
14
+ starPower?: number;
15
+ onStarPowerUpdate?: (sp: number) => void;
16
+ }
17
+ interface CreatedWork {
18
+ id: string;
19
+ title: string;
20
+ theme: string;
21
+ lyrics: string[];
22
+ createdAt: number;
23
+ mode: string;
24
+ }
25
+ export declare const CreationStudio: React.FC<CreationStudioProps>;
26
+ export {};
27
+ //# sourceMappingURL=CreationStudio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreationStudio.d.ts","sourceRoot":"","sources":["../../src/components/CreationStudio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAchE,OAAO,EAAoB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC7E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAc9C,UAAU,mBAAmB;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,CACd,MAAM,EAAE,MAAM,EAAE,EAChB,KAAK,EAAE,MAAM,EACb,YAAY,CAAC,EAAE,MAAM,EACrB,iBAAiB,CAAC,EAAE,iBAAiB,KAClC,IAAI,CAAC;IACV,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC3C,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC1C;AA6FD,UAAU,WAAW;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAinCxD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import type { Track } from '@yyc3/music-data';
3
+ interface MVCreatorProps {
4
+ isOpen: boolean;
5
+ onClose: () => void;
6
+ track: Track;
7
+ isPlaying: boolean;
8
+ audioEnergy: number;
9
+ frequencyData: Uint8Array;
10
+ currentTime: number;
11
+ emotion: string;
12
+ customLyrics?: string[] | null;
13
+ onHaptic?: (pattern: string) => void;
14
+ }
15
+ export declare const MVCreator: React.FC<MVCreatorProps>;
16
+ export {};
17
+ //# sourceMappingURL=MVCreator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MVCreator.d.ts","sourceRoot":"","sources":["../../src/components/MVCreator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAQxE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAU9C,UAAU,cAAc;IACtB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,UAAU,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACtC;AAiFD,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAghB9C,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './components/AIAssistant';
2
+ export * from './components/AILyricsGenerator';
3
+ export * from './components/CreationStudio';
4
+ export * from './components/MVCreator';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC"}