|
|
@@ -4,8 +4,8 @@ import subprocess |
|
|
|
|
|
|
|
class Aques: |
|
|
|
@classmethod |
|
|
|
def main (cls, text: str) -> bytearray | None: |
|
|
|
return cls.__synthe_utf8 (text, 100, "./phont/ar_mf2.phont") |
|
|
|
def main (cls, text: str, goatoh_mode: bool = False) -> bytearray | None: |
|
|
|
return cls.__synthe_utf8 (text, 100, './phont/ar_m5.phont' if goatoh_mode else './phont/ar_mf2.phont') |
|
|
|
|
|
|
|
@staticmethod |
|
|
|
def __synthe_utf8 (text, speed, phont_file = None) -> bytearray | None: |
|
|
|