Pd++  0.01
A pure C++ implementation of Pure Data objects
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Noise.h
1 /*
2  Noise.cpp
3  Pd++
4 
5  Created by Esler,Robert Wadhams on 10/14/14.
6  Copyright (c) 2014 Robert Esler. All rights reserved.
7 
8  Some of the code in Pd++ is Copyright (c) 1997-1999 Miller Puckette.
9  For information on usage and redistribution, and for a DISCLAIMER OF ALL
10  WARRANTIES, see the file, "LICENSE.txt," in this distribution.
11  */
12 
13 #ifndef __Pd____Noise__
14 #define __Pd____Noise__
15 
16 #include <string>
17 #include "UnitGenerator.h"
18 #include "PdMaster.h"
19 
20 namespace pd {
21 
22 /*! \brief A noise~ generator. */
23 
24 class Noise : public PdMaster {
25 
26 private:
27  int x_val;
28  int init;
29 
30 public:
31 
32  Noise();
33  ~Noise();
34  double perform();
35 
36  const std::string pdName = "noise~";
37 
38 
39 };
40 
41 
42 } // pd namespace
43 
44 #endif /* defined(__Pd____Noise__) */
The Pd++ namespace.
Definition: BandPass.cpp:14
A super class inherited by all Pd++ objects.
Definition: PdMaster.h:62
A noise~ generator.
Definition: Noise.h:24