# Overview

A package that can be `require`d into a TIC program for sound things.

## Music

### music.getPos

Returns {track, pattern, row}

### Noise

### noise.setWaveU(ch,pos,val)

For channel (0-3), sets a position in the wave (0-31) with a value (from 0-1).

### noise.setWaveUs(ch,data)

Data is a table of 32 entries, each from 0-1.

### noise.getWaveUs(ch)

Returns a table of 32 entries, each from 0-1.

### noise.setFreq(ch,freq)

For channel (0-3), set a frequency (0-4095)

### noise.setVolU(ch,vol)

For channel (0-3), set a volume (0-1)

### noise.getVolU(ch)

For channel (0-3), returns the volume (0-1)

### noise.getFreqA()

returns 440 - the smartest of functions!

### noise.addFreqSemis(freq,semis)

Adds semitones to a frequency (12 for an octave)

### noise.makeWaveUSin()

Returns a sin wave in a table

### noise.makeWaveUSquare()

Returns a square wave in a table

### noise.makeWaveUSaw()

Returns a saw wave in a table

### noise.makeWaveUTriangle()

Returns a triangle wave in a table

### noise.makeWaveUPulse()

Returns a pulse wave in a table
