Comments (3)
I believe there would be some limits to web support due to the security model. The plugin could hypothetically only read the audio data from audio files originating from the same server or otherwise where permitted by CORS rules.
But you can also consider a server-side solution, since this plugin is designed to produce data in a format that is compatible with audiowaveform which you could build a web service out of.
from just_waveform.
@ryanheise on this, yes we would definitely need web support, our sound files are all hosted on same server and cors should not be an issue.
from just_waveform.
In that case, yes it can be done. I have some old code somewhere where I exposed the web audio API to Dart, then it's a matter of implementing this feature over that API. It's not a priority for me, but I'll share below a helpful StackOverflow answer that describes how to use the Web Audio API:
https://stackoverflow.com/questions/22073716/create-a-waveform-of-the-full-track-with-web-audio-api
If anyone wants to contribute a web implementation, you are welcome, but note that the implementation should follow the same algorithm I have used for the Android and iOS implementations in order to be compatible with audiowaveform.
from just_waveform.
Related Issues (20)
- [Bug] extracting few audio files in same time HOT 3
- Will there be windows and linux support? HOT 2
- audio/waveform.mp3 must be an existed file? HOT 3
- Is it possible to extract audio from Stream? HOT 1
- Hide logs in console HOT 10
- Is there a way to draw waveform from Uint8List directly from buffer ? HOT 3
- Question: Cant follow along with example code HOT 1
- add support window HOT 9
- Waveform from a Stream<Uint8List> HOT 1
- PlatformException(ExtAudioOpenURL error, ExtAudioOpenURL error, null, null) HOT 3
- extract from ipod-library HOT 3
- Frozen on 99% while generating. HOT 5
- How to cancel the waveform processing before done? HOT 2
- Example code load asset error HOT 5
- Detect silence and pauses within audio using the waveform generated HOT 7
- Align waveform bars to center HOT 1
- PlatformException(ExtAudioOpenURL error, ExtAudioOpenURL error, null, null) HOT 3
- just_audio integration HOT 3
- large mp3 file size error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from just_waveform.