Forums

  • avatar
    121 sounds
    1545 posts


    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

    Warning: if you break the rules, see my avatar. Freesound Admin, Moderator, Ex-Freesound-Coder & Benevolent Dictator For Life.
  • avatar
    21 sounds
    52 posts


    Bram, what about making the player playing loops properly?

  • avatar
    21 sounds
    52 posts


    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.

  • avatar
    121 sounds
    1545 posts


    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

    Warning: if you break the rules, see my avatar. Freesound Admin, Moderator, Ex-Freesound-Coder & Benevolent Dictator For Life.
  • avatar
    21 sounds
    52 posts


    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.

  • avatar
    0 sounds
    3 posts


    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.

  • avatar
    0 sounds
    2 posts


    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

  • avatar
    121 sounds
    1545 posts


    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

    Warning: if you break the rules, see my avatar. Freesound Admin, Moderator, Ex-Freesound-Coder & Benevolent Dictator For Life.
  • avatar
    0 sounds
    2 posts


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

    Best

    Berio