|
ramp & | set (Flt target, Int time=0) |
|
ramp & | setIfNew (Flt target, Int time=0) |
|
ramp & | stop () |
|
ramp & | update () |
|
AUDIOBUFFER & | operator() () |
|
AUDIOBUFFER & | getSample () |
|
Flt | getValue () |
|
| ramp (ramp &) |
|
UInt | getLength () const |
|
UInt | getLengthMS () const |
|
Flt | getLengthSec () const |
|
Flt * | getBuffer () |
|
AUDIOBUFFER & | operator+= (Flt f) |
|
AUDIOBUFFER & | operator+= (const AUDIOBUFFER &s) |
|
AUDIOBUFFER & | operator-= (Flt f) |
|
AUDIOBUFFER & | operator-= (const AUDIOBUFFER &s) |
|
AUDIOBUFFER & | operator*= (Flt f) |
|
AUDIOBUFFER & | operator*= (const AUDIOBUFFER &s) |
|
AUDIOBUFFER & | operator/= (Flt f) |
|
AUDIOBUFFER & | operator/= (const AUDIOBUFFER &s) |
|
AUDIOBUFFER & | copyFrom (const AUDIOBUFFER &s, UInt SourcePos, UInt DestPos, UInt length) |
|
sample & | drawLine (UInt start, UInt stop, Flt startValue, Flt stopValue) |
|
sample & | drawLine (UInt start, UInt stop, Flt value) |
|
Flt | getBack () |
|
AUDIOBUFFER & | resize (UInt length, Bool copy=false) |
|
Definition at line 20 of file ramp.hpp.
sample& YSE::DSP::sample::drawLine |
( |
UInt |
start, |
|
|
UInt |
stop, |
|
|
Flt |
startValue, |
|
|
Flt |
stopValue |
|
) |
| |
|
inherited |
Draw data in a sound buffer.
This is not meant for buffers which will be sent to the audio output, but for buffers used to do calculations on real audio buffers. Make sure that start and stop values are within the bounds of this buffer (0 -> getLength()). If the startValue differs from the stopValue, values inbetween will be created as a linear slope.
- Parameters
-
start | the position in the buffer you want to start drawing |
stop | the position in the buffer you want to stop drawing |
startValue | the value you want to start with. (Between -1 and 1) |
stopValue | the value you want to stop at. (Between -1 and 1) |
sample& YSE::DSP::sample::drawLine |
( |
UInt |
start, |
|
|
UInt |
stop, |
|
|
Flt |
value |
|
) |
| |
|
inherited |
Fill (part of) a buffer with one value.
This is not meant for buffers which will be sent to the audio output, but for buffers used to do calculations on real audio buffers. Make sure that start and stop values are within the bounds of this buffer (0 -> getLength()). In a visual representation the result is an horizontal line.
- Parameters
-
start | the position in the buffer you want to start drawing |
stop | the position in the buffer you want to stop drawing |
value | the value to set. (Between -1 and 1) |
The documentation for this class was generated from the following file:
- C:/Users/yvan/Documents/GitHub/yse-soundengine/include/dsp/ramp.hpp