| |
Conrad
Registered: Nov 2006 Posts: 839 |
Playing digi samples with a tune running at 12x or over.....?
Hi.
Is is possible to play samples using a tune playing at say 12x speed or maybe over.... rather than using a standard NMI interrupt routine?
After all, samples are played by basically altering $d418's low nybble (volume) ... just curious if a music player could achieve this by playing at 12x or such.
At the same time also, you could have cool ringtone effects playing in 1 to 3 voices AND play digis at the same time (and also have clear sharp filters possibly). |
|
| |
Stryyker
Registered: Dec 2001 Posts: 465 |
Samples are typically played anything from every third to every tenth rather line. Why not do the experiment? You can play samples using IRQ too or not using any interrupts. 12x would be less than half of the typical sample play rate. |
| |
ChristopherJam
Registered: Aug 2004 Posts: 1391 |
12x would still only give you a 50*12=600Hz sample rate - any frequency components over 300Hz (around middle C) would be completely lost.
As a rough guide, you need at least a 2000Hz sample rate for barely intelligible speech, probably more like four or five thousand for any kind of worthwhile instrument.
I think you'd need more like a 100x player to do digis this way! |
| |
Stryyker
Registered: Dec 2001 Posts: 465 |
And the player routine would probably use too many cycles if it does things other than just play the sample. |
| |
Dane Account closed
Registered: May 2002 Posts: 421 |
The digis in Digital Magic are replayed every second line and do not use NMI interrupt. They still sound like crap though. :/ |
| |
algorithm
Registered: May 2002 Posts: 702 |
Then there is the 'hammerfist' part in Wonderland 6 which removes all borders, topbottomleftright full screen rotating (sort of) sprites and digi. good for its time |
| |
Style
Registered: Jun 2004 Posts: 498 |
Quote: The digis in Digital Magic are replayed every second line and do not use NMI interrupt. They still sound like crap though. :/
Thats the magic :) |
| |
Dane Account closed
Registered: May 2002 Posts: 421 |
Nah, the magic part was more about sideborder opening and 8 sprites on FLI while playing those (crap) digis.
I really should do a sequel some day. |
| |
Style
Registered: Jun 2004 Posts: 498 |
I started to do a demo part with open sideborders, rasters (every 2 lines), digi track and a fullscreen sideborder scroller......
I really should get back to it
|
| |
Mace
Registered: May 2002 Posts: 1799 |
There's already a demo doing full-screen rasters with scroller in all borders, playing digi music.
But damn me if I can think of its name... |
| |
SIDWAVE Account closed
Registered: Apr 2002 Posts: 2238 |
New Limits |
... 16 posts hidden. Click here to view all posts.... |
Previous - 1 | 2 | 3 - Next |