"Not Strictly Advisable From A Business Perspective, But Quite Generous. Yes yes!" - Tom Nook
Write code with the whimsical style of "Animal Crossing"-esque characters!
vscode-animalese is a Visual Studio Code extension that functions similarly to the chrome plugin Animalese Typing, made by DageXVIII. Each time you type a character in a file, a corresponding animalese sound will play with nearly 0 delay. Not very practical; but certainly very fun!
Special Thanks To:
DageXVIII for the original chrome extension and audio assets; without them, none of this would have been possible.
Mel for the introduction to animalese-style keysounds.
Amity for the icon.
ircam-ismm for the fantastic node-web-audio-api package, which served as a great low-latency alternative to the simpler albeit jankier sound-play package.
Command List
All commands are prefaced with the namespace vscode-animalese:.
⚠️ The execution of this plugin is very rudimentary, and has not been tested on any other platform besides Windows. If there is a pressing issue to solve, please raise an issue within the GitHub repository.
vscode-animalese.volume (integer between 0-100): Controls the volume of the keysounds, where 100% is max volume.
vscode-animalese.voice (selectable from 8 different voices): Customize the timbre of the keysounds with 8 different voice profiles (yoinked from animalese-typing).
vscode-animalese.specialPunctuation (boolean): By default, !, ? and Enter produce special sounds that represent the ends of sentences. To override this with a standard voice, set this setting to true. This will result in the following characters-to-sounds map:
? -> です? or "desuka?"
! -> グア~ or "gwah~"
Enter -> おーけ or "OK"
vscode-animalese.intonation.falloffTime (positive number): Determines how many seconds it takes for the audio to fade out (although each keysound is not above a second regardless, so this value should be like 0.75 at most).
vscode-animalese.intonation.pitchVariation (positive integer): Adjusts the strength of pitch variation between duplicate key pressed. If set to 0, all keypresses of the same key (such as pressing the e key 7 times) will sound identical.