Hi, Leetzeyin
Why not ask it directly here :
http://www.mikroe.com/forum/viewforu...4d9546d98f2797
I think they already dealt with this encoding system ...
Alain
Hi, Leetzeyin
Why not ask it directly here :
http://www.mikroe.com/forum/viewforu...4d9546d98f2797
I think they already dealt with this encoding system ...
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
How do I download the .btc or .asm or .c file to the eeprom?
Thanks..!
Sylvio,
I did some experimenting with storing the sound in external EEPROM.
And for sure, you have to be using the MSSP module to read the data.
SHIFTIN or I2CREAD can't keep up with the higher bitrates.
I tried contacting Roman several times by email, and never got an answer, so I kind of forgot about it, and haven't done anymore with it.
<br>
DT
I recorded a 5 sec 8-bit mono 22050Hz sound... then I stored it in the 24C512..
then I put this on the 16F877:
Well, what I get is a slow and noise sound of what I had recorded. It is recognizable but isn't that good..Code:LOOP: I2CREAD DPIN,CPIN,$A0,B0,[ATUAL, PROX] ' Read 2 locations in a row B0 = 2 REPEAT while F_nova = 0 : wend f_nova = 0 I2CREAD DPIN,CPIN,$A0,B0,[PROX] b0 = b0 + 1 'UNTIL B0 = 4997 goto loop disable PPL: PIR1.0 = 0 TMR1H = LOAD.HIGHBYTE TMR1L = LOAD.LOWBYTE BUFFER.6 = ATUAL.7 PORTD.1 = BUFFER.6 PORTD.0 = BUFFER.7 BUFFER = BUFFER << 1 ATUAL = ATUAL << 1 f_ctrl = F_Ctrl + 1 if F_ctrl = 8 then F_NOVA = 1 f_ctrl = 0 atual = prox endif RETURN ENABLE
I've tried increasing TMR1 interrupt but it did not make a difference...
So, next steps:
I'll try to user asm interrupts (instant interrupt..DT)
try not to use I2CREAD..(editing: So, i've got to use MSSP..... Well, I suspect that there is no @ HI2CREAD yet, right?)
Well, that is all..
danke schön..
Last edited by sirvo; - 12th December 2008 at 02:50.
Sylvio,
Darrel, have a look at the attached files. It might help on the audio compression project.
Please rename the files to *.rar and then de-compress them.
Ioannis
Hi Ioannis,
What are they?
Roman's btc convertor creates the smallest sound files I've ever seen.
Can't imagine more compression being able to do anything without ruining the sound.
I don't use RAR.
Not brave enough to download free programs from a couple of brothers in Russia.
<br>
DT
Bookmarks