wavesurfer -- JavaScript audio with wave visualisation

Small area for language related software developers. If you have a feature request please put in the appropriate place. This area is for developers of language software and forum software development only.
Cainntear
Brown Belt
Posts: 1121
Joined: Thu Jul 30, 2015 11:04 am
Location: Scotland
Languages: English(N)
Advanced: French,Spanish, Scottish Gaelic
Intermediate: Italian, Catalan, Corsican
Basic: Welsh
Dabbling: Polish, Russian etc
x 2563
Contact:

wavesurfer -- JavaScript audio with wave visualisation

Postby Cainntear » Thu Jan 04, 2018 10:17 pm

Hi, I'm working on a wee project I think many of you will find useful (more to follow in a few days when I have my prototype up and running) but I thought I'd share a link to a nice little Javascript module I'm using to build this on: wavesurfer.js.

Its main selling point is the on-screen waveform visualisation options, which lets you seek quickly through a file (handy for language stuff), but I think I'll be using it a lot even when I don't need the visualisation, because it gives you a lot more control over playback than the bog-standard HTML5 AUDIO object controls (e.g. you can play just a short section of a file by calling your_object_name_here.play(start_time,end_time), and I'm still baffled as to why that didn't make it into the HTML5 spec). (Sadly, the library suffers memory leaks that haven't been debugged yet, so caveat emptor.)

Hope this is useful to some of you!
2 x
A year of Tatoeba recordings: 40 / 365 One donated recording every day in 2017.

Return to “Development Area”

Who is online

Users browsing this forum: No registered users and 1 guest