Klang C++
Language Reference (draft)
Loading...
Searching...
No Matches
klang::Envelope::Point

Envelope point (x,y) More...

#include <klang.h>

Public Member Functions

 Point ()
 
template<typename T1 , typename T2 >
 Point (T1 x, T2 y)
 

Public Attributes

float x
 
float y
 

Detailed Description

Definition at line 2701 of file klang.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

klang::Envelope::Point::Point ( )
inline

Definition at line 2704 of file klang.h.

2704: x(0), y(0) { }

References x, and y.

◆ Point() [2/2]

template<typename T1 , typename T2 >
klang::Envelope::Point::Point ( T1 x,
T2 y )
inline

Definition at line 2707 of file klang.h.

2707: x(float(x)), y(float(y)) { }

References x, and y.

Referenced by klang::Envelope::at(), klang::Envelope::release(), and klang::ADSR::set().

Member Data Documentation

◆ x

◆ y