hello..im a new user to the forum and also kinda new to programming python for cellphones..
actually i made a voice messenger for my laptop using pyaudio which works fine ..
now i wish to make a client side script for the messenger for my cellphone as well..
in my laptop's script i was socket connection and the audio received was being passed in the form of normal data over the socket...
how can i do the same using the audio library on my phne..so far i have only seen methods like sound.record() and sound.play()
following was my code in my laptop client
please help me to convert this so that i can use it torun in my cellphoneCode:self.pin=pyaudio.PyAudio() streamin=self.pin.open(format=self.format, channels=self.channels, rate=self.rate, output = True, frames_per_buffer = chunk) global wf while 1: data=self.sock.recv(4096) if data: streamin.write(data)
or is there a way i can install pyaudio on my phone ?

Reply With Quote

