Dark Bit Factory & Gravity

GENERAL => Projects => Topic started by: padman on August 17, 2015

Title: Flod meets Purebasic
Post by: padman on August 17, 2015
Hi guys,

Out of boredom I came up with a rather weird idea last night: why not use Flod for music playback in Purebasic.   :inspired:

For those who don't know what Flod is: 
Quote
Flod is a set of JavaScript and Flash/AS3 libraries written by Christian Corti that can accurately playback lots of different Amiga, PC and Atari ST music formats natively.
(Have a look at http://www.photonstorm.com/flod (http://www.photonstorm.com/flod) for further information.)

Anyway, after a day of wild coding I put together a quick example Amiga remake that makes use of this wicked idea. The "Jochen Hippel Music Demo" by Genesis. Since there's two different threads involved (one for the gfx, one for the music) and Flod usually only is used in webbrowsers, it'd be great if some of you could test the exe and tell me if it works for you or not. I guess the only requirement is that one has the latest Flash Player installed. Fingers crossed, since there is no cool error handling yet. It works fine here at least.

I might release an example source on how to abuse Flod if this test has more positive than negative results.  ;D

Press F1-F9 for the different tunes and press ESC to quit. It's a maximised window for a fake fullscreen effect, so it should run on most configs I hope. Haters gonna hate, since it's autostreched. But hey, it's only an example! ;)

Thanks in advance for testing!

Pad  :cheers:
Title: Re: Flod meets Purebasic
Post by: jace_stknights on August 18, 2015
Work nice on my win7pro 64!

 :bananaphallus:
Title: Re: Flod meets Purebasic
Post by: KrazyK on August 18, 2015
Works nicely on both my machines here,  32 and 64 bit Win7.  Nice demo.
Title: Re: Flod meets Purebasic
Post by: padman on August 18, 2015
Well, that sounds good so far. Didn't expect that. Thanks guys! :)
Title: Re: Flod meets Purebasic
Post by: ttemper on August 20, 2015
Doesn't seem to work properly on my system... http://i.imgur.com/Or5foZS.png

Win 7 Ultimate 64bit.

No audio plays at all, and when I try to 'open' the file, it opens in KMPlayer, but still no sound.
Title: Re: Flod meets Purebasic
Post by: padman on August 20, 2015
Thanks for testing mate! And crap! But you do have the Adobe FlashPlayer installed, right? Seems like PB's webgadget doesn't know how to handle SWF files on your machine properly. Instead of playing, it tries to 'download' it.  :-\
Title: Re: Flod meets Purebasic
Post by: Hotshot on August 20, 2015
It run very well on my AMD A10  Window 8.1 :)
Title: Re: Flod meets Purebasic
Post by: Rbz on August 22, 2015
Works fine here, win7 home basic.
Title: Re: Flod meets Purebasic
Post by: padman on August 22, 2015
Many thanks guys!  :) 

5:1 so far. Hmm, I guess it's worth making a 'tutorial' and an example with source. Stay tuned... ;)
Title: Re: Flod meets Purebasic
Post by: Hotshot on August 23, 2015
Quote
I guess it's worth making a 'tutorial' and an example with source. Stay tuned..

Good Idea :)