C++ Library for the PsiSwarm Robot - Version 0.8

Dependents:   PsiSwarm_V8_Blank_CPP Autonomia_RndmWlk

Fork of PsiSwarmV7_CPP by Psi Swarm Robot

Embed: (wiki syntax)

« Back to documentation index

Sound Class Reference

Sound Class Reference

Sound class Functions that generate audio tones using the sound module on the PIC coprocessor, where used. More...

#include <sound.h>

Public Member Functions

void play_audio_string (char *tune)
 Play a tune defined by the given null terminated string.
void play_tune (char *tune, char length)
 Play a tune defined by the given string.

Detailed Description

Sound class Functions that generate audio tones using the sound module on the PIC coprocessor, where used.

Definition at line 32 of file sound.h.


Member Function Documentation

void play_audio_string ( char *  tune )

Play a tune defined by the given null terminated string.

Parameters:
tune- The tune to play

Definition at line 27 of file sound.cpp.

void play_tune ( char *  tune,
char  length 
)

Play a tune defined by the given string.

Parameters:
tune- The tune to play
length- The number of characters in the string

Definition at line 33 of file sound.cpp.