WaveBeans / wavebeans

Audio Processing. On scale.
https://wavebeans.io
Apache License 2.0
24 stars 0 forks source link

Play functionality #11

Open asubb opened 4 years ago

asubb commented 4 years ago

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.