PLAY |
[Features] To play music by
the specified file.
[Format] PLAY ["filename1"][,"filename2"][,"filename3"]
[Explanation]
The three have a different meaning,
respectively.
"filename1" play BGM in
channel 0.
Support: ".ogg" ".wav"
".mp3" ".mid" files.
"filename2" play it is assigned
automatically to Each channel.
It is
used for the multiplex play of sound effect etc.
(About 6 seconds maximum value. The
maximums differ depending on the model.)
And will be used it is loaded into memory, continuous performance is
possible without delay.
Support:
".ogg" ".wav" ".mp3" files.
The
".mp3" file is not recommended, because
it may be unable to be used in the sound effects depending on the
model.
"filename3" is the same channel 0 as "filename1",
after a play finishes, loop play is
carried out automatically.
PLAY "" -
NullString specification will stop the music(channel 0).
[e.g.]
play "sample.wav"
PLAY |
[Features] To get the play
state of the channel 0.
[Format] PLAY(n)
[Explanation]
play=1 stop=0
[e.g.]
BEEP |
[Features] To sound beep.
[Format]
[Explanation]
[e.g.]
TALK |
[Features] Android talks by
specified "word" by voice synthesis.
[Format] TALK "word"
[Explanation]
The sentence indicated by "word" is read aloud by TTS(TextToSpeech)
voice.
By specification of [EX_TALK "language"], it is
switched to read aloud of each country language.
[e.g.]
talk "Hello android world."
EX_TALK |
[Features] 'TALK' statement is
set up.
[Format] EX_TALK
["language"] [,voicepitch] [,speed]
[Explanation]
"language": Language Select.
language:[ENGLISH (default), GERMAN, FRENCH, ITALIAN, US, UK,
JAPANESE]
You can also specify whether American
English or British English in the "US","UK".
The voice pitch can be set up.
Range(0.1~2.0) Normal=1.
It becomes higher so that it is
larger.
The Speaking speed can be set
up.
Range(0.1~2.0) Normal=1.
It becomes slowly so that it is
larger.
[e.g.]
ex_talk "ENGLISH",, 1.2