Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:02 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Play Sound

Author Message
cosmic frog
Guru

Joined: 09/02/2012
Location: United Kingdom
Posts: 302
Posted: 03:24pm 10 Apr 2022
Copy link to clipboard 
Print this post

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: Canada
Posts: 1132
Posted: 03:34pm 10 Apr 2022
Copy link to clipboard 
Print this post

Get rid of the quotes around the N.
Visit Vegipete's *Mite Library for cool programs.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 03:37pm 10 Apr 2022
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 302
Posted: 03:39pm 10 Apr 2022
Copy link to clipboard 
Print this post

  vegipete said  Get rid of the quotes around the N.


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 Kingdom
Posts: 302
Posted: 03:41pm 10 Apr 2022
Copy link to clipboard 
Print this post

  matherp said  If you are talking about the PicoMite then these are not supported - they use too much memory. The manual is wrong and needs correcting


OK. Thanks. No problem.
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 03:46pm 10 Apr 2022
Copy link to clipboard 
Print this post

Sorry, I was testing on a CMM2.
Visit Vegipete's *Mite Library for cool programs.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025