Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (30 sloc) 0.684 kb
#ifndef _NOISER_H_
#define _NOISER_H_
* Wave.h
* Sin
* Created by blucia0a on 8/25/11.
* Copyright 2011 __MyCompanyName__. All rights reserved.
#include "SampleSource.h"
class Noiser : public SampleSource{
double freq, amp; // controls
double freqz, ampz; // for dezipper filter
int phase; // oscillator phase in radians
double srate;
bool isActive;
Noiser(float (*gen)(int));
float (*gen)(int);
void setAmpVal(double val);
void setFreqVal(double val);
double getFreqVal();
double getAmpVal();
bool active();
void activate();
void deactivate();
virtual void getNextSample(float *out);
Jump to Line
Something went wrong with that request. Please try again.