Skip to content

Commit 7683b3a

Browse files
committed
fix: 更新useTone.ts中的音频文件路径以指向新的样本目录
- 将音频文件的baseUrl从'/samples/guitar-acoustic/'更改为'/samples/piano/'以反映新的样本位置。 - 注释掉旧的baseUrl以保留历史记录。
1 parent b6b41bd commit 7683b3a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/src/use/useTone.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ export function useTone() {
4141
A7: 'A7.mp3',
4242
C8: 'C8.mp3',
4343
},
44-
baseUrl: '/samples/guitar-acoustic/',
44+
baseUrl: '/samples/piano/',
45+
// baseUrl: '/samples/guitar-acoustic/',
4546
onload: () => {},
4647
}).toDestination();
4748
}

0 commit comments

Comments
 (0)