{"id":1274,"date":"2011-08-25T22:48:13","date_gmt":"2011-08-25T20:48:13","guid":{"rendered":"https:\/\/alax.info\/blog\/?p=1274"},"modified":"2011-08-28T13:13:50","modified_gmt":"2011-08-28T11:13:50","slug":"utility-clearance-generate-pcm-wav-file","status":"publish","type":"post","link":"https:\/\/alax.info\/blog\/1274","title":{"rendered":"Utility Clearance: Generate PCM .WAV File"},"content":{"rendered":"<p>GeneratePcmWavFile tool is generating PCM .WAV files with requested parameters, silent or with a sine wave data. The utility uses <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/dd390969%28v=vs.85%29.aspx\">WavDest SDK Sample<\/a> as a multiplexer, so it is expected to be available.<\/p>\n<p>It is possible to define the following audio data parameters:<\/p>\n<ul>\n<li>sampling frequency, number of samples per second, such as 44100 or 48000<\/li>\n<li>number of channels; the utility does not constrain this to be stereo or 5.1, it will be able to create 64 or 128 channel audio data as well<\/li>\n<li>8 or 16 bit audio samples<\/li>\n<ul>\n<li>16-bit PCM only: sine wave signal parameters, frequency in Hz and amplitude\/loudness relative to full scale, that is 0 dB is maximal loudness, and an argument of 23 will result in -23 dB loud audio (such as -23 dbFS, also see <a href=\"http:\/\/tech.ebu.ch\/loudness\">EBU R128 Specification<\/a>, the signal depending on frequency may be used a reference source for normalized -23 LUFS audio)<\/li>\n<\/ul>\n<li>file duration in seconds<\/li>\n<\/ul>\n<pre>Microsoft Windows [Version 6.1.7601]\r\nCopyright (c) 2009 Microsoft Corporation.\u00c2\u00a0 All rights reserved.\r\n\r\nC:\\&gt;GeneratePcmWavFile.exe\r\nSyntax: GeneratePcmWavFile &lt;options&gt; &lt;output-path&gt;\r\n\u00c2\u00a0 \/s:N: Sampling Rate N, Hz\r\n\u00c2\u00a0 \/c:N: Channel Count N\r\n\u00c2\u00a0 \/b:N: Sample Bit Count N, 8 or 16\r\n\u00c2\u00a0 \/t:N: Length N, seconds\r\n\u00c2\u00a0 \/f:N: Sine Signal Frequency N, Hz\r\n\u00c2\u00a0 \/l:N: Sine Signal Loudness N, dB below full scale\r\n  \/n:N: Noise Signal Loudness N, dB below full scale<\/pre>\n<p><a href=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2011\/08\/Image0011.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1275\" title=\"-23 dBFS Generated Audio Playback\" src=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2011\/08\/Image0011-320x248.png\" alt=\"\" width=\"320\" height=\"248\" srcset=\"https:\/\/alax.info\/blog\/wp-content\/uploads\/2011\/08\/Image0011-320x248.png 320w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2011\/08\/Image0011-772x600.png 772w, https:\/\/alax.info\/blog\/wp-content\/uploads\/2011\/08\/Image0011.png 947w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/a><\/p>\n<p>A binary [<a href=\"https:\/\/alax.info\/trac\/public\/browser\/trunk\/Utilities\/GeneratePcmWavFile\/Win32\/Release\/GeneratePcmWavFile.exe?format=raw\">Win32<\/a>] and partial Visual C++ .NET 2010 <a href=\"https:\/\/alax.info\/trac\/public\/browser\/trunk\/Utilities\/GeneratePcmWavFile\">source code<\/a> are available from SVN.<\/p>\n<p>UPDATE: An extra \/n parameter lets the application add random noise within provided loudness parameter.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GeneratePcmWavFile tool is generating PCM .WAV files with requested parameters, silent or with a sine wave data. The utility uses WavDest SDK Sample as a multiplexer, so it is expected to be available. It is possible to define the following audio data parameters: sampling frequency, number of samples per second, such as 44100 or 48000&hellip; <\/p>\n<p><a class=\"moretag\" href=\"https:\/\/alax.info\/blog\/1274\">Read the full article<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,6,13,2],"tags":[369,485,38,367,371,366,151,368,318,132,372,370],"class_list":["post-1274","post","type-post","status-publish","format-standard","hentry","category-atl","category-audio","category-source","category-utilities","tag-wav","tag-audio","tag-c","tag-db","tag-generation","tag-loudness","tag-pcm","tag-sine","tag-tool","tag-utility","tag-wavdest","tag-waveform"],"_links":{"self":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/comments?post=1274"}],"version-history":[{"count":0,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/posts\/1274\/revisions"}],"wp:attachment":[{"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/media?parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/categories?post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/alax.info\/blog\/wp-json\/wp\/v2\/tags?post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}