Age | Commit message (Collapse) | Author |
|
method on the synth instead
|
|
Godot interface. Still need to work on how we're playing the instrument.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Now the MonoSynth has one main `osc` property, and it holds an Osc
struct which contains its own instance of a Phasor. The Phasor has
been mostly hidden away from the top level, though we still have our
Bender for bending phase. I think we can implement methods on Osc in
order to manipulate the Phasor of a particular instance of osc if need
be.
The outer `frames` function has been partially refactored. However, I
think we should/could wrap the Osc's `next` function in something like
`next_sample` which returns a Sample (vs an Option). we could also do
something like `osc.take(frames_count).map { |s| frames.push(s) }`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- add a method to set the sample rate of the sine wave
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- comment out unused gdnative module use
- handle Results returned by the test audio function
|
|
|
|
|
|
|
|
|
|
|