## calculate the sample rate for a ProTracker period value of 200
periodToSampleRate(200)
## calculate the sample rate for a sample at note 'A-3'
noteToSampleRate("A-3")
## note that the NTSC video system gives a slightly different rate:
noteToSampleRate("A-3", video = "NTSC")
## fine tuning a sample will also give a slightly different rate:
noteToSampleRate("A-3", finetune = -1)
Run the code above in your browser using DataLab