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

Add node bindings with example usage #7

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

stevenlafl
Copy link

@stevenlafl stevenlafl commented Apr 29, 2023

Here are some node.js bindings. Example usage is provided like your other bindings, using prism-media like the Discord.js/voice package does. Let me know if the output lines up with what you're expecting..

Here's with the example running against your zoo.wav, it's converted to PCM16 using ffmpeg.

Name: AprilV0
Description: No description added.
Language: en-us
Sample rate: 16000

 ALL RIGHT SO HERE WE ARE ON THE ELEPHANT COOL THING WHAT THESE GUYS IS THAT THEY HAVE REALLY REALLY REALLY LONG PROMISE AND THAT'S THAT'S COOL
 AND THAT'S PRETTY MUCH ALL IT TO SAY

Nice work on this project. Found it through Louis Rossmann.

@abb128
Copy link
Owner

abb128 commented May 3, 2023

Hi, thank you for the contribution! Could you change the examples such that the paths can be input by the user and are not hardcoded?

@stevenlafl
Copy link
Author

@abb128 I've added that feature to the example.

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

Successfully merging this pull request may close these issues.

2 participants