Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About The Pull Request
This reuses the general structure of Mojave-Sun/mojave-sun-13#2142 however reworks most of the code of the main block.
In short, this adds a boop/mumble effect whenever a carbon human speaks. There are currently seven voice types available, however due to the simple nature of the files more can easily be made by modifying them (the source of which can be provided to anyone interested). The spoilered section will go into greater technical detail, while a short video is attached for your viewing pleasure.
Oh, also, you can test the voices in the preferences menu.
2024-10-16.22-37-34.mp4
Detailed Summary
The system works by using a regex to segment every syllable the user types into a list. It then iterates through this list, using several modifiers and values to determine pitch and falloff, before assigning the filetype based on the user's preferenced voice type and the syllable used. Certain punctuation characters, as well as spaces, play no sound and yet increase the delay between sounds to replicate the effect of a pause in speech.
Each vowel has 20 permutations available, and each consonant has 6 permutations available.
The audio files are heavily influenced by the speech style of Animal Crossing. The raw files, when used, were far too jarring however, and as such were processed to give a more 'mumble-like' effect. The macro to recreate this effect in Audacity is attached. I attempted to work a system that would dynamically modulate pitch based on user preferences, however BYOND's pitch value is bad, and glitches out pretty heavily. In the future I'm going to look into adding more voice types, especially those leaning more towards the mid-toned monotone type, as there are currently mostly high-pitched, low-pitched and melodic voices.
dopplerboop-macro.txt
Changelog
🆑
add: Dopplerboops
/:cl: