annotate examples/10-Instruments/d-box/DBoxSynth.h @ 531:ddb86944e138 prerelease

cleaned up all pd examples (and removed some). added polysynth and vangelisiser to instruments examples
author chnrx <chris.heinrichs@gmail.com>
date Thu, 23 Jun 2016 20:40:05 +0100
parents 8fcfbfb32aa0
children
rev   line source
robert@464 1 /*
robert@464 2 * SimpleSynth.h
robert@464 3 *
robert@464 4 * Created on: Oct 22, 2013
robert@464 5 * Author: Victor Zappi
robert@464 6 */
robert@464 7
robert@464 8 #ifndef DBOXSYNTH_H_
robert@464 9 #define DBOXSYNTH_H_
robert@464 10
robert@464 11 #include <iostream>
robert@464 12 #include <string>
robert@464 13 #include <stdio.h>
robert@464 14 #include <stdlib.h>
robert@464 15
robert@464 16 #include "Synth.h"
robert@464 17
robert@464 18
robert@464 19 class DBoxSynth : public Synth
robert@464 20 {
robert@464 21 public:
robert@464 22 DBoxSynth(unsigned int rate, unsigned long buffer_size);
robert@464 23 double getSample();
robert@464 24 double *getBlock(int block_size);
robert@464 25
robert@464 26
robert@464 27 private:
robert@464 28 Sampler *smp;
robert@464 29
robert@464 30 };
robert@464 31
robert@464 32
robert@464 33
robert@464 34
robert@464 35 #endif /* DBOXSYNTH_H_ */