Audio frequency generator: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (Automated syntax highlighting fixup (second round - minor fixes)) |
m (→{{header|Wren}}: Changed to Wren S/H) |
||
Line 914: | Line 914: | ||
{{trans|Go}} |
{{trans|Go}} |
||
The ability to call external processes such as ''SoX'' is expected to be added to Wren-cli in the next release. In the meantime, we embed the following Wren script in a C host to complete this task. |
The ability to call external processes such as ''SoX'' is expected to be added to Wren-cli in the next release. In the meantime, we embed the following Wren script in a C host to complete this task. |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">/* audio_frequency_generator.wren */ |
||
class C { |
class C { |
||
Line 1,051: | Line 1,051: | ||
free(script); |
free(script); |
||
return 0; |
return 0; |
||
}</syntaxhighlight> |
}</syntaxhighlight> |
||
=={{header|ZX Spectrum Basic}}== |
=={{header|ZX Spectrum Basic}}== |