38 #ifndef _NSOUND_HAT_H_
39 #define _NSOUND_HAT_H_
49 class FilterHighPassIIR;
87 {
return play(duration, tune,
true); };
100 "Nsound::Hat by Nick Hilton on 2009-11-13\n"
101 "Simulates a Hat Hit. Based on a Csound Hat by Steven Cook.\n"
102 "source: http://www.csounds.com/cook/\n";
AudioStream play(const float64 &duration, const float64 &tune)
Static play method with option of Hat open or closed.
AudioStream play()
Plays a demo for this instrument.
Hat(const float64 &sample_rate)
Creates a Hat.
Hat & operator=(const Hat &rhs)
Assignment.
A class for filtering audio in the frequecy domain.
std::string getInfo()
Nsound::Hat information.
The Nsound Instrument baseclass. All Nsound instruments extend this class.