Audio streaming and playback

Hi, I want to create a GUI application which is going to act as a client. I need to send voice data (real time) to my server. Can u pls suggest which matlab function can be used for live audio streaming. Is there any examples for live audio streaming. Awaiting for ur reply
Thanks & regards, Srinivas S

回答 (1 件)

Dipal Saluja
Dipal Saluja 2014 年 9 月 29 日

0 投票

Hello,
I understand that you want to record audio in the client GUI application and send it to the server. You can construct and use an object of DSP ToolBox's dsp.AudioRecorder class. The following link presents a good documentation about this class and a simple example on how to use it.

2 件のコメント

Srinivas
Srinivas 2014 年 10 月 1 日
Hello, Thanks for your valuable input. But here i dont want to record audio and send it to server. i want to stream real time audio from my client GUI to server. In dsp.audiorecorder class it will record till a given amount of time . Is it possible to stream the audio without any delay.
Dipal Saluja
Dipal Saluja 2014 年 10 月 2 日
Hello,
I can only think of two probable solutions right now. You could:
1) Construct an object of "dsp.AudioRecorder" class and while sampling the data, send the packets to your server application using UDP protocol.
2) Try to create a Simulink model using Simulink Real-Time library and run the model using Real-Time Windows Target.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeAudio I/O and Waveform Generation についてさらに検索

製品

質問済み:

2014 年 9 月 25 日

コメント済み:

2014 年 10 月 2 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by