vgmrips

The forum about vgm files
It is currently 2018-09-22, 11:54:38

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 78 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: 2017-12-08, 2:08:27 

Staff Staff
Programmers Programmers
Offline
User avatar

Joined: 2012-04-22, 4:03:45
Posts: 211
Location: New York, NY, USA
niekniek wrote:
Ok, I guess it's at 95% stable now. I've been updating the post above about my todo list, I'll keep working on that. If you want you can build your own Emscripten 'binary' & data file but you can also get it from http://vlessert.nl/vgmplay-js/


Gives the error "[Error] ReferenceError: Can't find variable: AudioContext - VGMPlay_WebAudio (vgmplay-js-glue.js:137)" on macOS Safari 11.0.1 (High Sierra 10.13.1). Shockingly, I think Safari still uses the prefixed webkitAudioContext for its work, so I'd suggest you have that fallback as well.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-08, 11:44:28 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
neologix wrote:
Gives the error "[Error] ReferenceError: Can't find variable: AudioContext - VGMPlay_WebAudio (vgmplay-js-glue.js:137)" on macOS Safari 11.0.1 (High Sierra 10.13.1). Shockingly, I think Safari still uses the prefixed webkitAudioContext for its work, so I'd suggest you have that fallback as well.

They do; thx, fixed.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-08, 13:03:06 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 620
what is this ace of base shit

_________________
Support me on patreon!.
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2017-12-08, 20:46:47 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
vampirefrog wrote:
what is this ace of base shit

lol, don't you like it? :D :D It's from Sonyc, MSX obviously, it's on vgmrips.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-01-10, 16:18:20 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 620
how's this project going?

_________________
Support me on patreon!.
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-01-11, 0:51:03 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
vampirefrog wrote:
how's this project going?


Well, my todo list is somewhere on page 3. On it is nothing that's really required imo. So I guess it's ready for review and hopefully integration.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-01-11, 11:55:46 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 620
sounds good, thx

_________________
Support me on patreon!.
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-01-11, 22:25:11 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
btw, I'm aware of bugs in the progress bar. Works fine when not changing tabs, but when you leave the player, a next track starts and you go back to the player tab it'll probably not work.. but I'm curious how you will approach this. The playback and webaudio part is separated from the graphical and gui stuff.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-01-25, 17:47:30 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
After some experience with the webplayer with my phone I can conclude it has even more issues. For example it won't skip to the next track all the time when the normal playback time has passed. It has probably something to do with the fact that stuff stops when the tab is not active (since the phone is in my pocket, locked), so the callback to the function that starts the next track never happens or much later, whatever the implemented behaviour of Android & Chrome on Android is. I guess something with webworkers is required to fix this, if that'll even work when the phone is locked. Since phones are optimized for battery saving I suppose even webworkers won't work. But then again, playback will stop anyway when Android decides it needs to kill the browser, so the native Android player is always preferred. The question is if the behaviour on the desktop browser is the same. I don't think so, because I'm currently listening and it skips just fine on the other tab. Any thoughts on this?

By the way, the version on Github does not have a fix for the IOS handling of Webaudio, the version on vlessert.nl does; webaudio needs to be activated by a user-initiated event, like with a button, otherwise it just won't work.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-03-21, 16:17:11 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 620
There is a chrome:// setting to not require user interaction, but because you're using a script callback, perhaps a solution is to just not "stop" the audio stream, just use one audio stream to play multiple tracks.

_________________
Support me on patreon!.
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-03-29, 15:41:15 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
No it won't I guess. :( Chrome on IOS uses the Safari engine, it's not possible to use another then the engine from Apple. So the user interaction logic applies. Btw this also applies to Chrome Canary on other platforms currently.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-03-29, 16:49:04 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 620
Guess for phones we can create a couple of apps that just use the vgmrips API which doesn't exist.

_________________
Support me on patreon!.
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-05-18, 22:19:08 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
Hey vampirefrog, I've been experimenting a bit more with the javascript player, I've been downloading and extracting zip files in javascript so I can just input a vgmrips.net archive. My conclusion is that it works fine, but it just takes too long to download and extract the files in memory and start playback for a nice user experience. I can code a lot around that with offline storage and everything, but it'll simply be never like the mp3 files.

So for smooth playback of the whole vgmrips archive I would need direct access to the all vgz files. Would you think it's possible to offer that with decent performance through some PHP code?


Top
 Profile  
 
 Post subject:
PostPosted: 2018-05-19, 10:22:37 

Staff Staff
Programmers Programmers
Contributors Contributors
Ball Fondlers Ball Fondlers
Offline
User avatar

Joined: 2014-01-28, 5:51:54
Posts: 620
The site already does that. It extracts one file on the server side wiht a php script: http://vgmrips.net/packs/vgm/Other/The_ ... 20Lair.vgz

If you want to emulate this behavior, you can write a simple php script with ZipArchive that takes the name of the zip and the name of the file to be extracted. I think you can use the zip_open() example from here. If you want I can write it for you.

_________________
Support me on patreon!.
Follow me on twitter.

If you like this post, give it a big thumbs up and hit that subscribe button down below! And as always, thanks for reading, and see you next post.


Top
 Profile  
 
 Post subject:
PostPosted: 2018-05-22, 9:45:21 

Contributors Contributors
Offline
User avatar

Joined: 2017-07-17, 23:28:35
Posts: 54
Nice! I can manage, but I guess I can't use this right away in javascript because of the cross domain XHR thing?

I might be able to do it in php with a post...?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 78 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Steeler [Crawler] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group