Compress Music being played by the Sound command


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    What does you code look like?

    I never tried to make music with a pic, but my first thought is to use a lookup table full
    of frequencies and time lengths, and pass those to a single SOUND command routine.

    Now if you wanted to go further, time length values could probably be divided down to fit
    into 4 bits, and then expanded by the SOUND routine, so you could fit more than a singe value
    into each byte in the time length lookup table.

    It's all really difficult without seeing how you are playing music.
    Art.

  2. #2
    Join Date
    Mar 2006
    Location
    China
    Posts
    266


    Did you find this post helpful? Yes | No

    Default Look here

    http://www.picbasic.co.uk/forum/content.php?r=213

    or use a SD-card and play wav-files from it then you have plenty of space

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