Subject:
|
Re: Auld Lang Syne for RCX
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 28 Dec 1998 18:14:16 GMT
|
Original-From:
|
Laurentino Martins <LMARTINS@MARKTESTspamless.PT>
|
Viewed:
|
1354 times
|
| |
| |
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:
| | 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:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|