Hi all.
how can i put the synthesizeToFile() event on tts lib?
i want to save a audio file and this is the native method.
it already is on tts lib?
some functions i can get with JavaObject like isSpeaking event.
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
and get max getMaxSpeechInputLength
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
but how to use synthesizeToFile usign JavaObject or reflection? its possible?
http://developer.android.com/reference/android/speech/tts/TextToSpeech.html
synthesizeToFile(String text, HashMap<String, String> params, String filename)
i know, i can try record a audio with AudioStreamer(can not work on some devices).
but if exist a native function to this on tts why not use?
its possible use this function with JavaObject or reflection libs? if yes how?
thx all.
			
			how can i put the synthesizeToFile() event on tts lib?
i want to save a audio file and this is the native method.
it already is on tts lib?
some functions i can get with JavaObject like isSpeaking event.
			
				B4X:
			
		
		
		Dim jTTS As JavaObject = tts1 'not TTS
    If jTTS.RunMethod("isSpeaking", Null) = False Thenand get max getMaxSpeechInputLength
			
				B4X:
			
		
		
		       Dim jTTS As JavaObject = tts1
       suportado = jTTS.RunMethod("getMaxSpeechInputLength", Null)but how to use synthesizeToFile usign JavaObject or reflection? its possible?
http://developer.android.com/reference/android/speech/tts/TextToSpeech.html
synthesizeToFile(String text, HashMap<String, String> params, String filename)
i know, i can try record a audio with AudioStreamer(can not work on some devices).
but if exist a native function to this on tts why not use?
its possible use this function with JavaObject or reflection libs? if yes how?
thx all.
			
				Last edited: 
			
		
	
								
								
									
	
		
			
		
	
								
							
							 
				 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		