simple code steaming audio to server on iphone

This project was awarded to venkatpathway for $200 USD.

Get free quotes for a project like this
Project Budget
$30 - $250 USD
Total Bids
Project Description

Streaming Mic to WebService

Referencing this command line (one line only , this command works on ubuntu [url removed, login to view]):

$ arecord -d 5 -f dat -c 1 -f S16_LE -r 16000 | speexenc - - | curl -X PUT "[url removed, login to view]" -u ZmFzaWFsb2JlaWRAeWFob28uY29t:28c8edde3d61a0411511d3b1866f0636 -T -


Open the mic,

Open the connection to the web service

Read bytes from the mic on the rate of 16000 Hz (wave pcm signed 16-bit little endian mono 16000 Hz)

Encode the bytes to Speex ([url removed, login to view])

Write the bytes (of Speex) to the webservice body in chunks (instead of the wav file contents)

On stop, stop writing on the web service and send the final chunk (zero-length).

Wait for JSON results.


[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

i jsut want to do is this

open mic

open stream

once button pressed close the stream

that's it

Awarded to:
Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online