GhanaNLP / kasa

English to Twi translation system being put together by the GhanaNLP team
MIT License
32 stars 13 forks source link

Audio binary handling #35

Open PhidLarkson opened 1 month ago

PhidLarkson commented 1 month ago

In the api directory, within the main.py file, there are some methods that interact with the GhanaNLP APIs. The focus is in this issue is to add in the utilities, methods that allow you to;

  1. Write audio binary data to an audio file
  2. Play the audio direcctly out of the system audio output.
  3. Create a route to stream audio data (eg. for a local area network)

You could reply with more ways to handle audio data for the utilities.