Skip to content

Conversation

@julien-nc
Copy link
Member

  • Fix issue when there is a 'output' output field that is not text (a check in a computed crashes)
  • Nicer task list item display when there is only audio input or output
    image
  • Emphasize audio outputs with the same border as for text output
    image
  • Change how we record audio: convert to wav and then to mp3 to make sure it's small and compatible with many APIs/tools
  • Vue 3 migration mistake: beforeDestroy is now beforeUnmount
  • Fix style for "list of text" fields
  • Fix item deletion for "list of text" fields

Copy link
Contributor

@kyteinsky kyteinsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

btw, what's the difference between an audio blob with "audio/mp3" mimetype vs generating a wav and then converting it into mp3?

@julien-nc julien-nc force-pushed the enh/noid/ui-adjustments branch from 1f6e0aa to fd6004f Compare July 8, 2025 08:24
@julien-nc
Copy link
Member Author

@kyteinsky Do you mean "Why don't we directly encode the recording to mp3 instead of using wav as intermediate format?" ?

I didn't find reliable mp3 encoder that directly works with extendable-media-recorder but I found something that can later convert a wav blog to an mp3 blob.

@julien-nc julien-nc merged commit 2e52670 into main Jul 8, 2025
9 checks passed
@julien-nc julien-nc deleted the enh/noid/ui-adjustments branch July 8, 2025 08:28
async generateFile() {
this.killStreams()
if (!this.aborted) {
this.blob = new Blob(this.chunks, { type: 'audio/mp3' })
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that and if we were already doing mp3 before or was it not really mp3, just annotation?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't encode we don't know for sure what we get. On my side with Firefox I got OggVorbis.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah okay that makes sense.

@janepie janepie mentioned this pull request Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants