adding block for sounds
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
"Sound.buffer": "Returns the underlaying Buffer object.",
|
||||
"Sound.play": "Play sound.",
|
||||
"music": "Generation of music tones.",
|
||||
"music._soundPicker": "A sound",
|
||||
"music._soundPicker|param|sound": "the sound",
|
||||
"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).",
|
||||
@ -10,6 +12,8 @@
|
||||
"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.playSoundEffect": "Plays a sound",
|
||||
"music.playSoundEffect|param|sound": "the sound to play",
|
||||
"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]",
|
||||
"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)",
|
||||
|
@ -28,9 +28,11 @@
|
||||
"Sounds.PowerUp|block": "power up",
|
||||
"Sounds.Siren|block": "siren",
|
||||
"Sounds.Wawawawaa|block": "wawawawaa",
|
||||
"music._soundPicker|block": "%sound",
|
||||
"music.beat|block": "%fraction|beat",
|
||||
"music.changeTempoBy|block": "change tempo by %value|(bpm)",
|
||||
"music.noteFrequency|block": "%note",
|
||||
"music.playSoundEffect|block": "play %sound",
|
||||
"music.playSoundUntilDone|block": "play sound %sound=music_sounds|until done",
|
||||
"music.playSound|block": "play sound %sound=music_sounds",
|
||||
"music.playTone|block": "play tone|at %note=device_note|for %duration=device_beat",
|
||||
@ -42,6 +44,133 @@
|
||||
"music.stopAllSounds|block": "stop all sounds",
|
||||
"music.tempo|block": "tempo (bpm)",
|
||||
"music|block": "music",
|
||||
"sounds.animalsCatPurr|block": "Animals cat purr",
|
||||
"sounds.animalsDogBark1|block": "Animals dog bark 1",
|
||||
"sounds.animalsDogBark2|block": "Animals dog bark 2",
|
||||
"sounds.animalsDogGrowl|block": "Animals dog growl",
|
||||
"sounds.animalsDogSniff|block": "Animals dog sniff",
|
||||
"sounds.animalsDogWhine|block": "Animals dog whine",
|
||||
"sounds.animalsElephantCall|block": "Animals elephant call",
|
||||
"sounds.animalsInsectBuzz1|block": "Animals insect buzz1",
|
||||
"sounds.animalsInsectBuzz2|block": "Animals insect buzz2",
|
||||
"sounds.animalsInsectChirp|block": "Animals insect chirp",
|
||||
"sounds.animalsSnakeHiss|block": "Animals snake hiss",
|
||||
"sounds.animalsSnakeRattle|block": "Animals snake rattle",
|
||||
"sounds.animalsTRexRoar|block": "Animals trex roar",
|
||||
"sounds.colorsBlack|block": "Colors black",
|
||||
"sounds.colorsBlue|block": "Colors blue",
|
||||
"sounds.colorsBrown|block": "Colors brown",
|
||||
"sounds.colorsGreen|block": "Colors green",
|
||||
"sounds.colorsRed|block": "Colors red",
|
||||
"sounds.colorsWhite|block": "Colors white",
|
||||
"sounds.colorsYellow|block": "Colors yellow",
|
||||
"sounds.communicationBravo|block": "Communication bravo",
|
||||
"sounds.communicationEv3|block": "Communication ev3",
|
||||
"sounds.communicationFantastic|block": "Communication fantastic",
|
||||
"sounds.communicationGameOver|block": "Communication game over",
|
||||
"sounds.communicationGoodJob|block": "communicationGoodJob",
|
||||
"sounds.communicationGoodbye|block": "communication goodbye",
|
||||
"sounds.communicationGood|block": "communication good",
|
||||
"sounds.communicationGo|block": "Communication go",
|
||||
"sounds.communicationHello|block": "communication hello",
|
||||
"sounds.communicationHi|block": "communication hi",
|
||||
"sounds.communicationLego|block": "communication lego",
|
||||
"sounds.communicationMindstorms|block": "communication mindstorms",
|
||||
"sounds.communicationMorning|block": "communication morning",
|
||||
"sounds.communicationNo|block": "communication no",
|
||||
"sounds.communicationOkay|block": "communication okay",
|
||||
"sounds.communicationOkeyDokey|block": "communication okey dokey",
|
||||
"sounds.communicationSorry|block": "communication sorry",
|
||||
"sounds.communicationThankYou|block": "communication thank you",
|
||||
"sounds.communicationYes|block": "communication yes",
|
||||
"sounds.expressionsBoing|block": "expressions boing",
|
||||
"sounds.expressionsBoo|block": "expressions boo",
|
||||
"sounds.expressionsCheering|block": "expressions cheering",
|
||||
"sounds.expressionsCrunching|block": "expressions crunching",
|
||||
"sounds.expressionsCrying|block": "expressions crying",
|
||||
"sounds.expressionsFanfare|block": "expressions fanfare",
|
||||
"sounds.expressionsKungFu|block": "expressions kung fu",
|
||||
"sounds.expressionsLaughing1|block": "expressions laughing1",
|
||||
"sounds.expressionsLaughing2|block": "expressions laughing2",
|
||||
"sounds.expressionsMagicWand|block": "expressions magic wand",
|
||||
"sounds.expressionsOuch|block": "expressions ouch",
|
||||
"sounds.expressionsShouting|block": "expressions shouting",
|
||||
"sounds.expressionsSmack|block": "expressions smack",
|
||||
"sounds.expressionsSneezing|block": "expressions sneezing",
|
||||
"sounds.expressionsSnoring|block": "expressions snoring",
|
||||
"sounds.expressionsUhOh|block": "expressions uh oh",
|
||||
"sounds.informationActivate|block": "information activate",
|
||||
"sounds.informationAnalyze|block": "information analyze",
|
||||
"sounds.informationBackwards|block": "information backwards",
|
||||
"sounds.informationColor|block": "information color",
|
||||
"sounds.informationDetected|block": "information detected",
|
||||
"sounds.informationDown|block": "information down",
|
||||
"sounds.informationErrorAlarm|block": "information error alarm",
|
||||
"sounds.informationError|block": "information error",
|
||||
"sounds.informationFlashing|block": "information flashing",
|
||||
"sounds.informationForward|block": "information forward",
|
||||
"sounds.informationLeft|block": "information left",
|
||||
"sounds.informationObject|block": "information object",
|
||||
"sounds.informationRight|block": "information right",
|
||||
"sounds.informationSearching|block": "information searching",
|
||||
"sounds.informationStart|block": "information start",
|
||||
"sounds.informationStop|block": "information stop",
|
||||
"sounds.informationTouch|block": "information touch",
|
||||
"sounds.informationTurn|block": "information turn",
|
||||
"sounds.informationUp|block": "information up",
|
||||
"sounds.mechanicalAirRelease|block": "mechanical air release",
|
||||
"sounds.mechanicalAirbrake|block": "mechanical airbrake",
|
||||
"sounds.mechanicalBackingAlert|block": "mechanical backing alert",
|
||||
"sounds.mechanicalBlip1|block": "mechanical blip1",
|
||||
"sounds.mechanicalBlip2|block": "mechanical blip2",
|
||||
"sounds.mechanicalBlip3|block": "mechanical blip3",
|
||||
"sounds.mechanicalBlip4|block": "mechanical blip4",
|
||||
"sounds.mechanicalHorn1|block": "mechanical horn1",
|
||||
"sounds.mechanicalHorn2|block": "mechanical horn2",
|
||||
"sounds.mechanicalLaser|block": "mechanical laser",
|
||||
"sounds.mechanicalMotorIdle|block": "mechanical motor idle",
|
||||
"sounds.mechanicalMotorStart|block": "mechanical motor start",
|
||||
"sounds.mechanicalMotorStop|block": "mechanical motor stop",
|
||||
"sounds.mechanicalRatchet|block": "mechanical ratchet",
|
||||
"sounds.mechanicalSonar|block": "\"mechanical sonar\"",
|
||||
"sounds.mechanicalTickTack|block": "mechanical tick tack",
|
||||
"sounds.mechanicalWalk|block": "mechanical walk",
|
||||
"sounds.movementsArm1|block": "movements arm1",
|
||||
"sounds.movementsArm2|block": "movements arm2",
|
||||
"sounds.movementsArm3|block": "movements arm3",
|
||||
"sounds.movementsArm4|block": "movements arm4",
|
||||
"sounds.movementsDropLoad|block": "movements drop load",
|
||||
"sounds.movementsLiftLoad|block": "movements lift load",
|
||||
"sounds.movementsServo1|block": "movements servo1",
|
||||
"sounds.movementsServo2|block": "movements servo2",
|
||||
"sounds.movementsServo3|block": "movements servo3",
|
||||
"sounds.movementsServo4|block": "movements servo4",
|
||||
"sounds.movementsSlideLoad|block": "movements slide load",
|
||||
"sounds.movementsSnap|block": "movements snap",
|
||||
"sounds.movementsSpeedDown|block": "movements speed down",
|
||||
"sounds.movementsSpeedIdle|block": "movements speed idle",
|
||||
"sounds.movementsSpeedUp|block": "movements speed up",
|
||||
"sounds.movementsSpeeding|block": "movements speeding",
|
||||
"sounds.numbersEight|block": "numbers eight",
|
||||
"sounds.numbersFive|block": "numbers five",
|
||||
"sounds.numbersFour|block": "numbers four",
|
||||
"sounds.numbersNine|block": "numbers nine",
|
||||
"sounds.numbersOne|block": "numbers one",
|
||||
"sounds.numbersSeven|block": "numbers seven",
|
||||
"sounds.numbersSix|block": "numbers six",
|
||||
"sounds.numbersTen|block": "numbers ten",
|
||||
"sounds.numbersThree|block": "numbers three",
|
||||
"sounds.numbersTwo|block": "numbers two",
|
||||
"sounds.numbersZero|block": "numbers zero",
|
||||
"sounds.systemClick|block": "system click",
|
||||
"sounds.systemConfirm|block": "system confirm",
|
||||
"sounds.systemConnect|block": "system connect",
|
||||
"sounds.systemDownload|block": "system download",
|
||||
"sounds.systemGeneralAlert|block": "system general alert",
|
||||
"sounds.systemOverpower|block": "system overpower",
|
||||
"sounds.systemPowerDown|block": "system power down",
|
||||
"sounds.systemReady|block": "system ready",
|
||||
"sounds.systemStartUp|block": "S",
|
||||
"{id:category}Music": "Music",
|
||||
"{id:category}Sound": "Sound",
|
||||
"{id:category}Sounds": "Sounds"
|
||||
|
Reference in New Issue
Block a user