Hi there -- can anyone help me get speech synthesis working as an Audio Unit? I did it "without", but discovered it was not recorded when using au:start-audio-capture...therefore, I want to set it up using an AU.<div>
<br></div><div>Seems there are a few options, but the most tantalizing is the speech AU in OS X 10.5...(don't need to use NetReceive) But I'm not sure how to get it to talk...I need to get the relevant "channel", but am not familiar enough with this stuff to know exactly how...</div>
<div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #7a12ff"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #b34c00"><span style="color: #000768">(</span><span style="color: #990000">define</span><span style="color: #000768"> </span>speech<span style="color: #000768"> (</span>au:make-node<span style="color: #000768"> </span><span style="color: #7a12ff">"augn"</span><span style="color: #000768"> </span><span style="color: #7a12ff">"ttsp"</span><span style="color: #000768"> </span><span style="color: #7a12ff">"appl"</span><span style="color: #000768">))</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #b34c00"><span style="color: #000768">(</span><span style="color: #990000">define</span><span style="color: #000768"> </span>reverb<span style="color: #000768"> (</span>au:make-node<span style="color: #000768"> </span><span style="color: #7a12ff">"aufx"</span><span style="color: #000768"> </span><span style="color: #7a12ff">"mrev"</span><span style="color: #000768"> </span><span style="color: #7a12ff">"appl"</span><span style="color: #000768">))</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #b34c00"><span style="color: #000768">(</span>au:connect-node<span style="color: #000768"> </span>speech<span style="color: #000768"> </span><span style="color: #0000ff">0</span><span style="color: #000768"> </span>reverb<span style="color: #000768"> </span><span style="color: #0000ff">0</span><span style="color: #000768">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #b34c00"><span style="color: #000768">(</span>au:connect-node<span style="color: #000768"> </span>reverb<span style="color: #000768"> </span><span style="color: #0000ff">0</span><span style="color: #000768"> </span>*au:output-node*<span style="color: #000768"> </span><span style="color: #0000ff">0</span><span style="color: #000768">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #b34c00"><span style="color: #000768">(</span>au:update-graph<span style="color: #000768">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #b34c00"><span style="color: #000768">(</span>au:print-graph<span style="color: #000768">)</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #000768; min-height: 16.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #b34c00"><span style="color: #000768">(</span><span style="color: #990000">define</span><span style="color: #000768"> </span>voice1<span style="color: #000768"> (</span>au:get-speech-channel<span style="color: #000768">)) ; this is wrong, I think...?</span></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Monaco; color: #000768; min-height: 16.0px"><span class="Apple-style-span" style="color: rgb(179, 76, 0); "><span style="color: #000768">(</span>au:speak<span style="color: #000768"> (</span>now<span style="color: #000768">) </span>voice1<span style="color: #000768"> </span><span style="color: #7a12ff">"Ree-verby!"</span><span style="color: #000768">) ; seems to use a non-AU voice channel</span></span><br>
</p><div><span class="Apple-style-span" style="color: rgb(0, 7, 104);"><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; font-size: 13px; "><div><br></div><div>I think I'd need to use au:get-property on property 3331 (kAudioUnitProperty_SpeechChannel), but am not sure exactly how to set things up using NSMutableData and all that...or even if that's the right approach. Or do I need to use the system call "say -n" and NetReceive AUnit to get this going?</div>
<div><br></div><div>Thanks for any tips,</div><div>Glen.</div><div><br></div><div><br></div><div><br></div></span></span></div><p></p></div>