Skip to content

Commit 48492fb

Browse files
refactor grid visualizer
1 parent eded239 commit 48492fb

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

app-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const APP_CONFIG_DEFAULTS: AppConfig = {
3535
logoDark: '/lk-logo-dark.svg',
3636
accentDark: '#1fd5f9',
3737
startButtonText: 'Start call',
38-
audioVisualizer: 'aura',
38+
audioVisualizer: 'grid',
3939

4040
// for LiveKit Cloud Sandbox
4141
sandboxId: undefined,

components/app/tile-layout.tsx

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -158,17 +158,11 @@ export function TileLayout({ chatOpen, appConfig }: TileLayoutProps) {
158158
<AudioGridVisualizer
159159
state={agentState}
160160
audioTrack={agentAudioTrack!}
161-
options={{
162-
columnCount: 11,
163-
rowCount: 11,
164-
radius: 6,
165-
interval: 75,
166-
className: 'gap-1',
167-
baseClassName: 'size-0.75 rounded-full',
168-
offClassName: 'bg-foreground/10 scale-100',
169-
onClassName:
170-
'bg-foreground scale-125 shadow-[0px_0px_2px_1px_rgba(255,255,255,0.2)]',
171-
}}
161+
size="sm"
162+
columnCount={9}
163+
rowCount={9}
164+
radius={6}
165+
interval={75}
172166
/>
173167
)}
174168
{appConfig.audioVisualizer === 'aura' && (

0 commit comments

Comments
 (0)