Music Input


Closed Thread
Results 1 to 22 of 22

Thread: Music Input

Hybrid View

  1. #1
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks for the reply,

    Sounds good (sorry no pun intended), I'll have a play and see what I can do.

    Cheers

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    If and when you get ADCIN to work with a 16F628A, come back and tell us how you did it. That PIC hasn't got any ADC's...

  3. #3
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Sorry I dow to your superior knowledge.. so what's an analogue comparator input then.. will it not do the same thing... ??

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Cool Already cooked example

    Hi, Malc

    Some years ago, Elektor committed such a project with a 16F84 ... you could have a look to their input stage ...

    16F628 is a "bigger" '84 ...no ???

    Alain

    PS : Project 000107 ... note everything Downloadable ...
    Last edited by Acetronics2; - 21st June 2006 at 10:20.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  5. #5
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Thanks for that, but me been a tight ass brit object to having to pay a quid to obtain access to the article... especially when the HEX and ASM are free !!

    I did come accross this project, which appears to use the filtered bass to trigger an NE555 to provide the logic pulse to trigger another NE555 which can run as an astable free runner or mono-stable triggered by the music.






    The actual chase generator is a 4017 decade counter. ( full project details http://sound.westhost.com/project62b.htm )

    I might just try this, however it seems a but of an overkill to use all those op-amps and an NE555 to provide the input into a PIC.... I'll keep googling and yahooing and see what turns up

  6. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    An Analogue Comparator allows you to trip your input pin at different voltage levels determined by an internal or external reference. So, if you set your Reference voltage at say 500mV, you can trip the Comparators Output on or off at 500mV rather than the usual trip level for a Digital I/O pin.

    By sweeping the Comparators Reference Voltage, you can then use its input as a cheapo ADC. However, the internal Reference in the 16F628 only has two scales of 16 steps, and allowing for a settling time would not be very good for Audio input sampling.

    So, in reply to your query, an Analogue COMPARATOR does what it says... it COMPARES your input against a Reference. Whilst an Analogue to Digital CONVERTOR (ADC) will give you a snap-shot of your current Analogue input in Digital form. The two are NOT the same.

    The 16F628 has TWO COMPARATORS on-board and NO ADC's. ADCIN only functions with ADC's which is why it's named ADCIN (that what I love about microprocessors, they name everything so obviously!).

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by malc-c
    but me been a tight ass brit object to having to pay a quid to obtain access to the article... especially when the HEX and ASM are free !!
    Let's see how much you hope to save ( let's do the whole count for the project ) ... makes me laugh !!!

    mmmh, by the way ... have a look to Freescale MC 3340 P datasheet. An old Elektor ( once more, ... !!! ) summer issue show a really nice application

    You'll be more than happy : datasheet is free ...

    you fast draw, mmmmh ???

    Alain

    PS : 5or 8 £ for a pre-programmed basic PIC ( 675,628,84 ...) ... you're joking, I hope !!!
    Last edited by Acetronics2; - 21st June 2006 at 13:00.
    ************************************************** ***********************
    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 " !!!
    *****************************************

  8. #8
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Melanie,

    Thanks for the explanation. I understand where my confusion came from now !

  9. #9
    malc-c's Avatar
    malc-c Guest


    Did you find this post helpful? Yes | No

    Default

    Ok I've looked at the PDF (http://www.ee.washington.edu/stores/...ear/mc3340.pdf) for that device, but how does an electronic volume control fit in with my bass extraction / filter thingy ???


    Quote Originally Posted by Acetronics
    PS : 5or 8 £ for a pre-programmed basic PIC ( 675,628,84 ...) ... you're joking, I hope !!!
    Whoops - thanks for pointing out the typo... should be £5 like the rest.. now corrected.

    And before you ask, that just covers the cost of the PIC and postage to me, then the cost of the post, packing and paypal charges when sending it out again !
    Last edited by malc-c; - 21st June 2006 at 14:36.

Similar Threads

  1. Sony LanC Program
    By l_gaminde in forum Code Examples
    Replies: 2
    Last Post: - 25th September 2009, 18:51
  2. floating A/D input
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 28th April 2009, 13:21
  3. LED "capacitance" won't get lower
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 3rd May 2007, 20:31
  4. Timing input pulses and re-outputting them
    By jamie_s in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 28th February 2007, 01:50
  5. Using LEDs as light sensors
    By skimask in forum Code Examples
    Replies: 3
    Last Post: - 30th December 2006, 22:19

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