Log in to Freesound

Problems logging in?
Don't have an account? Join now

Problems logging in?

Enter your email or username below and we'll send you a link to help you login into your account.

Back to log in

Almost there!

We've sent a verification link by email

Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.

Default title

  • Sounds
  • Tags
  • Forum
  • Map
    • Sounds
    • Packs
    • Forum
    • Map
    • Tags
    • Random sound
    • Charts
    • Donate
    • Help

Freesound Forums

  • Freesound Forums
  • Freesound Project
  • final freesound 2 sound flash player

final freesound 2 sound flash player

Subscribe

Started February 7th, 2009 · 29 replies · Latest reply by beries 15 years, 7 months ago

Bram

122 sounds

1,573 posts

16 years ago
#21

ljvillanueva,

The new player is coded in pure actionscript. No need for SWF or SWC files.
If you want to compile it use fdt or powerflasher or flexbuilder.

- bram

Admin | Support
D
Dstruct

1 sound

52 posts

16 years ago
#22

Bram, what about making the player playing loops properly?

D
Dstruct

1 sound

52 posts

15 years, 8 months ago
#23

Dstruct
Bram, what about making the player playing loops properly?

No chance? What encoder do you use for creating the preview files? LAME? Because that one can create proper gapless files.

I think it's done via two tags that the LAME encoder puts into files:

<ENC_DELAY> : 576
<ENC_PADDING> : 1271

Then the player needs to correct for this on playback.

At the moment it's no fun to listen to loops with the Freesound player sad

See http://forum.cockos.com/project.php?issueid=1596 for example. The developers just added proper gapless MP3 support in REAPER there.

Bram

122 sounds

1,573 posts

15 years, 8 months ago
#24

The player is prepared to receive new code for gapless playback. I prepared for it a long time ago. I just need to spend some time on implementing it and I have different priorities for now (finishing the public alpha of FS2 before the end of this year!).

I have some python code that tags mp3's with the proper encoding and decoding delay, now it's just a question of creating a class which plays back audio through the low-level flash-10 audio functions.

If you have any Flash knowledge, why not give it a shot yourself?

See:
http://github.com/bram/freesound/blob/master/sandbox/flash10player/src/BasicSoundManager.as
http://github.com/bram/freesound/blob/master/sandbox/flash10player/src/ISoundManager.as
http://github.com/bram/freesound/blob/master/sandbox/flash10player/src/ISoundManagerObserver.as

All ready for the NotSoBasicSoundManager.as smile

- bram

Admin | Support
D
Dstruct

1 sound

52 posts

15 years, 8 months ago
#25

Bram
The player is prepared to receive new code for gapless playback. I prepared for it a long time ago. I just need to spend some time on implementing it and I have different priorities for now (finishing the public alpha of FS2 before the end of this year!).

I have some python code that tags mp3's with the proper encoding and decoding delay, now it's just a question of creating a class which plays back audio through the low-level flash-10 audio functions.

Great news Bram! Many thanks!

Bram
If you have any Flash knowledge, why not give it a shot yourself?

No Flash knowledge here, sorry.

L
ljvillanueva

0 sounds

3 posts

15 years, 7 months ago
#26

Bram
http://media.freesound.org/files/newplayer/

This is the player that will be displayed in the "single sample view" page.
You need flash 10!!! ( http://www.adobe.com/products/flashplayer/ )

Please let me know your opinions, and if you find any bugs... I'd like to hear about those as well.

- Bram

Just in case you don't know, there is a delay of about a second when trying the player in Linux, specifically I'm using Ubuntu 9.10 and Flash 10 on both Firefox and Google Chrome.
It could also be a Flash bug, it tends to lag a lot in Linux from other OS versions.

B
beries

0 sounds

2 posts

15 years, 7 months ago
#27

Hello Bram,

I am using this player, which is so great, on a radio that I am developing. It works pretty good!.

BTW, I have a question and I would be very glad if you could help me. Can you point me out how to create those sound pictures so cool?. I read somewhere - I don't remember where - that you where using python. Where can I found more information about it?

Thanks!

Berio

Bram

122 sounds

1,573 posts

15 years, 7 months ago
#28

it's on the blog as well, click through to see later articles.

btw, both player and wavefile-to-png/jpg scripts are GPL, so if you make any changes to the player, make sure you share those changes as is required by law.

- Bram

Admin | Support
B
beries

0 sounds

2 posts

15 years, 7 months ago
#29

Thanks Bram, I found it.
Don't worry, I will show the code if I finally end up doing something.

Best

Berio

Post reply
  • 1
  • 2
About Freesound Terms of use Privacy Cookies Developers Help Donations Blog Freesound Labs Get your t-shirt!
© 2025 Universitat Pompeu Fabra