struct Tsh::Sound::Note

Overview

A collection of tones with a length to play them for

Defined in:

sounds.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tones : Array(Tone), length : Float64) #

Instance Method Detail

def length : Float64 #

How long to play them for


def length=(length : Float64) #

How long to play them for


def tones : Array(Tone) #

The tones to play


def tones=(tones : Array(Tone)) #

The tones to play