|
Forum Index : Microcontroller and PC projects : Play Sound
| Author | Message | ||||
| cosmic frog Guru Joined: 09/02/2012 Location: United KingdomPosts: 302 |
Hi all. I can't seem to get the PLAY SOUND to play Noise. I can get it to play S(SINE WAVE) Q(SQUARE WAVE) etc, but cannot get anything when trying N(NOISE) or P(PERIODIC NOISE) PLAY SOUND 1,B,"N",220 - Gives nothing! PLAY SOUND 1,B,"S",200 - Plays a sine wave as expected. PicoMite 5.07.03 any ideas? Dave. Edited 2022-04-11 01:32 by cosmic frog |
||||
| vegipete Guru Joined: 29/01/2013 Location: CanadaPosts: 1151 |
Get rid of the quotes around the N. Visit Vegipete's *Mite Library for cool programs. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10620 |
If you are talking about the PicoMite then these are not supported - they use too much memory. The manual is wrong and needs correcting |
||||
| cosmic frog Guru Joined: 09/02/2012 Location: United KingdomPosts: 302 |
Hi Vegipete. You have to have the quotes or you get an error:Expected a string. Dave. |
||||
| cosmic frog Guru Joined: 09/02/2012 Location: United KingdomPosts: 302 |
OK. Thanks. No problem. |
||||
| vegipete Guru Joined: 29/01/2013 Location: CanadaPosts: 1151 |
Sorry, I was testing on a CMM2. Visit Vegipete's *Mite Library for cool programs. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |