Subject:
|
Re: Music with Lego
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Wed, 6 Jun 2001 15:13:47 GMT
|
Reply-To:
|
Andi Scharfstein <ash@jadzia-dax[SayNoToSpam].de>
|
Viewed:
|
2525 times
|
| |
| |
KOS> If I try to have my RCX1.0 playing these 11 notes, it will only play approx. 7
KOS> of them. It seems like if a buffer is running full or something...
KOS> If I put in some waiting, it works all fine
Hi,
that's because this is the way it works.
A PlayTone(x, y) command always requires a Wait(y) command following
it, because otherwise the processor jumps to the next statement
immediately and can't perform it if he's still playing...
--
Bye: Andi S. mailto:ash@jadzia-dax.de
|
|
Message is in Reply To:
| | Music with Lego
|
| If I try to have my RCX1.0 playing these 11 notes, it will only play approx. 7 of them. It seems like if a buffer is running full or something... task main() { PlayTone(262, 40); PlayTone(294, 40); PlayTone(330, 40); PlayTone(349, 40); PlayTone(392, (...) (23 years ago, 6-Jun-01, to lugnet.robotics.rcx.nqc)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|