pxt-ev3/libs/music/_locales/music-jsdoc-strings.json

31 lines
2.3 KiB
JSON
Raw Normal View History

2017-07-11 10:15:17 +02:00
{
2017-10-30 18:25:58 +01:00
"Sound.buffer": "Returns the underlaying Buffer object.",
"Sound.play": "Play sound with given volume.",
2017-07-11 10:15:17 +02:00
"music": "Generation of music tones.",
"music.beat": "Return the duration of a beat in milliseconds (the beat fraction).",
"music.beat|param|fraction": "the fraction of the current whole note, eg: BeatFraction.Half",
"music.changeTempoBy": "Change the tempo up or down by some amount of beats per minute (bpm).",
"music.changeTempoBy|param|bpm": "The change in beats per minute to the tempo, eg: 20",
2017-10-30 18:25:58 +01:00
"music.fromWAV": "Makes a sound bound to a buffer in WAV format.",
2017-07-11 10:15:17 +02:00
"music.noteFrequency": "Get the frequency of a note.",
"music.noteFrequency|param|name": "the note name, eg: Note.C",
"music.playSound": "Start playing a sound and don't wait for it to finish.\nNotes are expressed as a string of characters with this format: NOTE[octave][:duration]",
"music.playSoundUntilDone": "Play a sound and wait until the sound is done.\nNotes are expressed as a string of characters with this format: NOTE[octave][:duration]",
2017-10-23 22:43:59 +02:00
"music.playSoundUntilDone|param|sound": "the melody to play, eg: music.sounds(Sounds.PowerUp)",
"music.playSound|param|sound": "the melody to play, eg: music.sounds(Sounds.PowerUp)",
2017-07-11 10:15:17 +02:00
"music.playTone": "Play a tone through the speaker for some amount of time.",
"music.playTone|param|frequency": "pitch of the tone to play in Hertz (Hz)",
"music.playTone|param|ms": "tone duration in milliseconds (ms)",
"music.rest": "Rest, or play silence, for some time (in milleseconds).",
2017-10-23 22:43:59 +02:00
"music.rest|param|ms": "rest duration in milliseconds (ms), eg: 100",
2017-07-11 10:15:17 +02:00
"music.ringTone": "Play a tone.",
2017-10-23 22:43:59 +02:00
"music.ringTone|param|frequency": "pitch of the tone to play in Hertz (Hz), eg: Note.C",
2017-07-11 10:15:17 +02:00
"music.setTempo": "Set the tempo a number of beats per minute (bpm).",
"music.setTempo|param|bpm": "The new tempo in beats per minute, eg: 120",
"music.setVolume": "Set the output volume of the sound synthesizer.",
"music.setVolume|param|volume": "the volume 0...256, eg: 128",
"music.sounds": "Get the melody string for a built-in melody.",
"music.sounds|param|name": "the note name, eg: Note.C",
"music.stopAllSounds": "Stop all sounds from playing.",
"music.tempo": "Return the tempo in beats per minute (bpm).\nTempo is the speed (bpm = beats per minute) at which notes play. The larger the tempo value, the faster the notes will play."
}