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

WaveFile.createSample(recorder.output); #21

Open
PeterTucker opened this issue Jan 26, 2012 · 3 comments
Open

WaveFile.createSample(recorder.output); #21

PeterTucker opened this issue Jan 26, 2012 · 3 comments

Comments

@PeterTucker
Copy link

Hey Maxlord,
I was wondering if you guys ever implemented raw mic data to be put into createSample()

WaveFile.createSample(recorder.output);

I see a similar person had an issue here
#8

Thank you for your time and the great lib.

-Peter

@maxl0rd
Copy link
Owner

maxl0rd commented Jan 26, 2012

Hi Peter

Sorry no, I don't know of anyone who has implemented this for SW3. Most of the work on this lib was done before the microphone apis were finalized.

@PeterTucker
Copy link
Author

Aww that's a shame. This is a great library. I think the whole Flash community would be in debt if you added this feature. Any possibility of this in the future.

And I would personally buy you a beer.(Pizza if you don't drink. hah)

Thanks for your time,
Peter

@brunopava
Copy link

So, how do i solve this?

private function RecordComplete(e:Event):void
{
var waveEncoder:WaveEncoder = new WaveEncoder();
_byteArray = WaveFile.createSample(waveEncoder.encode(recorder.output));
}

All I get is:
Error #2030: End of file was encountered.

Am I doing something wrong?

ps: WaveEncoder is a class from Mic Recorder library.
https://code.google.com/p/micrecorder/

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

No branches or pull requests

3 participants