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

Audio only #1

Open
rwaldron opened this issue Mar 2, 2016 · 7 comments
Open

Audio only #1

rwaldron opened this issue Mar 2, 2016 · 7 comments

Comments

@rwaldron
Copy link
Contributor

rwaldron commented Mar 2, 2016

@beckmx requested in node-audiovideo, this is still in progress

@ahetawal-p
Copy link

Really looking forward for the microphone capability, for any voice activated systems.

@rwaldron
Copy link
Contributor Author

Worked on this a bit today, I'll ping when I have something worth talking about ;)

@rwaldron
Copy link
Contributor Author

@ahetawal can you try this:

npm install tessel/tessel-av;

Then you can do this:

var av = require("tessel-av");
var mic = new av.Microphone();

mic.monitor(mic.listen());

setTimeout(() => {
  mic.stop();
}, 5000);
  • listen() creates and returns a stream of audio data
  • monitor() just pipes it to aplay

I'm unable to find any voice recognition tools that will install on openwrt

@ahetawal-p
Copy link

@rwaldron I will give it a try tonite. While researching more on this planning to use my Tessel make use of amazon voice service, to send voice commands. Only requirement is :
Audio should be : mono channel, sampled at 16k Hz, and signed 16 bit PCM encoding

And for google speech api, it needs it to be in Flac format,
wondering if these things are possible ?

@rwaldron
Copy link
Contributor Author

Well, we'll find out together!
On Wed, Apr 13, 2016 at 4:54 PM Amit notifications@github.com wrote:

@rwaldron https://github.com/rwaldron I will give it a try tonite.
While researching more on this planning to use my Tessel make use of amazon
voice service, to send voice commands. Only requirement is :
Audio should be : mono channel, sampled at 16k Hz, and signed 16 bit PCM
encoding

And for google speech api, it needs it to be in Flac format,
wondering if these things are possible ?


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#1 (comment)

@ahetawal-p
Copy link

Happy to help, just not sure where to start on these things. Will soon update my findings.

On Apr 13, 2016, at 8:12 PM, Rick Waldron notifications@github.com wrote:

Well, we'll find out together!
On Wed, Apr 13, 2016 at 4:54 PM Amit notifications@github.com wrote:

@rwaldron https://github.com/rwaldron I will give it a try tonite.
While researching more on this planning to use my Tessel make use of amazon
voice service, to send voice commands. Only requirement is :
Audio should be : mono channel, sampled at 16k Hz, and signed 16 bit PCM
encoding

And for google speech api, it needs it to be in Flac format,
wondering if these things are possible ?


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#1 (comment)


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@ahetawal-p
Copy link

@rwaldron Did try the code above, and it seems to work, and I can hear it repeating, which so cool.
Can you suggest how should we go forward to save this recording as .mp3 and do some transcoding on it ?

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

2 participants