PIC Audio


Closed Thread
Results 1 to 29 of 29

Thread: PIC Audio

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    New Hampshire
    Posts
    76


    Did you find this post helpful? Yes | No

    Default

    ...You could even pre-program the chip to call an mp3 file that sounds like the base commander is calling you on your headset. HA! It could add to the realism.

    The processor need not be bigger than a 12f675. You just need the analog input, and three or four outputs to trigger and toggle the mp3 player.

    I like that the mp3 player leaves the sound end completely open to quick and easy modifications.

    Quick wav file sample attached:

    Ross
    Attached Files Attached Files
    Never enough knowledge to be called intelligent but just enough knowledge to be considered dangerous!

    I like that! :-)

  2. #2
    Join Date
    Jun 2006
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rossfree View Post
    ...You could even pre-program the chip to call an mp3 file that sounds like the base commander is calling you on your headset. HA! It could add to the realism.

    The processor need not be bigger than a 12f675. You just need the analog input, and three or four outputs to trigger and toggle the mp3 player.

    I like that the mp3 player leaves the sound end completely open to quick and easy modifications.

    Quick wav file sample attached:

    Ross
    Wow, I've been so busy building my armor that I didn't see the topic reply to this post... I've got to sit down and analyze all of the suggestions but DANG you guys ave some great ideas. Not sure about the MP3 player though but I am pretty sure the original board has a way to hook it to your computer to upload MP3s or WAV files to it to play bleeps or whatever... It would be cool like you said to have another voice come over the headset like home base or whatever..

    I have attached a pic of my helmet (Bucket) progress so far. I'm still waiting on some green lenses so it's not 100% done yet. I've been staying up till like 5am every morning trying to get this done!!
    Attached Images Attached Images  

  3. #3
    Join Date
    Apr 2006
    Location
    New Hampshire USA
    Posts
    298


    Did you find this post helpful? Yes | No

    Smile VOX circuits

    Hey Dave,

    That helmet looks great! Very impressive work.

    Good ideas about the MP3s and audio effects.

    If you have time:
    peterdeco1 had a good idea about a recorder playback chip.
    Even one like in a greeting card.
    It does not have to have loud audio, just tap it into the same amplifier for your voice.

    Alfred had some good ideas too, may need a little more power than a LM386. But there are other audio amplifier ICs that might be as simple to use.

    Ross is right about all the sound effects available in MP3 format. It would be handy to just tap into a cheap one and feed the low level (headphone) audio into you voice amp.
    He is right about “Just at the right moment... POW! BAM! BLING! Cut them right in half!” too!

    Can someone try the white noise output of a PIC and let us know if it sounds like radio static “rush” (before squelch mutes it). Maybe post a sound clip?

    Have you looked for any voice operate circuits (VOX)? Here is one example schematic. I like the voltage doubler part.
    http://www.electronickits.com/kit/co.../elec/k126.pdf
    You would not need all the amplifiers / comparators and relay.
    Your amplifier produces the level and the PIC senses voice voltage and switches your effects....

    Great ideas guys, who else?
    -Adam-
    Ohm it's not just a good idea... it's the LAW !

  4. #4
    Join Date
    Oct 2004
    Location
    New Hampshire
    Posts
    76


    Did you find this post helpful? Yes | No

    Talking

    It may be a little late to point this out but...

    STARWARS ISN'T REAL!...
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .

    It's only a movie.
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .
    .

    Somebody catch him!

    .
    .
    .
    .
    .
    .
    .
    I love wierd people! :-)

    The helmet looks awsome!

    Ross
    Never enough knowledge to be called intelligent but just enough knowledge to be considered dangerous!

    I like that! :-)

  5. #5
    Join Date
    Jun 2006
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Well, I've been looking at Audio amps... The LM383 would have been perfect but it's obsolete. There is a replacement for it though and I found a few others that I like. Almost finished with my armor so I'll start working on the PIC circuit as soon as I get finished with that... And yes, I know Star Wars isn't real

    BUT neither were microwaves and color TV not so long ago... he he

    Have a great evening!
    Dave

  6. #6
    Join Date
    Jun 2006
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Ok, done with my armor...now on to the audio... I've been playing with the PIC but most of the noise that I can get to come out of it are too "digital sounding"...when using the SOUND command. Reading on the site for the original board I found that the board has 5 different modes as well... One that adjusts the amount of distortion that your voice changes from "Normal" to "Distorted" 1-5 depending on where you set the level. You can also upload wav files to the thing using his software and a computer... Delays from when you finish talking to when the static burst comes out, turning the static sounds on and off...Geez!!

    My questions:

    1. How do you adjust the real time audio distortion if the PIC isn't sampling the audio or do you think it is?
    2. Do you think it is using the 1 bit audio, I.e. the Roman Black 1 bit wav file audio?
    3. Do you think it is using a pre-recorded wav file for the static or generating it using the PIC?

    I'm kinda lost here...None of the white noises that I get from the PIC sound anywhere near what I hear on his site..and there is a click before the rush of white noise... the simulated button release of the radio.

    I've found examples of MMC uses, ISD voice recorder uses and a couple other instances where PICs are being used with other devices to produce audio but I can't really settle on which would be best.

    -Dave

  7. #7
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default It may be possible

    Hi,

    Excuse me if I am quoting something already mentioned by somebody. I have quickly browsed the thread a may have skipped something. Its sunday and I am back after a long tour. So I am worried about the "Wife" bug to be active any moment!!

    If you sample the audio at 8Khz and continuosly throw the sample out through Hardware PWM you would actually be reducing the bandwidth of the input audio. Sort of a low-pass filter. Couple that with dirty (cheap) filtering and the free quantitizing noise. This may be the sound you are actually looking for.

    You can have a routine detecting when the ADC is receiving no/low signals. Treat them as end of audio and thus trigger your sound fx routine- handsfree.

    Needs some ASM stuff to utilize the conversion and/or acquisition time to update the hardware PWM.

    Just a thought.
    Regards

    Sougata

Similar Threads

  1. Replies: 33
    Last Post: - 8th September 2010, 11:28
  2. pic to pic ir link versus wired link : help please anyone
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 30th May 2008, 21:01
  3. Pic driven digital audio delay
    By skimask in forum Off Topic
    Replies: 12
    Last Post: - 19th April 2007, 20:42
  4. Audio Encoding and playback in a PIC
    By Rob in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 24th March 2005, 08:56
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 0

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