class Serinette::Track
Contains noise, efects on noise, and when (timestamps) and how (volume) noise is played
Attributes
noise[RW]
Public Class Methods
new()
click to toggle source
# File lib/serinette/track.rb, line 7 def initialize @noise = init_noise end
Public Instance Methods
render()
click to toggle source
For now, just returns the result of noises render; this will be where the noise is brought in and out of the song
# File lib/serinette/track.rb, line 13 def render @noise.wavefile end
Private Instance Methods
init_noise()
click to toggle source
Initializes noise
# File lib/serinette/track.rb, line 20 def init_noise Noise.sample_noise_classes.first.new end