Subject:
|
Re: Auld Lang Syne for RCX
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 28 Dec 1998 18:14:16 GMT
|
Original-From:
|
Laurentino Martins <LMARTINS@MARKTEST.antispamPT>
|
Viewed:
|
1187 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
At 18:02 28-12-1998 Monday , you wrote:
> I wrote a little program that plays the first 14 tones from Auld Lang Syne.
> Unfortunately, only the first 8 or 9 notes play. Maybe someone can tell me
> what the problem is. You can download it from
>
> http://members.home.net/ghebb/newyears.prg
Since play is asynchronous, you must put some pause (delay) between the playing of the notes or you will overload the play buffer.
For example, instead of this:
PlayNote( A, time );
PlayNote( B, time );
[...]
Do this:
PlayNote( A, time );
Pause( time );
PlayNote( B, time );
Pause( time );
[...]
Laurentino Martins *<||:-)
[mailto:lau@mail.telepac.pt]
[http://www.terravista.pt/Enseada/2808/]
|
|
Message is in Reply To:
![](/news/x.gif) | | Auld Lang Syne for RCX
|
| I wrote a little program that plays the first 14 tones from Auld Lang Syne. Unfortunately, only the first 8 or 9 notes play. Maybe someone can tell me what the problem is. You can download it from (URL) (26 years ago, 28-Dec-98, to lugnet.robotics)
|
3 Messages in This Thread: ![Auld Lang Syne for RCX -Gary Hebb (28-Dec-98 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Auld Lang Syne for RCX -lego-robotics@crynwr.com (Brian Bray) (28-Dec-98 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![You are here](/news/here.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|