Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - New web VGM player

Reply to topic
Author Message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
New web VGM player
Post Posted: Sat Dec 08, 2018 6:36 pm
Hi all,

Just to let you guys know that I'm disclosing a web vgm player based on the VGM section of smspower.

http://vgm.impulseinformatica.com.br

You can build, edit and share playlists. There is a A-Z index to ease finding the correct pack (there are more than 300 there). It's synced with VGM wiki page, so everytime there is a new pack added, this player gets updated.

Also there is a Top 50, My Top 50, Random 50 buttons when you access the playlist, to build new ones. And GD3 info on every pack.

You can also config things like number of loops etc.

And a lovely voting system like Medium.com

And it works on mobile! ^_^ (few issues on iOS though)

This is based on some other projects. From this community, namely ValleyBell's vgmplay and vampirefrog's GD3 metadata js helper. Thanks guys for making this possible.

If you think some feature is missing, or bugs, just ask here and we can discuss those!

Thanks again.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sat Dec 08, 2018 7:53 pm
Easter Egg (one of a few): Hitting play when loading the page without selecting any packs auto activates shuffle mode and plays a random pack!
  View user's profile Send private message
  • Joined: 30 Mar 2009
  • Posts: 297
Reply with quote
Post Posted: Tue Dec 11, 2018 1:03 pm
Man, this is really great, it should be integrated with the music section here.

Great work!
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14992
  • Location: London
Reply with quote
Post Posted: Tue Dec 11, 2018 1:13 pm
That is the plan...
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Dec 11, 2018 2:53 pm
Hey tibone!

Thanks for the feedback!

Maxim, while it's still already online, I'm committed to that too. Let's do this.
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8711
  • Location: Paris, France
Reply with quote
Post Posted: Wed Dec 19, 2018 10:55 am
This is very good :)

While integrating fully into the website is probably going to be non trivial work done over time, my suggestion is that in the meanwhile we can:

- Add links from the VGM Index, VGM individual package page, and Music Software sections.
- We could make this a sticky thread.

Those would little by little increase traffic and users.
What do you think Niloct?
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sat Dec 22, 2018 1:44 am
Hi Bock,

I think it's nice to include the other VGMs listed on smspower, but I can't see clearly the best way to customize player for that.

Ideally we could add a script tag on each vgm listing page and it should interact with my server and provide the VGMs, but then preprocessing is required.

Is there any other alt listing besides http://www.smspower.org/Music/Homebrew ? Even then, this list has mixed content, I will have to strip modules, and make the backend work for original mp3 file instead of vgm.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
New version of player
Post Posted: Mon Mar 30, 2020 7:51 am
Well, it's been a while.

I've released a new version today!

https://vgm.impulseinformatica.com.br

Changelog March 30th 2020:

- Optimized size of all mp3 files down to more than 40%;
- Added a new loop repeat option, 4x (repeat loop 4 times);
- Added a PAL/NTSC/Original option that makes all packs play in PAL/NTSC according to user option;
- Fixed mobile UI glitch that created a gap in playlist sometimes;
- Added https:// serving by default;
- Fixed mute bug on iOS with a new button tap to unmute like youtube;
- Added a waiting layer that makes UI works better and only after it's fully loaded;
- FUN! Added a shuffle playlist option that, if you have shuffle enabled and finished playing a pack, it automatically fetches and plays a random new pack.

Let me know if you find any nasty bugs on this.

Wish health to everyone around!

Thanks.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
New feature
Post Posted: Fri Apr 03, 2020 8:21 am
One brazillian user wanted to use a vgm as a ringtone so the player has a new feature:

- Download of currently selected vgm as a mp3.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Asking for features and testing
Post Posted: Tue Apr 13, 2021 5:26 pm
Hi everyone,

Today I've moved the vgm player to a new server.

It's been a while and although the player doesn't have much access, I still maintain it and monitor its accesses (Thanks Poland, looking at you :) ).

So I'm writing to ask 2 things:

- Can you please test the overall of it with your favorite songs and games ?
- What features do you miss from it ?

Thanks for the attention, again :)
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 5:35 pm
Someone with an IPv6 address triggered an error already :)

I'm looking into it.
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8711
  • Location: Paris, France
Reply with quote
Post Posted: Tue Apr 13, 2021 5:39 pm
It seems to be working fine for me (apart that my playlist is now stuck invisible, see last item):

- Suggestion: I feel like hearts should only be red when _I_ liked a track, rather than anyone. Empty heart can still show the count of other's people.

- Using FM unit logo in playlist may be a nice touch
(https://www.smspower.org/uploads/Site/FM.png)

- Playlist toggle button should be left-most button before Play ihmo.

- Minor (but weird) Can't see bottom-most of the page when covered by the player.

- Important: When manually resizing the player under the status/play bar, it becomes impossible to resize the player back up.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 5:42 pm
Niloct wrote
Someone with an IPv6 address triggered an error already :)

I'm looking into it.


Actually not an error, this person clicked on My Top 50 playlist, but this is linked by IP (simply), so it can be empty when you switch IPs, and the alert issues a backend message. But that's it.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 5:46 pm
Bock wrote

- Suggestion: I feel like hearts should only be red when _I_ liked a track, rather than anyone. Empty heart can still show the count of other's people.


This can be a problem, because likes are linked to IPs. That explains why you see a + number on likes, that's what I consider "your" current likes.

Bock wrote

- Using FM unit logo in playlist may be a nice touch
(https://www.smspower.org/uploads/Site/FM.png)

- Playlist toggle button should be left-most button before Play ihmo.

- Minor (but weird) Can't see bottom-most of the page when covered by the player.

- Important: When manually resizing the player under the status/play bar, it becomes impossible to resize the player back up.


Will take a look at all these (the sizing below the status bar is a nice catch).
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8711
  • Location: Paris, France
Reply with quote
Post Posted: Tue Apr 13, 2021 5:52 pm
Niloct wrote
Bock wrote

- Suggestion: I feel like hearts should only be red when _I_ liked a track, rather than anyone. Empty heart can still show the count of other's people.


This can be a problem, because likes are linked to IPs. That explains why you see a + number on likes, that's what I consider "your" current likes.


Well either way it is bizarre to see large red heart on something you didn't like yourself.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Apr 13, 2021 6:03 pm
But when you like a vgm, and switch IP, your like coallesce to others, so actually your likes can be bundled with total before + like count.
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8711
  • Location: Paris, France
Reply with quote
Post Posted: Wed Apr 14, 2021 10:27 am
Niloct wrote
But when you like a vgm, and switch IP, your like coallesce to others, so actually your likes can be bundled with total before + like count.


I'm not questioning seeing the total I am questioning seeing a bright red heart for something you didn't like yourself. In the end it makes red hearts not useful.

(Your "switch IP" thing is a little kludge for what should ideally use cookies or browser storage. Which is fine and pragmatic to simplify dev time!)
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Wed Apr 14, 2021 2:05 pm
But in the end you may have liked part of the total, because it sums all IP's likes which are not yours.

The best solution IMHO would be to integrate with smspower's login.

Cookies have a problem. When I'm on a NAT translated LAN, all votes from my devices including mobile count as a single IP so this was the rationale behind choosing IPs as ids.

For instance, every browser in my device also would count as different voting id.
  View user's profile Send private message
  • Joined: 05 Sep 2013
  • Posts: 3963
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Thu Apr 15, 2021 1:16 pm
it's anyway pretty easy to use different IPs so I wouldn't trust the IP to ensure one isn't voting twice, if you're really concerned
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Thu Apr 15, 2021 1:39 pm
Hey sverx!

Actually no one has ever abused the voting, and I set a threshold on individual vgm voting too. But yes, this isn't a good solution for the problem.
  View user's profile Send private message
  • Joined: 16 Aug 2005
  • Posts: 103
  • Location: Brazil
Reply with quote
Post Posted: Tue May 11, 2021 1:36 pm
Niloctronic, is the shuffle option meant to randomize tracks within a playlist or whole packs only?

On a side note, I was carefully compiling a playlist when, after 103 tracks, I got
Unhandled rejection QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'playlist' exceeded the quota.
errors upon trying to add more tracks.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:18 pm
Last edited by Niloct on Tue May 11, 2021 2:46 pm; edited 1 time in total
Melanogaster wrote
Niloctronic, is the shuffle option meant to randomize tracks within a playlist or whole packs only?

On a side note, I was carefully compiling a playlist when, after 103 tracks, I got
Unhandled rejection QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'playlist' exceeded the quota.
errors upon trying to add more tracks.


Hi Melanogaster! Thanks for your comments.

The random button today only shuffles the next pack when the playlist is empty or its last item is finished playing.

There is also a Random 50 tracks button if you open the panel. This is more like shuffle.

Man I am sorry for the trouble, seems you have reached a limit in localstorage on the browser. I wasn't aware of it.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:45 pm
I will fix this and store the playlist id only on the client, and the contents on the server.
  View user's profile Send private message
  • Joined: 16 Aug 2005
  • Posts: 103
  • Location: Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:45 pm
Niloct wrote
The random button today only shuffles the next pack when the playlist is empty or its last item is finished playing.

There is also a Random 50 tracks button if you open the panel. This is more like shuffle.

Do you reckon it would be too much of a hassle to implement a feature such as shuffling tracks within the current playlist...?

Niloct wrote
Man I am sorry for the trouble, seems you have reached a limit in localstorage on the browser. I wasn't aware of it.

Yes, I see now that localStorage cannot be used while on incognito mode, leaving me with the default 10MB memory limit on Chrome.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:48 pm
Melanogaster wrote
Niloct wrote
The random button today only shuffles the next pack when the playlist is empty or its last item is finished playing.

There is also a Random 50 tracks button if you open the panel. This is more like shuffle.

Do you reckon it would be too much of a hassle to implement a feature such as shuffling tracks within the current playlist...?


I will include that in next update. Actually it's a bit more difficult than fixing the playlist size limit, but I can do that!
  View user's profile Send private message
  • Joined: 16 Aug 2005
  • Posts: 103
  • Location: Brazil
Reply with quote
Post Posted: Tue May 11, 2021 2:52 pm
OK, thanks; I shall wait for it.
  View user's profile Send private message
  • Joined: 22 Apr 2017
  • Posts: 3
  • Location: Brazil
Reply with quote
Post Posted: Thu May 20, 2021 7:32 pm
Greate web player Niloct!

Everything seens to work fine and fast :D

I'ts possible to implement a option to loop the music indefinitely? (after 4x, include a infinite option).

Sometimes i want to listen a music for a long time and that's that i do on foobar on desktop.

Thanks and great work :)
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Fri May 21, 2021 3:43 am
lohankain wrote
Greate web player Niloct!

Everything seens to work fine and fast :D

I'ts possible to implement a option to loop the music indefinitely? (after 4x, include a infinite option).

Sometimes i want to listen a music for a long time and that's that i do on foobar on desktop.

Thanks and great work :)


Hi lohankain!

Great to have feedback :)

I believe it's possible, but I have to fiddle with the sound library a bit.

Will do my best to include this in next update!

Thanks for your comments and idea.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
localStorage bug fixed!
Post Posted: Tue Aug 20, 2024 12:37 am
Melanogaster wrote
OK, thanks; I shall wait for it.


Hi Melanogaster,

That's embarassing, but after 3 years I finally fixed the localStorage bug which hindered long playlists.

I still haven't tweaked random playing though, not in the sense you expected the playlist to be. What is random today, and always was, is that you can toggle Random button icon, and then when the current pack playing ends, the player randomly chooses the next pack.

For sake of completeness, I created a playlist with all the tracks, more than 5300 tracks in total (previously the limit was only about 150 tracks!). It was possible because I pushed myself to fix the published player, instead of postponing the fix to the 2.0 version which I have been ironing for years (but it's a total rewrite, close to releasing). The bug was silly: I dumbly persisted the VGM song data in localStorage, and that exploded the limit fast.

The playlist is here: https://vgm.impulseinformatica.com.br/#66c2181914729/1

Then, I also changed the default behavior of player regarding focusing on the current track in the playlist. It doesn't do this anymore automatically, ever, and now there is a "Current Track" button that when clicked scrolls the playlist to the current track. I found that this helps when you are building a custom, large playlist.

Also, the share button now persists the entire thing on server. It works, even when it takes about 9s to load the mega playlist above.

And then, I would like to thank the anonymous, loyal user from Poland which kept interest on the player visiting it day by day all these years ( even when now I don't look at Google Analytics anymore). It was such an interest which kept this project alive.

Thanks for your patience, Melanogaster! Next in queue: random playlist!
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Packs updated on vgmplayer
Post Posted: Fri Aug 23, 2024 1:09 am
New packs updated on vgmplayer (22/08):

BasketballNightmare-SMS.zip
ChicagoSyndicate-GG.zip
GGAlesteII-GG.zip
KLAX-GG.zip
LineOfFire-SMS.zip
RType-SMS-FM.zip
RType-SMS-PSG.zip
SpecialCriminalInvestigation-SMS.zip
Vigilante-SMS-FM.zip
Xenon2-SMS.zip
Zool-GG.zip

It takes time and manual checks to update the packs list on vgmplayer, because I have to pair each corresponding old and new track for each pack, so I can transfer the actual voting hearts from each old pack which has been updated (bash helps on this task).

So, that's why the playlist is somewhat missing new packs added on smspower. In the beginning of vgmplayer it was a automatic cronjob, and that was a huge nightmare regarding migrating voting hearts :)

Enjoy the new music, and thank you vgm contributors!
  View user's profile Send private message
  • Joined: 16 Aug 2005
  • Posts: 103
  • Location: Brazil
Reply with quote
Post Posted: Sat Sep 07, 2024 12:29 am
Niloct wrote
Thanks for your patience, Melanogaster! Next in queue: random playlist!

Thanks for having a go at it eventually! I shall now wait (less than three years, hopefully...?) for the random feature to work within a single playlist.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Sep 10, 2024 10:09 pm
Almost there, Melanogaster!

While doing it, player packs updated (10/09):

DesertStrike-SMS.zip
MaddenNFL95-GG.zip
OlympicGold-SMS.zip
PanzerDragoonMini-GG.zip
SuperKickOff-SMS.zip
WinterOlympics-GG.zip
WinterOlympics-SMS.zip
WorldClassLeaderBoard-SMS.zip
WorldCupUSA94-SMS.zip
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Tue Oct 08, 2024 12:15 am
Packs updated (07/10/2024):

JamesBond007TheDuel-SMS.zip
SuperSpaceInvaders-SMS.zip
DesertStrike-GG.zip
GPRider-SMS.zip
HeroesOfTheLance-SMS.zip
Madden96-GG.zip
Mercs-SMS.zip
PitFighter-SMS.zip
ShaqFu-GG.zip
MsPacMan-SMS.zip
BackToTheFuturePartIII-SMS.zip
ChoplifterIII-GG.zip
ChuckRockII-SMS.zip
CoolSpot-SMS.zip
Hook-SMS.zip
Lemmings-SMS.zip
LionKing-SMS.zip
MortalKombat-SMS.zip
OffTheWall-GG.zip
RoboCop3-SMS.zip
StriderII-SMS.zip
Wolfchild-SMS.zip
WWFWrestleManiaSteelCageChallenge-SMS.zip

The random feature is deployed in a testing version of player, if anyone else besides Melanogaster is interested in giving it a try.

Thanks Maxim for the packs, and Melanogaster for testing the beta version.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sun Oct 13, 2024 11:40 pm
Packs updated:

AahHarimanada-GG.zip
AerialAssault-SMS.zip
AndreAgassiTennis-SMS.zip
AssaultCity-SMS.zip
BankPanic-SMS.zip
ChampionshipHockey-SMS.zip
ChampionsOfEurope-SMS.zip
ChaseHQ-SMS.zip
CheeseCatastrophe-SMS.zip
ComicalMachineGunJoe-SMS.zip
DeadAngle-SMS.zip
DesertSpeedtrap-SMS.zip
GGDoraemonNoraNoSukeNoYabou-GG.zip
TaisengataDaisenryakuG-GG.zip
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sat Oct 26, 2024 4:36 pm
Packs updated:

Dinobasher-SMS.zip
DoubleHawk-SMS-FM.zip
DoubleHawk-SMS-PSG.zip
EccoTheDolphin-SMS.zip
F1-SMS.zip
FeriasFrustradasDoPicaPau-SMS.zip
FireAndForgetII-SMS.zip
FireAndIce-SMS.zip
GalacticProtector-SMS-PSG.zip
GLOCAirBattle-SMS.zip
Golfamania-SMS-FM.zip
Golfamania-SMS-PSG.zip
GreatFootball-SMS.zip
GreatGolf-SMS-FM.zip
GreatGolf-SMS-PSG.zip
GreatIceHockey-SMS.zip
ImpossibleMission-SMS.zip
KingsQuest-SMS.zip
KLAX-SMS.zip
Lemmings2-SMS.zip
LorettaNoShouzou-SMS.zip
MahjongSengokuJidai-SMS.zip
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sun Oct 27, 2024 7:28 am
Packs updated:

MastersOfCombat-SMS.zip
NBAJam-SMS.zip
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Fri Nov 01, 2024 3:18 am
Packs updated:

NewZealandStory-SMS.zip

Just a reminder: all packs can be played either at 50hz, 60hz, or in the original vgm rip speed, in the web vgmplayer.

It's a parameter you can set on tab "Config" there.
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Sat Nov 09, 2024 9:51 pm
Packs updated:

CloudMaster-SMS-FM.zip
NekkyuuKoushien-SMS-FM.zip
NekkyuuKoushien-SMS-PSG.zip
OperationWolf-SMS.zip
Ottifants-SMS.zip
PacMania-SMS.zip
ParlourGames-SMS-FM.zip
PatRileyBasketball-SMS.zip
PGATourGolf-SMS.zip
RescueMission-SMS-FM.zip
RescueMission-SMS-PSG.zip
SensibleSoccer-SMS.zip
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Fri Nov 15, 2024 5:18 pm
Packs updated:

SensibleSoccer-SMS.zip
SitioDoPicapauAmarelo-SMS.zip
SlapShot-SMS.zip
SmurfsTravelTheWorld-SMS.zip
SonicSpinball-SMS.zip
SpaceGun-SMS.zip
Speedball-SMS.zip
Speedball2-SMS.zip
SuperOffRoad-SMS.zip
GGShinobi-GG.zip
SpiderManXMenArcadesRevenge-GG.zip
  View user's profile Send private message
  • Joined: 25 Dec 2005
  • Posts: 622
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Thu Nov 21, 2024 2:13 am
Packs updated:

SitioDoPicapauAmarelo-SMS.zip
T2TheArcadeGame-SMS.zip
TecmoWorldCup93-SMS.zip
TimeSoldiers-SMS-FM.zip
TimeSoldiers-SMS-PSG.zip
UltimateSoccer-SMS.zip
Wimbledon-SMS.zip
WimbledonII-SMS.zip
WorldCupItalia90-SMS.zip
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!