36 #ifndef _NSOUND_DRUM_KICK_BASS_H_
37 #define _NSOUND_DRUM_KICK_BASS_H_
78 const Buffer & high_frequency,
79 const Buffer & low_frequency);
85 "Nsound::DrumKickBass by Nick Hilton on 2008-10-14\n"
86 "Simulates a bass kick drum. Based on a Csound drum.\n"
87 "source: http://www.adp-gmbh.ch/csound/instruments/base_drum01.html\n\n"
98 " kcps expon 1, 0.022, 0.5\n"
99 " kcps = 4.3333 * kcps * icps + icps\n"
102 " a2 phasor kcps, 0.5\n"
105 " kffrq1 expon 1, 0.07, 0.5\n"
106 " kffrq2 expon 1, 0.01, 0.5\n"
107 " kffrq = (kffrq1 + kffrq2) * kcps\n"
109 " a1 pareq a1, kffrq, 0, 0.7071, 2\n"
111 " a1 = taninv(a1 * 20)\n"
113 " a1 pareq a1, kcps * 6, 2, 1, 2\n"
114 " a1 pareq a1, icps * 1.25, 2.5, 1, 0\n"
116 " a2 linseg 1, i_len, 1, 0.01, 0, 1, 0\n"
117 " a1 = a1 * a2 * iamp * 4500 + (1/1e24)\n"
AudioStream play()
Plays a demo for this instrument.
DrumKickBass(const float64 &sample_rate, const float64 &high_frequency, const float64 &low_frequency)
Creates a Bass Kick Drum.
~DrumKickBass()
Destructor.
std::string getInfo()
Nsound::DrumKickBass information.
The Nsound Instrument baseclass. All Nsound instruments extend this class.
A Buffer for storing audio samples.