ESP  0.1
The Example-based Sensor Predictions (ESP) system tries to bring machine learning to the maker community.
istream.h File Reference
#include "GRT/GRT.h"
#include "ofMain.h"
#include "ofxNetwork.h"
#include "ofxOsc.h"
#include "stream.h"
#include <cstdint>

Go to the source code of this file.

Classes

class  InputStream
 Base class for input streams that provide live sensor data to the ESP system. To use an InputStream instance in your application, pass it to useInputStream() in your setup() function. More...
 
class  AudioStream
 Input stream for reading audio from the computer's microphone. More...
 
class  AudioFileStream
 Input stream for getting the FFT spectrum of an audio file as it plays. This class plays an audio file and supplies its 1024-sample / 512-bin FFT spectrum as input to the current pipeline. The spectrum is supplied every ~23 milliseconds (i.e. 441000 KHz / 1024 = ~43 Hz). More...
 
class  BaseSerialInputStream
 
class  SerialStream
 
class  FirmataStream
 Input stream for reading analog data from an Arduino running Firmata. To use an FirmataStream in your application, pass it to useInputStream() in your setup() function. More...
 
class  TcpInputStream
 Listening for data inputs over a TCP socket. More...
 
class  OscInputStream
 Listening for data inputs over OSC. More...
 

Variables

const uint32_t kOfSoundStream_SamplingRate = 44100
 
const uint32_t kOfSoundStream_BufferSize = 256
 
const uint32_t kOfSoundStream_nBuffers = 4
 

Variable Documentation

const uint32_t kOfSoundStream_BufferSize = 256
const uint32_t kOfSoundStream_nBuffers = 4
const uint32_t kOfSoundStream_SamplingRate = 44100