Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stream support #1

Open
GoogleCodeExporter opened this issue Apr 17, 2015 · 8 comments
Open

Stream support #1

GoogleCodeExporter opened this issue Apr 17, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

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
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

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
Copy link
Author

Refer to Issue 7 for the sampling solution.

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

@GoogleCodeExporter
Copy link
Author

Sampling problem should be fixed with release v0.9.

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

@GoogleCodeExporter
Copy link
Author

what's about problem with delay??? 

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant