MagicEngine
Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Japanese English 

higher sample rates than 6.9KHz...

 
Post new topic   Reply to topic    MagicEngine Forum Index -> General
View previous topic :: View next topic  
Author Message
damage_x
Visitor
Visitor


Joined: 20 Feb 2012
Posts: 4

PostPosted: Sun Jul 28, 2013 7:44 am    Post subject: higher sample rates than 6.9KHz... Reply with quote

Here is my idea. Set the timer interrupt to 874hz (period value of 7). During interrupt routine, stuff 32 PCM samples into the pattern buffer of channel 0, reset timer. On next interrupt, start playing channel 0 at 874hz (period value 127) and then stuff the next 32 PCM samples into the pattern buffer of channel 1. Third interrupt, start playing channel 1, reload channel 0, etc.

So basically, using two channels for double buffering of samples, loading 32 samples per interrupt, and playing PCM audio at 27965hz.

Has anyone tried this yet? Could be nice for a software MOD player.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MagicEngine Forum Index -> General All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group