Welcome, Guest. Please login or register.

Author Topic: 14bit paula  (Read 3340 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jlariv8957Topic starter

  • Full Member
  • ***
  • Join Date: Feb 2005
  • Posts: 112
    • Show only replies by jlariv8957
14bit paula
« on: March 14, 2008, 10:11:22 PM »
Hi, how does ahi work to get 14 bit with paula ?
 

Offline Thomas

Re: 14bit paula
« Reply #1 on: March 14, 2008, 10:15:25 PM »

It plays the same sample on two channels with different volumes.

Detailed documentation as well as the calibration program is in the Play16 archive on Aminet

Bye,
Thomas

Offline rkauer

  • Hero Member
  • *****
  • Join Date: May 2006
  • Posts: 3263
    • Show only replies by rkauer
Re: 14bit paula
« Reply #2 on: March 14, 2008, 10:17:10 PM »
 In an A1200? Good enough! But better if you have some Fast RAM or a proper accelerator.
Goodbye people.

I\'ll pop on from time to time, RL is acting up.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: 14bit paula
« Reply #3 on: March 14, 2008, 11:40:46 PM »
In short:

The higher 8bits are played with full volume as usual. The lower bits are played with volume 1. The amiga audio HW mixes the channels together.
 

Offline skolman

  • Full Member
  • ***
  • Join Date: Oct 2007
  • Posts: 106
    • Show only replies by skolman
    • http://stagevu.com/user/skolman_mws
Re: 14bit paula
« Reply #4 on: October 20, 2014, 03:20:37 PM »
Quote from: jlariv8957;382982
Hi, how does ahi work to get 14 bit with paula ?


AHI is not needed. AHI only slows down and reduces the quality of the sound.

Paula sound, so where does that 14bit audio come from?
http://lifeofliveforit.blogspot.com/2013/01/paula-sound-so-where-does-that-14-audio.html

without AHI, native 14bit Paula

Prayer2
SongPlayer 1.53 (deactivate AHI in prefs)
AMP2 (AmiDog's Movie Player 2) WOS
Symphonie Pro
and other.
A1200 BlizzardPPC BVision Lan/WiFi FastATA Gold,
EFIKA 5K2 R9250 MorphOS +Amiga Workbench
https://youtu.be/mjsGVkDjBOc
 

Offline psxphill

Re: 14bit paula
« Reply #5 on: October 20, 2014, 03:33:00 PM »
Quote from: skolman;775313
Paula sound, so where does that 14bit audio come from?
http://lifeofliveforit.blogspot.com/2013/01/paula-sound-so-where-does-that-14-audio.html

I believe the article is wrong

"So where does that 14bit stereo sound come from? You might have wondered, well after reading the hardware reference manual, it explains that 4 audio channels can be combined in to two.

In this mode, one of channels controls the volume (a value from 0 to 63) 6bits, and wave from is (127 to -127) 8bit, so if you add that up 6+8 = 14bit.


This not a hack, that's a urban myth, it was designed to be like this."


Instead I believe it uses two channels played at different fixed volumes. One channel has the top 8 bits played at full volume like normal, with 6 bits played quietly to smooth it out. What the article said would give you better resolution on quiet sounds but offer no improvement on loud sounds.

You can code it without AHI, but generally if you're writing software that outputs >8bit audio then you want it to work with other sound cards, because the sound cards are usually better for other reasons.
 
 
 
 "I have also played whit Paula whit some help, few small errors, and this codes players a beep. I have not really found out about interrupts, the DMA is supposed to trigger a interrupt when sound was played, so you fill the buffer whit new sound, but I can't find any interrupt vector to configure in the hardware reference manual."
 
 I think that sums up the article.
« Last Edit: October 20, 2014, 03:38:15 PM by psxphill »
 

Offline skolman

  • Full Member
  • ***
  • Join Date: Oct 2007
  • Posts: 106
    • Show only replies by skolman
    • http://stagevu.com/user/skolman_mws
Re: 14bit paula
« Reply #6 on: October 20, 2014, 04:20:23 PM »
A1200 BlizzardPPC BVision Lan/WiFi FastATA Gold,
EFIKA 5K2 R9250 MorphOS +Amiga Workbench
https://youtu.be/mjsGVkDjBOc
 

Offline Thorham

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1150
    • Show only replies by Thorham
Re: 14bit paula
« Reply #7 on: October 20, 2014, 04:30:24 PM »
Quote from: skolman;775313
AHI only slows down and reduces the quality of the sound.
Indeed.

Quote from: psxphill;775314
I believe the article is wrong
It is. That described method can't even be used, because volume modulation modulates two samples per 'modulation sample' if I'm not mistaken.

Quote from: psxphill;775314
You can code it without AHI, but generally if you're writing software that outputs >8bit audio then you want it to work with other sound cards, because the sound cards are usually better for other reasons.
Depends. If you want maximum performance, bang the hardware and add an option for AHI if you want sound card support.
 

guest11527

  • Guest
Re: 14bit paula
« Reply #8 on: October 20, 2014, 08:16:04 PM »
Major problems of this mode is that a) you need to synchronize the channels (probably not too hard since Paula only updates the audio state machine every scanline) b) the D/A converter of Paula has only a limited precision, and hence every type of calibration has only limited success to recover all the imperfections and non-linearities built into the cheap D/A converter logic. c) you still have the issue of the limited frequency resolution, i.e. basically a 15Khz cut-off.  So whatever you say, that's not "14 bit quality audio".
 

Offline Thorham

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1150
    • Show only replies by Thorham
Re: 14bit paula
« Reply #9 on: October 20, 2014, 08:24:07 PM »
Quote from: Thomas Richter;775321
So whatever you say, that's not "14 bit quality audio".
It's still a big improvement over normal eight bit audio.
 

Offline Oldsmobile_Mike

Re: 14bit paula
« Reply #10 on: October 20, 2014, 08:35:58 PM »
Quote from: Thorham;775322
It's still a big improvement over normal eight bit audio.

Amiga 500: 2MB Chip|16MB Fast|30MHz 68030+68882|3.9|Indivision ECS|GVP A500HD+|Mechware card reader + 8GB CF|Cocolino|SCSI DVD-RAM
Amiga 2000: 2MB Chip|136MB Fast|50MHz 68060|3.9|Indivision ECS + GVP Spectrum|Mechware card reader + 8GB CF|AD516|X-Surf 100|RapidRoad|Cocolino|SCSI CD-RW
 Amiga videos and other misc. stuff at https://www.youtube.com/CompTechMike/videos
 

guest11527

  • Guest
Re: 14bit paula
« Reply #11 on: October 20, 2014, 09:13:04 PM »
Quote from: Thorham;775322
It's still a big improvement over normal eight bit audio.

Likely. Or at least "it is some improvement, hopefully, if calibrated carefully". Whether the lower bits in this computation mean anything is really anybodies guess. The audio circuit hasn't been constructed with this in mind, thus... If you want high-quality audio, I would suggest a real audio card, or compute as 16-bit wav, burn on CD and play with your CD player.  Turnaround-times are of course rather extreme if the last option is used. (-:
 

Offline paul1981

Re: 14bit paula
« Reply #12 on: October 20, 2014, 09:57:28 PM »
Quote from: Thomas Richter;775330
Likely. Or at least "it is some improvement, hopefully, if calibrated carefully". Whether the lower bits in this computation mean anything is really anybodies guess. The audio circuit hasn't been constructed with this in mind, thus... If you want high-quality audio, I would suggest a real audio card, or compute as 16-bit wav, burn on CD and play with your CD player.  Turnaround-times are of course rather extreme if the last option is used. (-:


It's actually very impressive when calibrated correctly. Have to use double scan screen modes though to get 44.1KHz  or 48KHz playback, just as you would with normal Paula audio (for those who don't know).
 

Offline Thorham

  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 1150
    • Show only replies by Thorham
Re: 14bit paula
« Reply #13 on: October 20, 2014, 10:35:12 PM »
Quote from: Thomas Richter;775330
Likely. Or at least "it is some improvement, hopefully, if calibrated carefully". Whether the lower bits in this computation mean anything is really anybodies guess.
No, not likely, definitely. I use this myself, and it sounds quite good (depends on the source, of course). Quality ranges from 'an improvement' to almost CD quality (really). Depends on the music (and playback rate, and method of down sampling if any).
Quote from: Thomas Richter;775330
If you want high-quality audio, I would suggest a real audio card
If I want to use a sound card, I'll use my peecee.