Crystal clean PCM 8bit samples on the poor PSG (Development MSX Fora)MSX Resource Center            
            
English Nederlands Espa�ol Portugu�s Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 58 gasten en 1 MSX vriend online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Development - Crystal clean PCM 8bit samples on the poor PSG

Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 | 5 )
Schrijver

Crystal clean PCM 8bit samples on the poor PSG

EVPON
msx lover
Berichten: 114
Geplaatst: 18 Februari 2007, 14:49   
Then nobody know a program that uses little samples
(low quality) under Basic? Maybe the old PSG-SAMPLER?
NYYRIKKI
msx master
Berichten: 1525
Geplaatst: 19 Februari 2007, 11:24   
viejo_archivero
msx addict
Berichten: 456
Geplaatst: 19 Februari 2007, 11:30   
I assume that playing those quality samples will cost LOTS of CPU time... but it will be possible to make "little" things while the player is running? (quick reads to joystick/cursor, tiny gfx transfers to vram...). And another question, this program just launches a sample or you can set a list of consicutive samples to be played? (that would be interesting, as you can build little sampled "songs" or loops...). Thnx!
EVPON
msx lover
Berichten: 114
Geplaatst: 19 Februari 2007, 11:48   
Thanks NYYRIKKI
pitpan
msx master
Berichten: 1389
Geplaatst: 19 Februari 2007, 12:20   
Viejo: I'm afraid that PSG samples requiere loads of CPU time. You can sync some code, but it is a painfull task. Ask Dioniso to know more, because his BEEPERTRON uses synched code for differents tasks while playing PSG samples.

Regarding SCC samples, I do think that something could be done, because the SCC replay feature works as a simple DMA. But again, all code should be accurately synched to replay functions.
ARTRAG
msx master
Berichten: 1737
Geplaatst: 19 Februari 2007, 12:40   
Vejo:

it is hard, but all you ask for can be done.
Having more samples in ram/rom and playing them as in a sequencer is very easy.
More difficult is to modify th ereplayer to add interaction.
The pcm replayer has some spare time had can be used for other purposed (VRAM transfer, I/O etc)
but the code must keep its cycle accurate syncronization.
Look at the asm files and put your code where now there are dummy instructions.
keep the timing corrcet and everithing will work.
Lower is the frequency, higher the spare time you can use for your code.
Good luck

NYYRIKKI
msx master
Berichten: 1525
Geplaatst: 19 Februari 2007, 13:07   
If you don't care about some little noice, you can play samples with interrupts enabled and put your other tasks in interrupt routine. I used this method on Alternative party demo's end animation (look picture) and it worked out quite well.



( Download: http://msx.fi/nyyrikki )


ARTRAG
msx master
Berichten: 1737
Geplaatst: 19 Februari 2007, 16:37   
Nice idea!
In this case it is mandatory to avoid the bios overhead in the INT routine.
All those push/pop usually are not required and waste a lot of time.
Try using IM2 or putting RAM in page 0 (if you have 64Kram)
 
Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 | 5 )
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.