• Welcome to Dark Bit Factory & Gravity.
 

Flod meets Purebasic

Started by padman, August 17, 2015

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

padman

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: 
QuoteFlod 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 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:
Challenge Trophies Won:

jace_stknights

Work nice on my win7pro 64!

:bananaphallus:
Challenge Trophies Won:

KrazyK

Works nicely on both my machines here,  32 and 64 bit Win7.  Nice demo.
Challenge Trophies Won:

padman

Well, that sounds good so far. Didn't expect that. Thanks guys! :)
Challenge Trophies Won:

ttemper

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.

padman

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.  :-\
Challenge Trophies Won:

Hotshot

It run very well on my AMD A10  Window 8.1 :)

Rbz

Works fine here, win7 home basic.
Challenge Trophies Won:

padman

Many thanks guys!  :) 

5:1 so far. Hmm, I guess it's worth making a 'tutorial' and an example with source. Stay tuned... ;)
Challenge Trophies Won:

Hotshot

Quote
I guess it's worth making a 'tutorial' and an example with source. Stay tuned..

Good Idea :)