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

Changed to OPF and callback audio #2

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

iorobertob
Copy link

@rhyolight

Major changes to this script:

Previously worked creating a TP, now it uses an OPF getting predictions, anomalies and likelihoods.

Much like the nupic.critic and the cpu examples, with the addition of a stable and reliable audio stream, using a callback mode.

Added a model_params file.

Changed the name of script from audiostream_tp to only audiostream, to remove the TP reference.

Also changed slightly how the plot works, by using the TkAgg backend, this made it more stable and not crash when trying to stop the execution.

All other additions and/or considerations where added to the readme.

Roberto and others added 7 commits October 5, 2016 01:33
Completely changed the file. Made the audio to be a callback. Took only
the first bin as a stream of scalars to feed into an OPF model. This
opposed to taking the whole FFT vector and feeding directly into  a
temporal pooler.  Added anomaly and likelihood computations, and
plotted them.
To reflect that it no longer uses the tp distinctive
The main file has changed and now uses an OPF model. 

It also changed the way of receiving audio, it now uses a callback non blocking method with pyaudio. 

The name of the main file changed be fit these changes.
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.

1 participant