sevengo8378 / as3wavsound

Automatically exported from code.google.com/p/as3wavsound
Other
0 stars 0 forks source link

Stream support #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For large .wav files, there can be a long delay reading them into a bytearray 
before beginning playback.  Similar to flash.media.Sound, WavSound should 
support loading a wav as a stream and not just a ByteArray.

Original issue reported on code.google.com by andrewwe...@gmail.com on 16 Jun 2010 at 12:01

GoogleCodeExporter commented 9 years ago
Good call. Problem is, this requires a buffering mechanism of some 
intelligence. It will take some time to get this working right, but I might 
pick up on this.

Original comment by b.bottema on 27 Jul 2010 at 5:31

GoogleCodeExporter commented 9 years ago
Dear sir:

If i recevie a ByteArray from streaming server, the sound format is 
8k/16bit/mono, how can i play it using wavsound. Thanks a lot.

Do the Sound class support 8k raw audio data?

Original comment by NickFor...@gmail.com on 29 Aug 2010 at 4:41

GoogleCodeExporter commented 9 years ago
No, as the wiki specifies currently only 44100/22050/11025 sample rates are 
supported. However, since a lot of requests have been submitten for 8000, I 
might just look into adding this in the nearby future.

Original comment by b.bottema on 19 Oct 2010 at 3:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I have been looking at a way to do some automatic up/down sampling to the 
nearest supported samplerate. Haven't found a good example yet so I'll probably 
will have to implement one myself.

It's on the roadmap: 
http://code.google.com/p/as3wavsound/wiki/Documentation#Current_state_/_Roadmap.

Original comment by b.bottema on 21 Dec 2010 at 7:29

GoogleCodeExporter commented 9 years ago
Refer to Issue 7 for the sampling solution.

Original comment by b.bottema on 14 Aug 2012 at 1:59

GoogleCodeExporter commented 9 years ago
Sampling problem should be fixed with release v0.9.

Original comment by b.bottema on 23 Aug 2012 at 12:17

GoogleCodeExporter commented 9 years ago
what's about problem with delay??? 

Original comment by Aleksey....@gmail.com on 3 Nov 2012 at 10:42