nvda
Support pitch change for capitals and rate boost (SAPI5 only) for 32 bit SAPI synths
#19541
Merged

Commits
  • synthDriverHost: when creating a synth driver and returning it to NVDA, also locally track it as the active synth in the host by setting synthDriverHandler._curSynth. this allows synthDriverhandler.getsynth() to return the synth inside the 32 bit host. Needed to fetch the synth's name for config value lookup via synth commands.
    michaelDCurran committed 305 days ago
  • Support all built-in synth commands (I.e. index, break, langChange, characterMode, pitch, rate, volume and phoneme) on 32 bit synthDrivers proxied to NvDA. This includes correctly expsing the supportedCommands property, and a much better serialization / deserialization in speak, which no longer uses Pickle, but instead json, fully supporting all the synth commands. This lallows pitch changes for capital letters among other things.
    michaelDCurran committed 305 days ago
  • sapi4 synthDriver: when fetching rate, pitch and volume values, ensure that the raw values are clipped to the min and max values before converting to percentage. Sometimes the raw value was outside the min max range and was producing values higher than 100%.
    michaelDCurran committed 305 days ago
  • Pre-commit auto-fix
    pre-commit-ci[bot] committed 305 days ago
  • Apply suggestion from @Copilot
    michaelDCurran committed 305 days ago
  • synthDriver proxy: support getting and setting rateBoost.
    michaelDCurran committed 305 days ago
Loading