You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and get the metadata, specifically the duration, through an event listener:
this.audio.addEventListener('loadedmetadata', e => this.loadMetaData(e));
loadMetaData(e) {
const { duration } = e
...
}
The issue is, when I record for one minute on a Mac, the duration ends up being 59.712 seconds, whereas when I record in chrome on a Windows, the duration is 56.189.
I can't figure out if this is a side effect of the audio element, or if it has something to do with the original audioSrc. Have you ever experienced anything like this?
The text was updated successfully, but these errors were encountered:
I've run into this bug; I've always thought maybe it's to do with a misconfiguration of sample rate and/or sample size. Still haven't pinned it down. Will update this comment if/when I find.
Hello!
Thank you for this package, I've found it extremely useful. I have a very specific question for you.
Have you ever experienced any difficulties in using the recorder in Chrome on a Windows 10 vs on a Mac (Catelina 10.15.5)?
I've implemented the recorder as instructed:
I then pass the audio to the HTML audio element:
and get the metadata, specifically the duration, through an event listener:
The issue is, when I record for one minute on a Mac, the
duration
ends up being 59.712 seconds, whereas when I record in chrome on a Windows, theduration
is 56.189.I can't figure out if this is a side effect of the
audio
element, or if it has something to do with the originalaudioSrc
. Have you ever experienced anything like this?The text was updated successfully, but these errors were encountered: