Roman Black Sound (btc)


Closed Thread
Results 1 to 40 of 58

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi, Leetzeyin
    Why not ask it directly here :
    Alain
    Didn't you get the memo?
    Apparently, PicBasicPro = mikroC = Proton Basic = mikroBasic = Assembly = Everything else...

  2. #2
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    108


    Did you find this post helpful? Yes | No

    Default eeprom..

    How do I download the .btc or .asm or .c file to the eeprom?

    Thanks..!
    Sylvio,

  3. #3
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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

  4. #4
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    108


    Did you find this post helpful? Yes | No

    Default

    I recorded a 5 sec 8-bit mono 22050Hz sound... then I stored it in the 24C512..

    then I put this on the 16F877:

    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
    Well, what I get is a slow and noise sound of what I had recorded. It is recognizable but isn't that good..

    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 01:50.
    Sylvio,

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    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
    Attached Files Attached Files

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    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

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,133


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel. This is an article from the EDN magazine, February 1999. I thought to save you from the trouble to search the site and download it.

    It uses the PIC16C556/12C672 and ADPCM DECODER/ENCODER techniques.

    I don't know if they produce smaller files than Romans as I have not tested yet.

    OK, i will try to zip it and break it into 2 files. I hope windows ZIP can do that.

    Ioannis
    Last edited by Ioannis; - 12th December 2008 at 20:51.

Similar Threads

  1. Delayed output 10 secs
    By lilimike in forum mel PIC BASIC Pro
    Replies: 37
    Last Post: - 14th October 2011, 06:28
  2. new to PIC programming could really do with some help
    By karenhornby in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th March 2008, 14:03
  3. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  4. Sound and sound control with minimal parts
    By bartman in forum General
    Replies: 23
    Last Post: - 18th January 2005, 14:08
  5. Re: quick fix for sound command?
    By Melanie in forum Code Examples
    Replies: 0
    Last Post: - 9th July 2004, 01:44

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts