Why SOUND statement produces loud and clear sound, but FREQOUT - does not?


+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2013
    Posts
    1,164

    Default Why SOUND statement produces loud and clear sound, but FREQOUT - does not?

    Hello
    AI has no answer.

    even at 64mhz, FREQUOUT provides very low volume, distorted audio, while SOUND, even on 4Mhz 628A chip, produces loud and clear sound.
    This is not chip or hardware issue - tested on numerous 12F-16F-18F devices. This is PBP issue as it seems. Can we fix it somehow?

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,179


    Did you find this post helpful? Yes | No

    Default Re: Why SOUND statement produces loud and clear sound, but FREQOUT - does not?

    Because FREQOUT is using PWM with the ability to output two tones at the same time, so filtering is required to produce a, relatively clean, sinewave-looking tone.

    On the otjher hand, SOUND produces only one, rectagular TTL signal, with no filtering. So yes the amplitude is very different.

    But you did not showed how you use the output signal, what is your circuit.

    Ioannis

Similar Threads

  1. Depending on value, SOUND statement leaves port output high
    By CuriousOne in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th October 2023, 12:05
  2. Sound polyphony
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th November 2007, 05:43
  3. Sound chips
    By JeffnDana in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th May 2007, 01:15
  4. recording sound to an IC
    By saturnX in forum Off Topic
    Replies: 3
    Last Post: - 11th October 2005, 17:44
  5. Sound and sound control with minimal parts
    By bartman in forum General
    Replies: 23
    Last Post: - 18th January 2005, 14:08

Members who have read this thread : 4

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