New games every week!
Not Doing Advent : 08 - PlayMP3 (JSE) Blog
8th December 2024
Haven't a lot to show for today.
Plenty to hear, but not much to show.

-=-=-

// Music Test (requires at least v.3ghy) // by Jayenkai // Created 2024/12/7 Graphics 512,512,1 Print "Hello MP3" PlayMP3("Walking AL") Repeat If GamePad(ButtonA)>0.5 then PlayMP3("Walking D") If GamePad(ButtonB)>0.5 then PlayMP3("Closure") If GamePad(ButtonX)>0.5 then PlayMP3("Xenial Dancing (inst)") If GamePad(ButtonY)>0.5 then PlayMP3("Binky") if GamePad(ButtonUp)<0.5 then dis1=0 If GamePad(ButtonUp)>0.5 and dis1==0 then PlaySFX("Gun_2");dis1=1 if GamePad(ButtonDown)<0.5 then dis2=0 If GamePad(ButtonDown)>0.5 and dis2==0 then PlaySFX("Gun_1");dis2=1 Flip Forever


Be sure to refresh JSE so it updates to v3ghy

There's a new PlayMP3 command, and it plays pretty much anything from my Music Archive, though there's a few quirks..

1. Obviously, the music is only ever going to be the _lofistream quality, just to save on bandwidth.

2. The music is limited to my archive. I KNOW this makes it all a bit "Me Me Me", but I don't want JSE becoming "Everybody uploads copyrighted music" like PlayMyCode did, so limits are good...!!!

3. If you download with the "Download HTML5 Project" button, this functionality currently doesn't work.
I need to rewrite the exporter, so that it can grab the mp3 and pack it into the zip, before it works there.
Once I've added that functionality, you'll be able to replace the mp3s with your own. For today, I CBA doing that!!! This has been a long, long day.

4. Obviously, bandwidth, transfer speed, etc, will all impact the quality of this function.

If you'd like the complete list, hit the new "Music Library" button, and all is there. Otherwise you could also copy+paste the titles from my Music Archive.
I think I'll probably fix up the Music Library interface a bit, so it's .. anything other than a giant scrolling list!!! Not today, though. I've done more than enough!

But.. \o/yeay\o/ finally got around to doing this! Woot!!

Sorry there's no game, today. But I felt this was an important thing to add into the mix.
This was actually one of the "Important things to do when you're taking December off because the Advent is already done!" tasks.
Though things haven't exactly worked out that way, I'm glad I got this feature done.

A.I. Corner



Lyrics by me
> Reveal 🔎
: Download | Suno Link

Alternative version
: Download | Suno Link
Sung by Suno



"80s Airbrush Album cover art, titled "I'm Not Doing Advent, 8!!", Cartoon Derek riding a unicorn through a field of colourful marshmallows. " by Replicate/Flux

> Reveal 🔎
Views 80, Upvotes 1  
Daily Blog , Advent , Jse
New games every week!
Site credits : Jayenkai, one crazy fool who has far too much time on his hands.
(c) Jayenkai 2023 and onwards, RSS feed 85

Blog - Not Doing Advent : 08 - PlayMP3 (JSE) - AGameAWeek