- set-voice-by-properties! voiceprocedure
- set-voice-by-name! nameprocedure
- set-voice-by-file! filepathprocedure
Can be used to select a voice to be used for synthesis functions by properties. For example:
;; Set to spanish by name (set-voice-by-properties! (make-voice name: "Spanish (Spain)")) ;; Set to a spanish voice (set-voice-by-properties! (make-voice language: "es")) ;; Set to an english voice (set-voice-by-properties! (make-voice language: "en")) ;; Specify dialect (set-voice-by-properties! (make-voice language: "en-uk")) ;; Set to gender (set-voice-by-properties! (make-voice language: gender/female)) ;; Combine, female spanish (set-voice-by-properties! (make-voice gender: gender/female language: "es"))