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

Play functionality #11

Open
asubb opened this issue Dec 13, 2019 · 0 comments
Open

Play functionality #11

asubb opened this issue Dec 13, 2019 · 0 comments

Comments

@asubb
Copy link
Member

asubb commented Dec 13, 2019

Just for convenience, CLI tool should be able to play the wav file through the selected output device.

As a part of this issue (if that's not solved separately), would need to add the output selection and listing the output devices.

Also the play ability might be added to the LIB, so it can be done via script if needed.

To play file via command line

wavebeans --play </path/to/file> --output <output-device-selector>

To play file via script (which can be done via command line as well)

wave("file:///path/to/file", ZeroFilling()).trim(5000).play(OutputDevice.select("<output-device-selector>"))

Output device selector should be covered separately, or in this issue, depends on what goes first.

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