TmEE co.(TM) wrote:I'll check it out ... on monday, I have dial up at home and downloading 1MB is pain but to talk about 13MB !
Yeah sorry for the size :-/
In fact the mini dev kit still ask about 6 MB but the example files has some insane .c files which contains WAV definitions... that explains the huge archive size.
I started to write my own 2ch mixer, this time I won't use WAVs but more game friendly format
More game friendly format ? except pur raw data sample you don't have many choices. Mixing 2 channels take more cycles and left quite a few ones for some sort of unpacking stuff...
I should have written my Z80 driver friendly, it is basically RAW data, but it has some "header" data in it so it's easy to get all required info on the sample.
TmEE co.(TM) wrote:I should have written my Z80 driver friendly, it is basically RAW data, but it has some "header" data in it so it's easy to get all required info on the sample.
Stef, i'm trying to use your driver in asm program, i converted my samples to 14000khz being 8 bit unsigned.
now for playing , i just got a huge scratch sound at the beginning and then nothing (sample is 50 secs length). I look & relook at my playing sample code and i don't see what's i'm doing wrong :s here's my code (i'm not a too gud asm coder ^^)
EDIT: ok i figured it out , i forgot to add 1 to the address after i set the sample address , why is pb[3] missing ? Also what's the best frequency & setting for the sample (i'm right with uint8) ? which one did u used for particle ?