This plugin allows you to insert mircophone audio into the current note.
Joplin can't do that in the desktop version yet, so this plugin is meant to fill this gap.
JOPLIN under ANDROID is about to have natively audio record. But it's not the case yet with the JOPLIN Desktop version.
This plugin gives the opportunity to have audio record under JOPLIN Desktop version...
Under WINDOWS 11 & JOPLIN 3.3.4 it works great as far as I can tell.
Nice catch, I can't improve this from the plugin, the changes needs to happen in joplin.
It should recognize audio/webm;codecs=opus as audio format, currently it treats all webm containers as video.
filepaths detection wont give the full story especailly for conainer formats like webm, ideally I can override this detectio by seding mimetype manually for example
Fixed in version 1.3.0 I added a workaround in the plugin
// HACK: Joplin renders webm as videos, make it think its a wav file instead
const tempFilePath = path.join(TEMP_DIR, fileName).replace(/.webm$/, ".wav");
Currently Joplin prefers audio/ogg and audio/webm for the audio recording feature in the web app (relevant code). If I recall correctly, this was due to issues with duration information in audio/webm recordings, but this should also show the audio player instead of the video player. Would it make sense to prefer audio/ogg or audio/mp4 to audio/webm?
I noticed that I can use .weba instead of .webm code unfortunately joplin doesn't recognize weba so I'll keep the current hack since it gives a better UX
Still texting on Windows. The 1.3. of the plugin version is not happy in my system... LOL
The 1.1 and 1.2 were OK.
Something very strange : despite I uninstalled everything (no more plugin in JOPLIN and no more .jpl on my disk where it was) I have all theses lines .
Do you thing there's somethink "still there" in the note despite the markdown shows nothing ? Do you think there's a risk to alterate the notes if we uninstall the plugin after using it ?
That's unexpected, the plugin should not have such capabilities, I have no theory on what's happening in your end other then maybe its a joplin bug revealed by some interaction with the plugin
No problem. Beta tests are fot that ! I try the 1.4 immediatly... If it's OK on Windows, I try Kubuntu...
In fact I think it's not your plugin but something in Joplin with all plugins. At one moment there's something sensible to changes. Because I had the same very long list of lines with the update of the pdf plugin some months ago !
About the name of the file ("recording" at this moment), do you think it's possible to have somewhere the opportunity to choose it ?
By my side I would prefer something more explicit like "voice-note_[time stamp]"
A last thing. But it's a joplin issue already met with pdf files (not your plugin fault). The copy function of a media file "forget" the link to the data contrary to the [CTRL] [C] way:
are you having issues with weba ? your media player doesnt run it ? it should be supported, btw you can just rename it to webm and it will work the same
regarding name the file its a good idea I might look into it when I have time
"you can just rename it to webm and it will work the same"
Yes I did this before to post last time : I confirme that the file is not corrupted. It's just an extension change of name.
I often need to recover on disk (save as) a file put inside a Joplin note. So I'm not really interested to need to rename the extension all the time.
For those who need to use an external media player (open) it's not simple (many steps) by default with the weba extension:
So yes it can work at the end but I fear that many users give up not understanding why a .webm is not immediatly read.... But I agree it's not that bad : it's just a one time configuration. Except if you want to use differents media players and make a choice every time.
For the file naming I checked it out, and joplin dialog api doesn't offer a way to send data (in this case the file name ) from the dialog to the main app, there might be a workaround but it will be too complex and I'm not sure if it will work, so for this one I'll leave it to the joplin devs to imporve the api to allow such use case