Clean generated files (#289)

* clean generated files

* updating gitingore to drop generated files

* updated package lock
This commit is contained in:
Peli de Halleux
2018-01-31 10:04:40 -08:00
committed by GitHub
parent 7228cbe1cb
commit f08f9105ba
39 changed files with 37 additions and 1448 deletions

View File

@ -1,29 +0,0 @@
{
"Sound.buffer": "Returns the underlaying Buffer object.",
"Sound.play": "Play sound.",
"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",
"music.fromWAV": "Makes a sound bound to a buffer in WAV format.",
"music.noteFrequency": "Get the frequency of a note.",
"music.noteFrequency|param|name": "the note name, eg: Note.C",
"music.playSoundEffect": "Start playing a sound and don't wait for it to finish.",
"music.playSoundEffectUntilDone": "Plays a sound",
"music.playSoundEffectUntilDone|param|sound": "the sound to play",
"music.playSoundEffect|param|sound": "the sound to play",
"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).",
"music.rest|param|ms": "rest duration in milliseconds (ms), eg: 100",
"music.ringTone": "Play a tone.",
"music.ringTone|param|frequency": "pitch of the tone to play in Hertz (Hz), eg: Note.C",
"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...100, eg: 50",
"music.stopAllSounds": "Play a tone through the speaker for some amount of time.",
"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."
}

View File

@ -1,166 +0,0 @@
{
"BeatFraction.Breve|block": "4",
"BeatFraction.Double|block": "2",
"BeatFraction.Eighth|block": "1/8",
"BeatFraction.Half|block": "1/2",
"BeatFraction.Quarter|block": "1/4",
"BeatFraction.Sixteenth|block": "1/16",
"BeatFraction.Whole|block": "1",
"Note.CSharp3|block": "C#3",
"Note.CSharp4|block": "C#4",
"Note.CSharp5|block": "C#5",
"Note.CSharp|block": "C#",
"Note.FSharp3|block": "F#3",
"Note.FSharp4|block": "F#4",
"Note.FSharp5|block": "F#5",
"Note.FSharp|block": "F#",
"Note.GSharp3|block": "G#3",
"Note.GSharp4|block": "G#4",
"Note.GSharp5|block": "G#5",
"Note.GSharp|block": "G#",
"SoundOutputDestination.Pin|block": "pin",
"SoundOutputDestination.Speaker|block": "speaker",
"music.beat|block": "%fraction|beat",
"music.changeTempoBy|block": "change tempo by %value|(bpm)",
"music.noteFrequency|block": "%note",
"music.playSoundEffectUntilDone|block": "play sound effect %sound|until done",
"music.playSoundEffect|block": "play sound effect %sound",
"music.playTone|block": "play tone|at %note=device_note|for %duration=device_beat",
"music.rest|block": "rest|for %duration=device_beat",
"music.ringTone|block": "ring tone|at %note=device_note",
"music.setTempo|block": "set tempo to %value|(bpm)",
"music.setVolume|block": "set volume %volume",
"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": "system start up",
"{id:category}Music": "Music",
"{id:category}Sound": "Sound",
"{id:category}Sounds": "Sounds"
}

56
libs/music/shims.d.ts vendored
View File

@ -1,56 +0,0 @@
// Auto-generated. Do not edit.
declare namespace music {
/**
* Set the output volume of the sound synthesizer.
* @param volume the volume 0...100, eg: 50
*/
//% weight=96
//% blockId=synth_set_volume block="set volume %volume"
//% parts="speaker" blockGap=8
//% volume.min=0 volume.max=100
//% help=music/set-volume
//% weight=1 shim=music::setVolume
function setVolume(volume: int32): void;
/**
* Play a tone through the speaker for some amount of time.
* @param frequency pitch of the tone to play in Hertz (Hz)
* @param ms tone duration in milliseconds (ms)
*/
//% help=music/play-tone
//% blockId=music_play_note block="play tone|at %note=device_note|for %duration=device_beat"
//% parts="headphone" async
//% blockNamespace=music
//% weight=76 blockGap=8 shim=music::playTone
function playTone(frequency: int32, ms: int32): void;
/**
* Play a tone through the speaker for some amount of time.
*/
//% help=music/stop-all-sounds
//% blockId=music_stop_all_sounds block="stop all sounds"
//% parts="headphone"
//% blockNamespace=music
//% weight=97 shim=music::stopAllSounds
function stopAllSounds(): void;
/** Makes a sound bound to a buffer in WAV format. */
//% shim=music::fromWAV
function fromWAV(buf: Buffer): Sound;
}
//% fixedInstances
declare interface Sound {
/** Returns the underlaying Buffer object. */
//% property shim=SoundMethods::buffer
buffer: Buffer;
/** Play sound. */
//% promise shim=SoundMethods::play
play(): void;
}
// Auto-generated. Do not edit. Really.