Oscillator used to create periodic waves.
Value parameters
- generator
-
function used to generate a wave based on a frequency
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Generates an AudioWave with a certain frequency
Generates an AudioWave with a certain frequency
Value parameters
- frequency
-
audio wave frequency
Attributes
Generates an AudioWave with a certain frequency and amplitude
Generates an AudioWave with a certain frequency and amplitude
Value parameters
- ampitude
-
amplitude of the generated wave
- frequency
-
audio wave frequency
Attributes
Generates a audio clip with a certain duration.
Generates a audio clip with a certain duration.
It also allows rounding the duration to the closest cycle, to smoothly merge results from oscilators.
Value parameters
- amplitude
-
amplitude of the wave
- duration
-
duration of the clip
- frequncy
-
frequency to play
- roundDuration
-
weather the duration should be rounded down to match a oscillator cycle
Attributes
Maps the waves generated by this oscillator
Maps the waves generated by this oscillator
Value parameters
- f
-
function that maps one amplitude to another
Attributes
- Returns
-
a new oscillator that generates the transformed waves
Inherited methods
Attributes
- Inherited from:
- Function1
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Function1 -> Any
- Inherited from:
- Function1