Search
Preparing search index...
The search index is not available
@kano/code
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
MicrophonePart
Class MicrophonePart
Hierarchy
Part
MicrophonePart
Index
Constructors
constructor
Properties
_components
core
id
name
subscriptions
user
Subscriptions
Accessors
pitch
volume
type
Methods
_query
Pitch
_query
Volume
apply
Transform
dispose
get
Component
load
on
Edge
on
Install
on
Start
on
Stop
render
Components
reset
reset
Transform
serialize
transform
Legacy
Constructors
constructor
new
Microphone
Part
(
)
:
MicrophonePart
Returns
MicrophonePart
Properties
Protected
_components
_components
:
Map
<
string
,
PartComponent
>
= new Map()
core
core
:
MicrophoneComponent
Optional
id
id
:
undefined
|
string
Optional
name
name
:
undefined
|
string
Protected
subscriptions
subscriptions
:
IDisposable
[]
= []
Protected
user
Subscriptions
user
Subscriptions
:
IDisposable
[]
= []
Accessors
pitch
pitch
:
volume
volume
:
Static
type
type
:
Methods
_query
Pitch
_query
Pitch
(
)
:
void
Returns
void
_query
Volume
_query
Volume
(
)
:
void
Returns
void
apply
Transform
apply
Transform
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
Component
get
Component
(
id
:
string
)
:
undefined
|
PartComponent
Parameters
id:
string
Returns
undefined
|
PartComponent
load
load
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
on
Edge
on
Edge
(
type
:
"rising"
|
"falling"
, value
:
number
, callback
:
function
)
:
void
Parameters
type:
"rising"
|
"falling"
value:
number
callback:
function
(
)
:
void
Returns
void
Returns
void
on
Install
on
Install
(
context
:
IPartContext
)
:
void
Parameters
context:
IPartContext
Returns
void
on
Start
on
Start
(
)
:
void
Returns
void
on
Stop
on
Stop
(
)
:
void
Returns
void
render
Components
render
Components
(
ctx
:
CanvasRenderingContext2D
)
:
Promise
<
void
>
Parameters
ctx:
CanvasRenderingContext2D
Returns
Promise
<
void
>
reset
reset
(
)
:
void
Returns
void
reset
Transform
reset
Transform
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
serialize
serialize
(
)
:
object
Returns
object
[
K:
string
]:
any
Static
transform
Legacy
transform
Legacy
(
app
:
any
)
:
void
Parameters
app:
any
Returns
void
Globals
Microphone
Part
constructor
_components
core
id
name
subscriptions
user
Subscriptions
pitch
volume
type
_query
Pitch
_query
Volume
apply
Transform
dispose
get
Component
load
on
Edge
on
Install
on
Start
on
Stop
render
Components
reset
reset
Transform
serialize
transform
Legacy
Generated using
TypeDoc