<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FMacro_Library%2FKlattSyn</id>
	<title>Programmer Guide/Macro Library/KlattSyn - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FMacro_Library%2FKlattSyn"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;action=history"/>
	<updated>2026-05-07T05:06:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=4342&amp;oldid=prev</id>
		<title>Toni: moved Programmer Guide/Class Library/KlattSyn : CObj to Programmer Guide/Macro Library/KlattSyn</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=4342&amp;oldid=prev"/>
		<updated>2011-04-28T08:01:12Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/stx/docs/wiki/index.php/Programmer_Guide/Class_Library/KlattSyn_:_CObj&quot; class=&quot;mw-redirect&quot; title=&quot;Programmer Guide/Class Library/KlattSyn : CObj&quot;&gt;Programmer Guide/Class Library/KlattSyn : CObj&lt;/a&gt; to &lt;a href=&quot;/stx/docs/wiki/index.php/Programmer_Guide/Macro_Library/KlattSyn&quot; title=&quot;Programmer Guide/Macro Library/KlattSyn&quot;&gt;Programmer Guide/Macro Library/KlattSyn&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:01, 28 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Toni</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=2704&amp;oldid=prev</id>
		<title>Christian: Text replace - &quot;S_TOOLS-STx&quot; to &quot;{{STX}}&quot;</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=2704&amp;oldid=prev"/>
		<updated>2011-04-05T15:55:42Z</updated>

		<summary type="html">&lt;p&gt;Text replace - &amp;quot;S_TOOLS-STx&amp;quot; to &amp;quot;{{STX}}&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:55, 5 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==KlattSyn : CObj==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==KlattSyn : CObj==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;S_TOOLS-STx &lt;/del&gt;class provides an interface to the C++ implementation using the &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; SPAtom.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{STX}} &lt;/ins&gt;class provides an interface to the C++ implementation using the &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; SPAtom.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See the &amp;lt;code&amp;gt;KlattSynTB.sts&amp;lt;/code&amp;gt; toolbox file for an example.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;See the &amp;lt;code&amp;gt;KlattSynTB.sts&amp;lt;/code&amp;gt; toolbox file for an example.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Christian</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=1032&amp;oldid=prev</id>
		<title>Admin: 1 revision:&amp;#32;Initial import</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=1032&amp;oldid=prev"/>
		<updated>2010-11-18T16:31:33Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Initial import&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:31, 18 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=1031&amp;oldid=prev</id>
		<title>193.171.195.8: initial import</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/KlattSyn&amp;diff=1031&amp;oldid=prev"/>
		<updated>2010-05-17T13:05:27Z</updated>

		<summary type="html">&lt;p&gt;initial import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:{{SUBPAGENAME}}}}&lt;br /&gt;
==KlattSyn : CObj==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; S_TOOLS-STx class provides an interface to the C++ implementation using the &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; SPAtom.&lt;br /&gt;
&lt;br /&gt;
See the &amp;lt;code&amp;gt;KlattSynTB.sts&amp;lt;/code&amp;gt; toolbox file for an example.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Constructor&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; class constructor initialised the instance to default values.&lt;br /&gt;
&lt;br /&gt;
=====Usage:=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Parameters:=====&lt;br /&gt;
&lt;br /&gt;
The constructor takes no parameters.&lt;br /&gt;
&lt;br /&gt;
=====Result:=====&lt;br /&gt;
&lt;br /&gt;
Always returns 0.&lt;br /&gt;
&lt;br /&gt;
=====Examples:=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;#KLSYNinstance := cobj new KlattSyn&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;if &amp;#039;$#KLSYNinstance[?]&amp;#039; != &amp;#039;instance&amp;#039; em &amp;#039;-1 ; Could not instantiate KlattSyn object&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====KlattSyn Member Functions====&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;KlattSyn&amp;lt;/code&amp;gt; class implements the following member functions. See CObj Member Functions for a list of functions implemented in the parent class.&lt;br /&gt;
&lt;br /&gt;
===beginKlattSynDialog===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;beginKlattSynDialog&amp;lt;/code&amp;gt; method displays a stand-alone real-time synthesis dialog allowing the user to modify every parameter used in the synthesis process. It is used, for example, in the &amp;lt;code&amp;gt;KlattSynDialog&amp;lt;/code&amp;gt; toolbox function to display the following dialog:&lt;br /&gt;
&lt;br /&gt;
[[File:dialog_klatt_synthesiser.png]]&lt;br /&gt;
&lt;br /&gt;
The display is divided into global settings, formant settings and voicing settings. When the synthesis process is started, the global settings become unavailable because they concern the whole synthesis and cannot be changed during execution. The real-time synthesis can be started using the &amp;quot;Start RT Synth&amp;quot; button which produces direct sound output. The &amp;quot;Save to file&amp;quot; box allows the user to select a target file and the duration in frames to save the synthesis output to a wave file. A description of the parameters can be found in [Parameter description part]&lt;br /&gt;
&lt;br /&gt;
===beginStopDialog===&lt;br /&gt;
&lt;br /&gt;
This method provides an user interface that allows the user to modify the Gain0 synthesis parameter (for amplitude adjustment) and to stop the synthesis.&lt;br /&gt;
&lt;br /&gt;
===initialize===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;initialise&amp;lt;/code&amp;gt; method initializes the class&amp;#039; internal SPU. This method must be called before the method &amp;lt;code&amp;gt;startSynthesis&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=====Usage:=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;inst initialize tconfig ; tframe [ ; path ; srate ; nspfr ; synmode ; outmode ]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Parameters:=====&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;tconfig&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The global configuration table. See the KLATTSYN SPAtom documentation for details.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;tframe&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The frame parameter table. See the KLATTSYN SPAtom documentation for details.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;path&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The location of the file to which synthesis output should be written.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;srate&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The sampling rate.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;nspfr&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The number of samples per synthesis frame.&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;synmode&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The synthesis mode. This can be either &amp;#039;&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&amp;#039; (each entry of &amp;lt;var&amp;gt;tframe&amp;lt;/var&amp;gt; contains the parameters for one frame) or &amp;#039;&amp;lt;code&amp;gt;loop&amp;lt;/code&amp;gt;&amp;#039; (&amp;lt;var&amp;gt;tframe&amp;lt;/var&amp;gt; contains one parameter set which is used for each parameter frame).&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;outmode&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The output mode. See the KLATTSYN SPAtom documentation for details.&lt;br /&gt;
&lt;br /&gt;
=====Result:=====&lt;br /&gt;
&lt;br /&gt;
Returns an empty string on success or &amp;lt;code&amp;gt;-1&amp;lt;/code&amp;gt; on failure.&lt;br /&gt;
&lt;br /&gt;
===startSynthesis===&lt;br /&gt;
&lt;br /&gt;
Starts the actual synthesis process.&lt;/div&gt;</summary>
		<author><name>193.171.195.8</name></author>
	</entry>
</feed>