struct Tsh::Sound::Tone

Overview

A musical note and the waveform to play it on

Defined in:

sounds.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(note : Tsh::Note, waveform : Waveform) #

Instance Method Detail

def note : Tsh::Note #

The musical note to play


def note=(note : Tsh::Note) #

The musical note to play


def waveform : Waveform #

The waveform to play it on


def waveform=(waveform : Waveform) #

The waveform to play it on