Jump to content

How the Gates Stole Christmas... :)


9 replies to this topic

#1  

    Dragonstomper

  • 889 posts
  • Joined: 27-November 03
  • Luck can't last a lifetime unless you die young.
  • Location:Dallas, Tx

Posted Tue Dec 14, 2004 11:00 AM

Just a little 6-bit 4kHz sampling PCM demo. :wink:

Run this in the emulator with 128k memory...wait... then listen...

Happy Holidays!

Attached Files



#2  

    Dragonstomper

  • 889 posts
  • Joined: 27-November 03
  • Luck can't last a lifetime unless you die young.
  • Location:Dallas, Tx

Posted Tue Dec 14, 2004 1:34 PM

Here is another experiment with some higher fidelity audio. This time the audio is sampled at 16kHz, but I am doing some tricks to vibrate the speaker faster than the ear can hear it to cause some half volume samples. This creates a pseudo-7bit PCM playback and works great on the emulator.

I need to try this on the real hardware. I would guess that it might cause some frequency aliasing, and you might hear some unwanted high frequencies...

Attached Files



#3  

    Dragonstomper

  • 889 posts
  • Joined: 27-November 03
  • Luck can't last a lifetime unless you die young.
  • Location:Dallas, Tx

Posted Tue Dec 14, 2004 5:40 PM

Oops. Had a bug in the code. This fixes a few hisses and pops... :)

Attached Files



#4  

    Quadrunner

  • 5,704 posts
  • Joined: 30-December 01
  • Moongates to the Past

Posted Tue Dec 14, 2004 7:47 PM

Im not actually sure what I am supposed to be hearing - though I tried it on Atariwin 3.1 emu

#5  

    Dragonstomper

  • 889 posts
  • Joined: 27-November 03
  • Luck can't last a lifetime unless you die young.
  • Location:Dallas, Tx

Posted Wed Dec 15, 2004 7:42 PM

Well, you are just supposed to hear some audio.

Just as I expected, the 6bit+ doesn't work on the real hardware, showing that frequency aliasing is not really emulated properly. Well, it works but with a horrible hiss.

6bit PCM at 13.3KHz sampling rate it not that bad though...

#6  

    Dragonstomper

  • 584 posts
  • Joined: 21-March 02
  • Location:UK

Posted Sat Dec 18, 2004 9:08 AM

Nice one Cybernoid - Pretty good sound quality :) :thumbsup:

Just curious regarding your first one - 6 Bit, 4Khz.
(I'm too lazy to dissable your code I guess) If your're not wiggling the volumes faster than the sample rate like the other example, how're you doing it then?

thanks!

#7  

    Stargunner

  • 1,402 posts
  • Joined: 01-February 04
  • Stay Atari!
  • Location:Warsaw, Poland

Posted Sat Dec 18, 2004 5:18 PM

maybe use some more mem-banks :)

#8  

    Dragonstomper

  • 889 posts
  • Joined: 27-November 03
  • Luck can't last a lifetime unless you die young.
  • Location:Dallas, Tx

Posted Sat Dec 18, 2004 5:59 PM

Sheddy said:

Nice one Cybernoid - Pretty good sound quality :)  :thumbsup:  

Just curious regarding your first one - 6 Bit, 4Khz.
(I'm too lazy to dissable your code I guess) If your're not wiggling the volumes faster than the sample rate like the other example, how're you doing it then?

thanks!

Thanks! Yeah, that one was pure 6bit. Here are a few more 6bit 13.3kHz samples, and the source code. These sound great on the real hardware.
The code uses all 4 pokey voices in volume only mode for an effective 6bit range. There are some more experiments I am working on, so it may still be possible to do better than 6bit.


I am ultimately working on a player for the MaxFlash Cart and for MyIDE.
The Flash Cart code is written, but I still have a few more questions for Steve... I have talked to Mr. Atari as well.

~C~

Attached Files



#9  

    Dragonstomper

  • 889 posts
  • Joined: 27-November 03
  • Luck can't last a lifetime unless you die young.
  • Location:Dallas, Tx

Posted Sat Dec 18, 2004 6:01 PM

Oops, forgot the Samples...

Attached Files



#10  

    Dragonstomper

  • 584 posts
  • Joined: 21-March 02
  • Location:UK

Posted Mon Dec 20, 2004 8:36 AM

Thanks for sharing the code Cybernoid - I'll be looking at it with a fine tooth comb - My experiments with combining channel volumes on samples
were awful! In fact I was even thinking that when using volume only the full excursion of the speaker was effected by just one channel. Nice to know it can be done :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users