Update Blocks with GUI directive for ins and outs

pull/5/head
Chip Audette 8 years ago
parent d6ac1238a9
commit 409fdd38ba
  1. 1
      AudioControlSGTL5000_Extended.h
  2. 2
      AudioConvert_F32.h
  3. 1
      AudioEffectCompressor_F32.h
  4. 1
      AudioEffectGain_F32.h
  5. 1
      AudioFilterFIR_F32.h
  6. 1
      AudioFilterIIR_F32.h
  7. 1
      AudioMixer4_F32.h
  8. 1
      AudioMultiply_F32.h
  9. 2
      control_tlv320aic3206.h
  10. 10
      input_i2s_f32.h
  11. 14
      output_i2s_f32.h
  12. 1
      synth_sine_f32.h
  13. 1
      synth_waveform_F32.h

@ -13,6 +13,7 @@
class AudioControlSGTL5000_Extended : public AudioControlSGTL5000 class AudioControlSGTL5000_Extended : public AudioControlSGTL5000
{ {
//GUI: inputs:0, outputs:0 //this line used for automatic generation of GUI node
public: public:
AudioControlSGTL5000_Extended(void) {}; AudioControlSGTL5000_Extended(void) {};
bool micBiasEnable(void) { bool micBiasEnable(void) {

@ -7,6 +7,7 @@
class AudioConvert_I16toF32 : public AudioStream_F32 //receive Int and transmits Float class AudioConvert_I16toF32 : public AudioStream_F32 //receive Int and transmits Float
{ {
//GUI: inputs:1, outputs:1 //this line used for automatic generation of GUI node
public: public:
AudioConvert_I16toF32(void) : AudioStream_F32(1, inputQueueArray_f32) { }; AudioConvert_I16toF32(void) : AudioStream_F32(1, inputQueueArray_f32) { };
void update(void) { void update(void) {
@ -44,6 +45,7 @@ class AudioConvert_I16toF32 : public AudioStream_F32 //receive Int and transmits
class AudioConvert_F32toI16 : public AudioStream_F32 //receive Float and transmits Int class AudioConvert_F32toI16 : public AudioStream_F32 //receive Float and transmits Int
{ {
//GUI: inputs:1, outputs:1 //this line used for automatic generation of GUI node
public: public:
AudioConvert_F32toI16(void) : AudioStream_F32(1, inputQueueArray_Float) {}; AudioConvert_F32toI16(void) : AudioStream_F32(1, inputQueueArray_Float) {};
void update(void) { void update(void) {

@ -18,6 +18,7 @@
class AudioEffectCompressor_F32 : public AudioStream_F32 class AudioEffectCompressor_F32 : public AudioStream_F32
{ {
//GUI: inputs:1, outputs:1 //this line used for automatic generation of GUI node
public: public:
//constructor //constructor
AudioEffectCompressor_F32(void) : AudioStream_F32(1, inputQueueArray_f32) { AudioEffectCompressor_F32(void) : AudioStream_F32(1, inputQueueArray_f32) {

@ -14,6 +14,7 @@
class AudioEffectGain_F32 : public AudioStream_F32 class AudioEffectGain_F32 : public AudioStream_F32
{ {
//GUI: inputs:1, outputs:1 //this line used for automatic generation of GUI node
public: public:
//constructor //constructor
AudioEffectGain_F32(void) : AudioStream_F32(1, inputQueueArray_f32) {}; AudioEffectGain_F32(void) : AudioStream_F32(1, inputQueueArray_f32) {};

@ -21,6 +21,7 @@
class AudioFilterFIR_F32 : public AudioStream_F32 class AudioFilterFIR_F32 : public AudioStream_F32
{ {
//GUI: inputs:1, outputs:1 //this line used for automatic generation of GUI node
public: public:
AudioFilterFIR_F32(void): AudioStream_F32(1,inputQueueArray), coeff_p(FIR_F32_PASSTHRU) { AudioFilterFIR_F32(void): AudioStream_F32(1,inputQueueArray), coeff_p(FIR_F32_PASSTHRU) {
} }

@ -21,6 +21,7 @@
class AudioFilterIIR_F32 : public AudioStream_F32 class AudioFilterIIR_F32 : public AudioStream_F32
{ {
//GUI: inputs:1, outputs:1 //this line used for automatic generation of GUI node
public: public:
AudioFilterIIR_F32(void): AudioStream_F32(1,inputQueueArray), coeff_p(FIR_F32_PASSTHRU) { AudioFilterIIR_F32(void): AudioStream_F32(1,inputQueueArray), coeff_p(FIR_F32_PASSTHRU) {
} }

@ -17,6 +17,7 @@
#include <AudioStream_F32.h> #include <AudioStream_F32.h>
class AudioMixer4_F32 : public AudioStream_F32 { class AudioMixer4_F32 : public AudioStream_F32 {
//GUI: inputs:4, outputs:1 //this line used for automatic generation of GUI node
public: public:
AudioMixer4_F32() : AudioStream_F32(4, inputQueueArray) { AudioMixer4_F32() : AudioStream_F32(4, inputQueueArray) {
for (int i=0; i<4; i++) multiplier[i] = 1.0; for (int i=0; i<4; i++) multiplier[i] = 1.0;

@ -17,6 +17,7 @@
class AudioMultiply_F32 : public AudioStream_F32 class AudioMultiply_F32 : public AudioStream_F32
{ {
//GUI: inputs:2, outputs:1 //this line used for automatic generation of GUI node
public: public:
AudioMultiply_F32(void) : AudioStream_F32(2, inputQueueArray_f32) {}; AudioMultiply_F32(void) : AudioStream_F32(2, inputQueueArray_f32) {};
void update(void); void update(void);

@ -16,6 +16,8 @@
class AudioControlTLV320AIC3206: public AudioControl class AudioControlTLV320AIC3206: public AudioControl
{ {
public: public:
//GUI: inputs:0, outputs:0 //this line used for automatic generation of GUI node
AudioControlTLV320AIC3206(void) {};
bool enable(void); bool enable(void);
bool disable(void); bool disable(void);
bool volume(float n); bool volume(float n);

@ -34,6 +34,7 @@
class AudioInputI2S_F32 : public AudioStream_F32 class AudioInputI2S_F32 : public AudioStream_F32
{ {
//GUI: inputs:0, outputs:2 //this line used for automatic generation of GUI nodes
public: public:
AudioInputI2S_F32(void) : AudioStream_F32(0, NULL) { begin(); } AudioInputI2S_F32(void) : AudioStream_F32(0, NULL) { begin(); }
virtual void update(void); virtual void update(void);
@ -49,14 +50,5 @@ private:
static uint16_t block_offset; static uint16_t block_offset;
}; };
/*
class AudioInputI2Sslave : public AudioInputI2S
{
public:
AudioInputI2Sslave(void) : AudioInputI2S(0) { begin(); }
void begin(void);
friend void dma_ch1_isr(void);
};
*/
#endif #endif

@ -34,6 +34,7 @@
class AudioOutputI2S_F32 : public AudioStream_F32 class AudioOutputI2S_F32 : public AudioStream_F32
{ {
//GUI: inputs:2, outputs:0 //this line used for automatic generation of GUI node
public: public:
AudioOutputI2S_F32(void) : AudioStream_F32(2, inputQueueArray) { begin(); } AudioOutputI2S_F32(void) : AudioStream_F32(2, inputQueueArray) { begin(); }
virtual void update(void); virtual void update(void);
@ -56,17 +57,6 @@ private:
}; };
/*
class AudioOutputI2Sslave : public AudioOutputI2S
{
public:
AudioOutputI2Sslave(void) : AudioOutputI2S(0) { begin(); } ;
void begin(void);
friend class AudioInputI2Sslave;
friend void dma_ch0_isr(void);
protected:
static void config_i2s(void);
};
*/
#endif #endif

@ -20,6 +20,7 @@
class AudioSynthWaveformSine_F32 : public AudioStream_F32 class AudioSynthWaveformSine_F32 : public AudioStream_F32
{ {
//GUI: inputs:0, outputs:1 //this line used for automatic generation of GUI node
public: public:
AudioSynthWaveformSine_F32() : AudioStream_F32(0, NULL), magnitude(16384) {} AudioSynthWaveformSine_F32() : AudioStream_F32(0, NULL), magnitude(16384) {}
void frequency(float freq) { void frequency(float freq) {

@ -16,6 +16,7 @@
class AudioSynthWaveform_F32 : public AudioStream_F32 class AudioSynthWaveform_F32 : public AudioStream_F32
{ {
//GUI: inputs:0, outputs:1 //this line used for automatic generation of GUI node
public: public:
enum OscillatorMode { enum OscillatorMode {
OSCILLATOR_MODE_SINE = 0, OSCILLATOR_MODE_SINE = 0,

Loading…
Cancel
Save