Voss Connection Detection  1
Detect a connector click using realtime code on Bela hardware
SndFile< numChannels > Class Template Reference

Class to write to a sound file. More...

#include <conndetect_sndfile.h>

Public Member Functions

 SndFile (BelaContext *ctx, const char *filename)
 
 ~SndFile ()
 
void write (const std::array< float, numChannels > &samples)
 

Friends

template<us >
void raw_sndfile_auxtask_callback (void *sndfile_ptr)
 

Detailed Description

template<us numChannels>
class SndFile< numChannels >

Class to write to a sound file.

Definition at line 16 of file conndetect_sndfile.h.

Constructor & Destructor Documentation

◆ SndFile()

template<us numChannels>
SndFile< numChannels >::SndFile ( BelaContext *  ctx,
const char *  filename 
)

Definition at line 15 of file conndetect_sndfile.cpp.

◆ ~SndFile()

template<us numChannels>
SndFile< numChannels >::~SndFile

Definition at line 97 of file conndetect_sndfile.cpp.

Member Function Documentation

◆ write()

template<us numChannels>
void SndFile< numChannels >::write ( const std::array< float, numChannels > &  samples)

Definition at line 41 of file conndetect_sndfile.cpp.

Friends And Related Function Documentation

◆ raw_sndfile_auxtask_callback

template<us numChannels>
template<us >
void raw_sndfile_auxtask_callback ( void *  sndfile_ptr)
friend

Definition at line 9 of file conndetect_sndfile.cpp.


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