monitor a guitar signal strength, then output a DC level?


Closed Thread
Results 1 to 25 of 25

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    How about :

    Code:
    if signal>(0.6*prev_signal) then gosub attenuation
    Ioannis

  2. #2
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Ioannis View Post
    How about :

    Code:
    if signal>(0.6*prev_signal) then gosub attenuation
    Ioannis
    thanks Ioannis

    I'll not get a chance to try that until tomorrow evening now (Saturday evening) - but to my very untrained eye, it looks like that setup is saying ...

    if the present incoming signal (ie sample) is greater than 60% of the previous signal (sample), then blah blah


    ??

    If so, then what I actually need is this type of condition ....

    "if the present signal (ie sample) is 40% greater than the previous signal (sample), then blah blah?


    By the way - what's the best way to do percentages in PICBASIC? (if it helps, I can dispense with the floating point - which I'm presuming the PIC just does away with ...eg 40.4% becomes 40%)

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    PBP does not do floating of course. you have to multiply the variable by 10 or 100 or even 1000 to get the "floating" digits in the integer part of the number.

    Ioannis

  4. #4


    Did you find this post helpful? Yes | No

    Default Frequency to voltage

    I skimmed over this thread... maybe you need a simple frequency to voltage converter... this was used in some of the first guitar synth's... there are discrete as well as monolithic devices (still) available...

    Mike Tripoli

Similar Threads

  1. small dc signal amplifier schematic need
    By phoenix_1 in forum Schematics
    Replies: 9
    Last Post: - 8th May 2009, 03:32
  2. Output current to a DC motor
    By bigbanner in forum General
    Replies: 1
    Last Post: - 6th April 2009, 07:29
  3. Unwanted output signal jitter
    By LinkMTech in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 18th January 2008, 02:31
  4. Help with sound command in 2 programs
    By hyperboarder in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2007, 20:36
  5. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46

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