Adobe Dreamweaver Forums



Last 10 THreads :         help me with adjustments layers in CS4 (Last Post : Ann_Shelbourne@adobeforums.com - Replies : 4 - Views : 5 )           »          Re: Help authenticating installer (Last Post : Awebus - Replies : 0 - Views : 1 )           »          Site sometimes depends sessions, sometimes not,depending on user! (Last Post : VeryHopeful - Replies : 2 - Views : 3 )           »          Making a photo with rounded corners (Last Post : Linda Rathgeber - Replies : 9 - Views : 10 )           »          Problem initialising quicktime (Last Post : eoinie - Replies : 2 - Views : 3 )           »          image looks different in different browsers? (Last Post : Nancy O - Replies : 6 - Views : 7 )           »          How do I centre Tables ? (Last Post : Buringee - Replies : 2 - Views : 3 )           »          Changing Menu Bar (Last Post : Red67Coupe - Replies : 0 - Views : 1 )           »          Images not showing in IE (Last Post : Nancy O - Replies : 1 - Views : 2 )           »          Re: SFW and date created (Last Post : Ramón_G_Castañeda@adobeforums.com - Replies : 0 - Views : 1 )           »         


User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flex
 
Tags:



Reply
  #1 (permalink)  
Old 11-04-2008, 07:03 PM
ReubenH
 
Posts: n/a
Diggs:
Default Synthesizing MP3 data...

Hi,


I am observing a small but significant delay betwen calling Sound.play() and
the sound actually being played. The nature of the program I am writing
requires that there be no delay here at all, or at least a constant delay, or
else the playback (of lots of small sample mp3s) sounds bad.

To get around this I was wondering how one might go about synthesizing an MP3
stream...

Is it possible to fake up a stream of bytes and present it to the media API as
an MP3 to be played? Or is this right out of court? The idea comes from a
project I saw recently - Quake implemented in Silverlight - which fakes up the
graphics by generating a PNG image for each frame.

Many thanks!



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-04-2008, 08:12 PM
Amy Blankenship
 
Posts: n/a
Diggs:
Default Re: Synthesizing MP3 data...


"ReubenH" <webforumsuser@macromedia.com> wrote in message
news:geq63p$rco$1@forums.macromedia.com...
> Hi,
>
>
> I am observing a small but significant delay betwen calling Sound.play()
> and
> the sound actually being played. The nature of the program I am writing
> requires that there be no delay here at all, or at least a constant delay,
> or
> else the playback (of lots of small sample mp3s) sounds bad.
>
> To get around this I was wondering how one might go about synthesizing an
> MP3
> stream...
>
> Is it possible to fake up a stream of bytes and present it to the media
> API as
> an MP3 to be played? Or is this right out of court? The idea comes from a
> project I saw recently - Quake implemented in Silverlight - which fakes up
> the
> graphics by generating a PNG image for each frame.


http://dispatchevent.org/roger/embed...g-in-your-swf/


Reply With Quote
  #3 (permalink)  
Old 11-05-2008, 02:34 PM
ReubenH
 
Posts: n/a
Diggs:
Default Re: Synthesizing MP3 data...

Thanks, but that's just about embedding arbitrary data. Am more interested in
generating an audio stream on the fly...

Luckily for it me it seems flash.media.Sound and friends got exactly this
capability in Flash Player 10 (Astro).

Reply With Quote


Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 12:09 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk