Author Topic: Flod meets Purebasic  (Read 3047 times)

0 Members and 1 Guest are viewing this topic.

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 978
  • Karma: 258
    • View Profile
Flod meets Purebasic
« 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 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:
« Last Edit: August 17, 2015 by padman »
Challenge Trophies Won:

Offline jace_stknights

  • Amiga 1200
  • ****
  • Posts: 399
  • Karma: 32
  • PEEK & POKE are not MOVEM!
    • View Profile
    • ST Knights WebSite
Re: Flod meets Purebasic
« Reply #1 on: August 18, 2015 »
Work nice on my win7pro 64!

 :bananaphallus:
Challenge Trophies Won:

Offline KrazyK

  • Amiga 1200
  • ****
  • Posts: 276
  • Karma: 120
    • View Profile
    • KrazyK Remakes
Re: Flod meets Purebasic
« Reply #2 on: August 18, 2015 »
Works nicely on both my machines here,  32 and 64 bit Win7.  Nice demo.
Challenge Trophies Won:

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 978
  • Karma: 258
    • View Profile
Re: Flod meets Purebasic
« Reply #3 on: August 18, 2015 »
Well, that sounds good so far. Didn't expect that. Thanks guys! :)
Challenge Trophies Won:

Offline ttemper

  • Atari ST
  • ***
  • Posts: 209
  • Karma: 7
    • View Profile
Re: Flod meets Purebasic
« Reply #4 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.

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 978
  • Karma: 258
    • View Profile
Re: Flod meets Purebasic
« Reply #5 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.  :-\
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Flod meets Purebasic
« Reply #6 on: August 20, 2015 »
It run very well on my AMD A10  Window 8.1 :)

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2721
  • Karma: 484
    • View Profile
    • http://www.rbraz.com/
Re: Flod meets Purebasic
« Reply #7 on: August 22, 2015 »
Works fine here, win7 home basic.
Challenge Trophies Won:

Offline padman

  • Senior Member
  • Pentium
  • ********
  • Posts: 978
  • Karma: 258
    • View Profile
Re: Flod meets Purebasic
« Reply #8 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... ;)
Challenge Trophies Won:

Offline Hotshot

  • DBF Aficionado
  • ******
  • Posts: 2114
  • Karma: 91
    • View Profile
Re: Flod meets Purebasic
« Reply #9 on: August 23, 2015 »
Quote
I guess it's worth making a 'tutorial' and an example with source. Stay tuned..

Good Idea :)