Old 18th January 2013, 13:37   #1
greatWho
Senior Member
 
Join Date: May 2001
Location: Switzerland
Posts: 155
adapting AVS to HTML5

is there maybe already an adaption to HTML5 made or is someone interested to start a project to do that?
greatWho is offline   Reply With Quote
Old 19th January 2013, 00:11   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,362
erm.. no! unconed has ported an old preset of his to javascript though

http://acko.net/blog/js1k-demo-the-making-of/
Yathosho is offline   Reply With Quote
Old 19th January 2013, 15:55   #3
QOAL
[STILL a retard!]
 
QOAL's Avatar
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 1,168
There's a html5 version of milkdrop if you're interested: http://blog.nihilogic.dk/2009/03/jav...-milkdrop.html


An actual html5 AVS clone would be a lot of work.
Although with Adobe adding all the photoshop blend modes to the css/canvas specs and WebGL it should be possible from the rendering perspective.
You'd also need to interrupt the language (maybe some regex and eval could help) and clone all the drawing functions and popular apes.
Also what is the actual state of the audio api? http://en.wikipedia.org/wiki/HTML5_Audio

count!last.fmdastylishplanner
QOAL is offline   Reply With Quote
Old 28th January 2013, 14:07   #4
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,362
Quote:
Originally Posted by QOAL View Post
There's a html5 version of milkdrop if you're interested: http://blog.nihilogic.dk/2009/03/jav...-milkdrop.html


Although with Adobe adding all the photoshop blend modes to the css/canvas specs and WebGL it should be possible from the rendering perspective.
unconed and nemoorange are experimenting a lot with webgl, i suggest following them on twitter. as you said, it's uncertain how audio can be incorporated into this (javascript?), though i'd find an any-data-input approach far more interesting.
Yathosho is offline   Reply With Quote
Old 28th January 2013, 17:07   #5
QOAL
[STILL a retard!]
 
QOAL's Avatar
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 1,168
You can access the audio stream data using previously mentioned audio APIs. You can also create audio with it.
It's just that you'd probably have to use soundmanager2 as it has a flash fall back for browsers that don't support an audio API (which is anything other than chrome and firefox, I assume), so it wouldn't be a pure html solution.

For the end user they could simply drag and drop tracks on to the web page and have them played/visualised. Playing music from another website is likely to fall foul of security implementations unless the site supports cross origin requests. And also each browser supports a different selection of audio formats.

count!last.fmdastylishplanner
QOAL is offline   Reply With Quote
Old 15th March 2013, 01:36   #6
Raz
Forum King
 
Raz's Avatar
 
Join Date: Dec 2002
Location: Manchester
Posts: 6,470
I did a bit of playing with the audio buffers thing in firefox about a year ago. It's neat, but I didn't think it had legs as a big project when compared with a native app, mainly because the performance just isn't good enough for doing lots of effects, you could totally do something with it and it would be cool as hell, but for something serious like AVS it's gotta be native if you ask me, at least where we're at now with support and performance.

Have a little looksie at a basic detection thing I did with it here if you want. Only works in FF.

Raz is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Visualizations > AVS

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump