Thread: Playing samples
View Single Post
Old 18 June 2011, 00:00   #2
Leffmann
 
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
For PAL the period is 3546895 / frequency in Hz / length in bytes, and for NTSC you use 3579545.

Samples have to be an even number of bytes in length, and there's a lower limit of about 125 for the period value (for NTSC and PAL at least).
Leffmann is offline  
 
Page generated in 0.08405 seconds with 11 queries