Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <pthread.h>
- #include "simpletools.h"
- #include "s3.h"
- #include "scribbler.h"
- void music(void *a) {
- // ... lots of notes
- }
- int main() {
- s3_setup();
- scribbler_set_voices(SCRIBBLER_SQU, SCRIBBLER_SQU);
- pthread_create(0, 0, music, 0);
- scribbler_go_forward(595 * 20);
- scribbler_wait_stop();
- pause(750);
- scribbler_go_back(595 * 20);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement