<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div id="message"></div>Your current audio is frequency modulated signal, and applying weighting similar to amplitude modulation. <div><br></div><div>Theoretically you could try having a same size vector with your current file, and fill it with the weighting value according to your scaling you want, and just multiply them, y = a.*b where a is the weighting array, b is ur current audio.</div><div><br></div><div>Beware of saturation, and also the fact that man and woman might hear different frequencies differently. 😄</div><div><br></div><div>Thx</div><div><br></div><div>CL</div><div><br id="br3"><div id="signature"></div><div id="content"><br> ---- On Wed, 08 Jan 2020 03:41:29 +0800 <b> p.muehlmann@gmail.com </b> wrote ----<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin-left: 5px;"><div><div dir="ltr"><div><div><div><div><div><div><div><div><div>Dear All,<br><br></div>for a simulation temperatures shall be converted into a sound.<br><br></div>E.g.: Each temperature value represents a frequency.<br><br></div>Low temperatures = low frequency<br></div>High temperature = high frequency.<br><br></div><div>For creating the sound I use following approach:<br></div><div> - create empty array, that will represent the final sound file<br></div><div> - insert at the correct position(s) the corresponding frequencies (that represent a dedicated temp-value)<br></div><div> - save the - now completely filled - array using: savewave()<br><br></div><div> I assume, that all frequencies are saved with the same amplitude.<br></div>Since different frequencies are recognized differently by the human ear, some frequencies will appear louder than others.<br><br></div>To take care of this, I would like to apply the A-weighting curve onto the sound.<br><br></div>How could this be done in Scilab?<br><br></div>Thank you,<br></div>Philipp<br></div>
_______________________________________________
<br>users mailing list
<br><a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a>
<br><a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a>
<br></div></blockquote></div></div></div><br></body></html>