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

Create usage examples and helper classes #1

Open
3 of 14 tasks
andeaseme opened this issue Feb 21, 2020 · 0 comments
Open
3 of 14 tasks

Create usage examples and helper classes #1

andeaseme opened this issue Feb 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@andeaseme
Copy link
Member

andeaseme commented Feb 21, 2020

Useful or interactive examples of how stream2py is used and a base consumer class to get started quickly

SourceReaders Ideas

  • webcam
  • keyboard input
  • url stream
  • audio

Buffer Reader Consumer Ideas

  • General saving to files
  • Event based actions
    • Save recording before and after webcam sees the color red
    • Save recording before and after a loud noise
    • Save recording while detecting voices
  • Data visualization
    • Audio loudness graph
    • Audio playback
    • Video stream or snapshots
    • Display json data

BufferConsumer class

Isolate common patterns when using the BufferReader as an asynchronous consumer.
First handling data from a single source

Then handling multiple sources. An Example would be recording and saving webcam data when voices or some other sounds are heard. So there would be

  • 2 SourceReaders: Audio and Webcam
  • Consumer that listens to audio and starts webcam on an event and then saves and/or displays the data

┆Issue is synchronized with this Asana task by Unito

@andeaseme andeaseme added the enhancement New feature or request label Feb 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant