arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ChartT< T > Class Template Reference

Displays audio in a Jupyter as chart Just wrapps a stream to provide the chart data. More...

#include <JupyterAudio.h>

Public Member Functions

const std::string chartData ()
 Provides data as svg polyline.
 
int getChannel ()
 
int getChannels ()
 
void setup (std::string fName, int channelCount, int channelNo)
 

Protected Member Functions

int transform (int x)
 

Protected Attributes

int channel =0
 
int channels =0
 
std::string fname
 
std::stringstream str
 
const int wav_header_size = 44
 

Detailed Description

template<typename T>
class audio_tools::ChartT< T >

Displays audio in a Jupyter as chart Just wrapps a stream to provide the chart data.

Member Function Documentation

◆ chartData()

template<typename T >
const std::string chartData ( )
inline

Provides data as svg polyline.

◆ getChannel()

template<typename T >
int getChannel ( )
inline

◆ getChannels()

template<typename T >
int getChannels ( )
inline

◆ setup()

template<typename T >
void setup ( std::string  fName,
int  channelCount,
int  channelNo 
)
inline

◆ transform()

template<typename T >
int transform ( int  x)
inlineprotected

Member Data Documentation

◆ channel

template<typename T >
int channel =0
protected

◆ channels

template<typename T >
int channels =0
protected

◆ fname

template<typename T >
std::string fname
protected

◆ str

template<typename T >
std::stringstream str
protected

◆ wav_header_size

template<typename T >
const int wav_header_size = 44
protected

The documentation for this class was generated from the following file: