4.0

4.0 | 1 rating Rate this file 76 downloads (last 30 days) File Size: 76.11 KB File ID: #18348

VOIP From One Simulink Session to Another

by Darel Linebarger

 

17 Jan 2008 (Updated 15 May 2009)

Code covered by BSD License  

Use the Signal Processing Blockset to enable voice communications between different workstations.

Download Now | Watch this File

File Information
Description

Use your Simulink as a telephone to talk with your buddies! This demo allows for full duplex voice communications between Simulink sessions running on different machines. It is a variation of of a shipping demo in the Signal Processing Blockset. The encoder and decoder are the same, but m-file s-functions using the Java interface from MATLAB are included to allow for communications across the internet using the UDP protocol.

The demo is initially configured to communicate with localhost - loopback mode. After you run it, make a test sound. You should hear the sound back out of your speaker shortly thereafter.
The delay will likely be noticeable. You will also have to be careful about the placement of the microphone and speakers you use to avoid audio feedback. If the demo works on your machine, then you can get someone else to run it also, change 'localhost' to appropriate IP addresses on each end, and then talk to each other between Simulink sessions.

The original version of this submission (dspilbc_mic_duplex.mdl) works for releases R2007b thru R2008b. For releases R2009a and later, use dspilbc_mic_duplex_9a.mdl and the associated block library dspilbclib_9a.mdl.

Required Products Signal Processing Blockset
Signal Processing Toolbox
Simulink
MATLAB release MATLAB 7.5 (R2007b)
Other requirements - Java - A machine with audio input and output capabilities, including a microphone and speakers.
Zip File Content  
Other Files dspilbc_mic_duplex.mdl,
dspilbc_mic_duplex_9a.mdl,
dspilbclib_9a.mdl,
dspUDPReceive.m,
dspUDPSend.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
03 Feb 2008 husam alouni

thanks but it does not work with vesta

19 Oct 2008 cp lin  
Please login to add a comment or rating.
Updates
18 Jan 2008

Fix truncated summary and add more info to description.

15 May 2009

Added a new version that works for R2009a and later. Updated comments accordingly.

15 May 2009

Added missing file dspilbc_mic_duplex.mdl.

Tag Activity for this File
Tag Applied By Date/Time
audio processing Darel Linebarger 22 Oct 2008 09:42:55
video processing Darel Linebarger 22 Oct 2008 09:42:55
voip Darel Linebarger 22 Oct 2008 09:42:55
speech coding Darel Linebarger 22 Oct 2008 09:42:55
ilbc Darel Linebarger 22 Oct 2008 09:42:55
audio processing isaack 27 Mar 2009 22:52:57
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com