<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Thanks for your answer!</p>
<p><br>
</p>
<p>The idea was to do it all in scilab. I finally managed to get portaudio toolbox working... but it does not let you record and play at the same time.</p>
<p>I finally cheated and added 1sec delay to mi equipment (digital recorder) and put it in loopback mode, so with scilab i played a sound and then recorded the delayed answer from de equipment. Is not what i wanted but it works.<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b> users <users-bounces@lists.scilab.org> en nombre de Dang Ngoc Chan, Christophe <Christophe.Dang@sidel.com><br>
<b>Enviado:</b> lunes, 30 de enero de 2017 09:46 a.m.<br>
<b>Para:</b> Users mailing list for Scilab<br>
<b>Asunto:</b> Re: [Scilab-users] Simultaneous record and play sound with scilab</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hello,<br>
<br>
> De : Pablo Fonovich<br>
> Envoyé : dimanche 29 janvier 2017 19:13<br>
><br>
> i wanted to know if its possible to play a sound and record an input simultaneously with Scilab.<br>
<br>
I'm not sure that this fulfils your need,<br>
but you can use the savewave() function to generate a .wav file,<br>
then use any player to generate the output signal while recording with another application.<br>
<br>
<a previewremoved="true" id="LPlnk114398" href="https://help.scilab.org/docs/6.0.0/en_US/savewave.html">https://help.scilab.org/docs/6.0.0/en_US/savewave.html</a>
<div style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;" id="LPBorder_GT_14858701050980.05873245404980487">
<table style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" id="LPContainer_14858701050930.2659635044030779" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" id="TextCell_14858701050940.5906885813674437">
<div id="LPRemovePreviewContainer_14858701050950.6431953645297875"></div>
<div style="top: 0px; color: rgb(0, 114, 57); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;" id="LPTitle_14858701050950.13526906708679787">
<a target="_blank" href="https://help.scilab.org/docs/6.0.0/en_US/savewave.html" style="text-decoration: none;" id="LPUrlAnchor_14858701050960.2151658483755523">savewave - Save data into a sound wav file.</a></div>
<div style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;" id="LPMetadata_14858701050960.9064374027376856">
help.scilab.org</div>
<div style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;" id="LPDescription_14858701050970.670914870420536">
Description. save x into a wav sound file. you can transform other sound files into wav file with the sox program.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
Hope this help<br>
<br>
--<br>
Christophe Dang Ngoc Chan<br>
Mechanical calculation engineer<br>
<br>
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution
 of the material in this e-mail is strictly forbidden.<br>
_______________________________________________<br>
users mailing list<br>
users@lists.scilab.org<br>
<a previewremoved="true" id="LPlnk619971" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<div style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;" id="LPBorder_GT_14858701623200.5986754696947105">
<table style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);" id="LPContainer_14858701623150.4453013239265192" cellspacing="0">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;" id="TextCell_14858701623160.5676612594440926">
<div id="LPRemovePreviewContainer_14858701623160.8701992111851796"></div>
<div style="top: 0px; color: rgb(0, 114, 57); font-weight: 400; font-size: 21px; font-family: "wf_segoe-ui_light","Segoe UI Light","Segoe WP Light","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; line-height: 21px;" id="LPTitle_14858701623160.01972440260905317">
<a target="_blank" href="http://lists.scilab.org/mailman/listinfo/users" style="text-decoration: none;" id="LPUrlAnchor_14858701623170.968570171508981">users Info Page - Scilab</a></div>
<div style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 14px;" id="LPMetadata_14858701623170.605270764073491">
lists.scilab.org</div>
<div style="display: block; color: rgb(102, 102, 102); font-weight: 400; font-family: "wf_segoe-ui_normal","Segoe UI","Segoe WP",Tahoma,Arial,sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;" id="LPDescription_14858701623190.1270711552985666">
The place to ask (and answer) questions on using Scilab. To see the collection of prior postings to the list, visit the users archives.</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</div>
</span></font></div>
</div>
</body>
</html>