Pic Control With Software


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2005
    Location
    Cambridge UK
    Posts
    45

    Default Pic Control With Software

    Hi,

    Does any one know of some software for xp that will play audio files and give an output from say the serial port to a pic when it starts playing, and another signal when it stops?

    This is what I would like to do; select an audio file. When it plays, a signal is sent from pc to pic to start recording. When the audio stops another signal is sent to the pic to stop recording.

    I thought about sending the audio out on the left channel and sending control pulses out on the right channel from the stereo jack; but I could not find any audio software that would allow me to do this.

    Any help/ideas would be a great help, I'm sure I'm not the first to have this problem.

    Thank you for your time

    Nick

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    I know a program wich allow you to edit left/right channel. SoundForge and/or Vegas. But there's certainely tons of other who will allow that too.

    For your specific need, i guess you will have to do your own app in VB or else. Send the Start message on the Serial PORT, play the wav, when it stop, send the Stop message on the serial port.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Nov 2005
    Location
    Cambridge UK
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    Mister_e,

    Thanks for the audio editing software names; I have just got a copy of sound forge, looks like I might be able to use one channel for control.
    I am hoping to put all the audio on one channel and the start/stop recording on the other using a filter.

    I am also looking at the dedicated software option too, any one know how much it would cost to write a small application? I've never tried that sort of programming, pic basic is my limit at the moment!

    Kind regards
    Nick

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Drop me a message on my e-mail. We could look at that together.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Default If you want to avoid programming on the PC Side

    Hi,

    If you use one track (of a serial file) for your control signal then you could use a couple of tone decoders http://www.x-robotics.com/downloads/...67_SE567_2.pdf to do the job. Take two frequencies for a 0 and 1. You could even use a DTMF decoder chip like MT8870. As most audio software would let you generate DTMF tones your life would get easier. Get the trial version of Adobe Audition Pro (formerly Cool Edit Pro).
    Regards

    Sougata

  6. #6
    Join Date
    Nov 2005
    Location
    Cambridge UK
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    Hi Sougata ,
    Thanks for the info on the DTMF decoder chip MT8870, I will get one and try it. I only need to record and stop record at the moment, so it covers that with the 4 bit output.

    Nick

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Serial VB 2005 pic 16f877a problems
    By Snap in forum mel PIC BASIC Pro
    Replies: 28
    Last Post: - 8th July 2013, 00:52
  3. 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
  4. Replies: 15
    Last Post: - 30th October 2007, 19:25
  5. How to reset the pic by software ?
    By Shamir in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th October 2006, 16:43

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