Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (12 sloc) 0.679 kb
1 2 3 4 5 6 7 8 9 10 11 12
; This is an attempt at an NES style vocoding of greg's fav song
f1 0 16384 10 2 ; sine table
f2 0 16384 10 1 1 0.5 0.333 0.25 0.2 0.1667 0.1429 0.125 0.1111 .1 0.0909 0.083; sawtooth table
f3 0 1024 7 1 512 1 0 -1 512 -1 ; square wave
; instrument starttime duration volume low freq hifreq table adj?
i6 0 30 ; default sound
i1 30 30 1 40 800 3 0.5 ; play on table 3 the square wave
i1 60 30 1 40 800 2 0.5 ; play on table 2 the sawtooth
i1 90 30 1 40 800 1 0.5 ; play on table 1 the sine
i1 120 30 1 100 1000 3 0.5 ; play on table 3 the square wave
i1 150 30 1 100 1000 2 0.5 ; play on table 2 the sawtooth
i1 180 30 1 100 1000 1 0.5 ; play on table 1 the sine
Something went wrong with that request. Please try again.