Skip to content

Commit 8ea4f3a

Browse files
authored
84 fix chunking, mime type encoding, removes mp3 support, standardize audio, update all deps (#89)
* Fix param name for clarity * Update packages * Format * Updates all packages to latest * Migrates biome from v1 to v2 * Formatting with biome v2 * Fixes minor change in Zod api with how nullish / nullable is handled & passed to openai * Uses new type * Remove mp3 conversion using ffmpeg, it's not working in any scenario * Fixes mime types and audio file creation. Can still create mp3 and webm. Adheres to options. Files are working well * Remove mp3 support * Use standardized-audio-context * Removes fixwebm duration - this is the heart of the issue. Causes a new issue with playback, but it's minor in comparison * Bumps version
1 parent 2beff1f commit 8ea4f3a

File tree

14 files changed

+451
-1009
lines changed

14 files changed

+451
-1009
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Get your key in the [AssemblyAI Dev Console https://www.assemblyai.com/app/acco
3535

3636
- **Audio Input Device:** Select which microphone to use for recording. By default, the system's default audio input device will be used.
3737

38-
- **Audio File Format:** Choose between WebM and MP3 formats for saving audio recordings. MP3 format will be converted from WebM on the client side.
38+
- **Audio File Format:** We only support `.webm` as browsers across all devices either support webm or wav. Because of the size, `.wav` is not considered
3939

4040
- **Disable LLM Transcription:** If enabled, audio will not be sent to any LLM for transcription, providing privacy when needed.
4141

biome.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.3.8/schema.json",
33
"vcs": {
44
"enabled": false,
55
"clientKind": "git",
66
"useIgnoreFile": false
77
},
88
"files": {
99
"ignoreUnknown": false,
10-
"ignore": []
10+
"includes": ["**"]
1111
},
1212
"formatter": {
1313
"enabled": true,
1414
"indentStyle": "space",
1515
"indentWidth": 2
1616
},
17-
"organizeImports": {
18-
"enabled": true
19-
},
17+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
2018
"linter": {
2119
"enabled": true,
2220
"rules": {

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "scribe",
33
"name": "Scribe",
4-
"version": "2.2.3",
4+
"version": "2.2.4",
55
"minAppVersion": "0.15.0",
66
"description": "Record, transcribe, and transform voice notes into structured insights. Leverage Whisper or AssemblyAI and ChatGPT to fill in gaps, generate summaries, and visualize ideas — all seamlessly integrated within Obsidian.",
77
"author": "Mike Alicea",

0 commit comments

Comments
 (0)