×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    problem with audio !

    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

    Code:
    	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)
    please help me to convert this so that i can use it torun in my cellphone
    or is there a way i can install pyaudio on my phone ?

  2. #2
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    Re: problem with audio !

    new commers are prolly not welcome here...guess a'll take my question elsewhere...

Similar Threads

  1. audio echo problem when recording and playing audio
    By kck809 in forum Symbian Media (Closed)
    Replies: 6
    Last Post: 2009-07-05, 09:42
  2. NewFileL problem(recording audio problem)
    By vineet.jain in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2009-06-04, 14:07
  3. Audio problem
    By Nicolae in forum VoIP
    Replies: 2
    Last Post: 2008-06-02, 08:28
  4. audio problem
    By mschumiv in forum Audio
    Replies: 1
    Last Post: 2007-09-22, 20:45
  5. Audio Problem
    By gtemgire in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2007-05-04, 05:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •