compile the program by doing javac pad.java

run the program by doing java padapp

press the q,a keys to go up or down octaves

go up to octave 4

press the z,x,c,v,b,n,m keys to play notes

click on or above the bars, to change their height

press the w,s keys to go the next or previous seed

play some notes

press the e key 2 times

play some notes and notice that it sounds different

press the d key 2 times

play some notes

go to file->write raw file

enter a name for the file and click OK.

note: if you have a different tracker then reading these instructions below will help you figure out how to get it to work in your tracker.

go to modplug Tracker.

go to File->new>IT

go to the tab that says Samples

drag the file you just created into the window

unless it's a Wave file, a dailog box should pop up

select 8-bit, Signed and mono.

click Ok

on the panel that says Loop

Type should be On

start should be at 1024

end should be at the end of the sample

that's all for now

Tip: you can change the filters and other options by editing the files saved by the program, just look at the source code to figure out how to do that