<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - Commodore Speech synthesis]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/1507/"/>
	<updated>2017-07-08T01:13:49Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/1507/commodore-speech-synthesis/</id>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/253314/#p253314"/>
			<content type="html"><![CDATA[<p>Hi all&nbsp; if still any interest in SAM&nbsp; -&nbsp; SAM Software Automatic Mouth</p><br /><p>S.A.M&nbsp; &nbsp;was ported to C&nbsp; <a href="https://github.com/s-macke/SAM" target="_blank">https://github.com/s-macke/SAM</a>&nbsp; &nbsp;by Sebastian Macke. on line test version is at&nbsp; &nbsp;<a href="http://simulationcorner.net/index.php?page=sam" target="_blank">http://simulationcorner.net/index.php?page=sam</a></p><br /><p>What is SAM?</p><p>Sam is a very small Text-To-Speech (TTS) program written in C, that runs on most popular platforms. It is an adaption to C of the speech software SAM (Software Automatic Mouth) for the Commodore C64 published in the year 1982 by Don&#039;t Ask Software (now SoftVoice, Inc.). It includes a Text-To-Phoneme converter called reciter and a Phoneme-To-Speech routine for the final output. It is so small that it will work also on embedded computers. On my computer it takes less than 39KB (much smaller on embedded devices as the executable-overhead is not necessary) of disk space and is a fully stand alone program. For immediate output it uses the SDL-library, otherwise it can save .wav files.</p><p>Windows binary&nbsp; <a href="http://simulationcorner.net/SAM/sam_windows.zip" target="_blank">http://simulationcorner.net/SAM/sam_windows.zip</a></p>]]></content>
			<author>
				<name><![CDATA[TheGrayOne]]></name>
				<uri>https://chipmusic.org/TheGrayOne</uri>
			</author>
			<updated>2017-07-08T01:13:49Z</updated>
			<id>https://chipmusic.org/forums/post/253314/#p253314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244412/#p244412"/>
			<content type="html"><![CDATA[<p>Hi all,</p><p>I have the Kerberos Midi cartridge but the software wont respond at all to my Keyboard, and pressing the<br />F8 key goes into a setup menu, I have tried all settings in there and still no sound from my keyboard.</p><p>Was the tracker called Sid Tracker (Above issue)?<br />I was told that&nbsp; maybe when this was flashed into the cartridge Rom may not have programmed all the way?</p><p>I had to find a Mid interface for:&nbsp; USB(PC interface) to Midi Din IN and OUT.&nbsp; <br />connect the Midi out to the Midi IN on the Kerberos cartridge.<br />Frank Buss has both a PC or Macintosh Application for flashing any programs, my question is does the program have to be <br />converted into a binary file, or will any other filetype work? (I don&#039;t know much about Flash Rom&#039;s is why I ask).<br />So Frank suggested this as a possible solution to make my Kerberos work with my keyboard.</p><p>Are there any other C=64 Midi sequencers out there, I would like to try something different than the German version if possible and if its<br />not copyrighted.</p><p>Thanks,</p><p>traymond</p>]]></content>
			<author>
				<name><![CDATA[traymond]]></name>
				<uri>https://chipmusic.org/traymond</uri>
			</author>
			<updated>2016-05-30T03:09:43Z</updated>
			<id>https://chipmusic.org/forums/post/244412/#p244412</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244411/#p244411"/>
			<content type="html"><![CDATA[<p>So what Sam did was programmed directly using the Sid chip?<br />I have the cheaper Commodore voice cartridge but Sam was way awesome.</p><p>The Covox Voice Master has a head set and a microphone to record a voice possibly other stuff.</p><p>traymond</p>]]></content>
			<author>
				<name><![CDATA[traymond]]></name>
				<uri>https://chipmusic.org/traymond</uri>
			</author>
			<updated>2016-05-30T03:00:36Z</updated>
			<id>https://chipmusic.org/forums/post/244411/#p244411</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244410/#p244410"/>
			<content type="html"><![CDATA[<p>There was also the Covox Voice Master you might find them on ebay.<br />traymond<br />OOps I submitted twice dang Laptop wont respond. <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[traymond]]></name>
				<uri>https://chipmusic.org/traymond</uri>
			</author>
			<updated>2016-05-30T02:51:41Z</updated>
			<id>https://chipmusic.org/forums/post/244410/#p244410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244409/#p244409"/>
			<content type="html"><![CDATA[<p>There was also the Covox Voice Master you might find them on ebay.<br />traymond</p>]]></content>
			<author>
				<name><![CDATA[traymond]]></name>
				<uri>https://chipmusic.org/traymond</uri>
			</author>
			<updated>2016-05-30T02:51:33Z</updated>
			<id>https://chipmusic.org/forums/post/244409/#p244409</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/243961/#p243961"/>
			<content type="html"><![CDATA[<p>I fortunately grabbed an Alien Group &quot;Voice Box&quot; unit a few years ago - damn lucky to see it pop up on ebay - is user-port box for the C64 and it is the only speech synth I know of that has a &#039;sequencer&#039; written for it (i.e. 3 channels of SID output work in conjunction with the speech output).</p><p>The software is in basic and you have to play in each musical part for each SID &#039;voice&#039; - then you have to record expression parts for the speech and also sequence the notes for the &#039;singing&#039;. Damn HORRIBLE interface but I think it was done in 1983.</p><p>Also the animated face can be fully customised and looks suspiciously like David Byrne of Talking Heads.</p><p>Here is one of the example songs - <a href="https://www.youtube.com/watch?v=2zvTmC7mzb4" target="_blank">https://www.youtube.com/watch?v=2zvTmC7mzb4</a></p><p>Another example song - <a href="https://vimeo.com/150045715" target="_blank">https://vimeo.com/150045715</a></p><p>Here is me messing with the preset &quot;bicycle built for two&quot; pre-loaded so you can trigger words at any chosen pitch - <a href="https://vimeo.com/135723824" target="_blank">https://vimeo.com/135723824</a></p>]]></content>
			<author>
				<name><![CDATA[Tumult]]></name>
				<uri>https://chipmusic.org/Tumult</uri>
			</author>
			<updated>2016-05-12T01:53:04Z</updated>
			<id>https://chipmusic.org/forums/post/243961/#p243961</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24533/#p24533"/>
			<content type="html"><![CDATA[<p>not very vintage but: <a href="http://www.wizardmaster.com/bludgeonsoft/tbtb/index.html" target="_blank">http://www.wizardmaster.com/bludgeonsof &#133; index.html</a></p>]]></content>
			<author>
				<name><![CDATA[herr_prof]]></name>
				<uri>https://chipmusic.org/herr_prof</uri>
			</author>
			<updated>2010-05-27T23:10:34Z</updated>
			<id>https://chipmusic.org/forums/post/24533/#p24533</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24516/#p24516"/>
			<content type="html"><![CDATA[<p>there&#039;s one for DOS, i&#039;m pretty sure its called Speak</p>]]></content>
			<author>
				<name><![CDATA[Saskrotch]]></name>
				<uri>https://chipmusic.org/Saskrotch</uri>
			</author>
			<updated>2010-05-27T21:10:15Z</updated>
			<id>https://chipmusic.org/forums/post/24516/#p24516</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24509/#p24509"/>
			<content type="html"><![CDATA[<p>You mean Stowell&#039;s AY-thing? I&#039;m pretty sure it&#039;s on its own in that video. He loops his voice and stuff though.</p>]]></content>
			<author>
				<name><![CDATA[goto80]]></name>
				<uri>https://chipmusic.org/goto80</uri>
			</author>
			<updated>2010-05-27T20:41:41Z</updated>
			<id>https://chipmusic.org/forums/post/24509/#p24509</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24502/#p24502"/>
			<content type="html"><![CDATA[<p>it&#039;d be nice to hear the voice synth on it&#039;s own.&nbsp; Im slowly learning to use SAM myself, still a massive MASSIVE c64 noob. Too many toys, not enough time.</p>]]></content>
			<author>
				<name><![CDATA[CMDR]]></name>
				<uri>https://chipmusic.org/CMDR</uri>
			</author>
			<updated>2010-05-27T20:10:00Z</updated>
			<id>https://chipmusic.org/forums/post/24502/#p24502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24440/#p24440"/>
			<content type="html"><![CDATA[<p>Oh hell.&nbsp; That&#039;s mega-awesome!</p>]]></content>
			<author>
				<name><![CDATA[cTrix]]></name>
				<uri>https://chipmusic.org/cTrix</uri>
			</author>
			<updated>2010-05-27T09:46:07Z</updated>
			<id>https://chipmusic.org/forums/post/24440/#p24440</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24348/#p24348"/>
			<content type="html"><![CDATA[<p>Yeah, I love the sound of it! I was completely shocked when I first heard it. What the hell is this?! <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> There&#039;s been other similar things - like C64MP3 and, maybe more similar, Birdburner. But technically I guess they are more like vocoders than speech synthesizers. Pre-calc lamerz, hehehe. In that context, it&#039;s worth to mention Dan Stowell&#039;s &quot;realtime AY-vocoder&quot;, which I jammed together with live at Hatebit a while ago -- <a href="http://www.youtube.com/watch?v=OJZ1qjMdZHE" target="_blank">http://www.youtube.com/watch?v=OJZ1qjMdZHE</a></p>]]></content>
			<author>
				<name><![CDATA[goto80]]></name>
				<uri>https://chipmusic.org/goto80</uri>
			</author>
			<updated>2010-05-26T14:01:40Z</updated>
			<id>https://chipmusic.org/forums/post/24348/#p24348</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24338/#p24338"/>
			<content type="html"><![CDATA[<p>A good friend of mine released this at Syntax Demoparty last year.&nbsp; &nbsp;<a href="http://www.youtube.com/watch?v=0dRCPmoNd9s" target="_blank">http://www.youtube.com/watch?v=0dRCPmoNd9s</a></p><p>Think of it as &quot;Vectorised voice&quot; system which operates on two of the sid channels and defies what a C64 can do.&nbsp; The irony is that it takes a multi processor PC ages to actually generate the data before it hits the C64!&nbsp; (good old brute force)&nbsp; I&#039;m talking to ALIH about actually doing a recording in a studio with proper mics and compressors and see how good we can get it to sound:</p><p>In his notes:<br />( see: <a href="http://noname.c64.org/csdb/release/?id=84155&amp;show=notes" target="_blank">http://noname.c64.org/csdb/release/?id= &#133; show=notes</a> )<br /><em><br />&quot;The music is a cover of Hoobastank&#039;s &quot;My Turn&quot; from the album For(n)ever. ...&nbsp; Speech sounds on a c64 - one channel is the carrier, which is the frequency of the speaking voice, and one is the modulator, which is a ring modulation, sync, or both. If you&#039;re Agemixer, filter banks are also involved <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />.&nbsp; In any case, the codec used here works kind of like that. I use a phase vocoder (that I suspect has an occasional bug!) to get the base pitch of the tone, and then try different modulation frequences until I find the closest match (based on the magnatude portion of an FFT calculation). If people are interested, I will release this tool at some point. </em></p><p><em>I have a parameter in that which controls how often the sid is updated. I did 25fps to make everything fit into ram. .... So in order to get intelligable output, I ended up dealing with five parameters - two voice frequencies of eight bits each, two volumes of four bits each, a waveform of three bits ($11,$21,$41,$81) for the carrier channel and a modulation type of two bits (1 bit ring, 1 bit sync) for the modulator channel. This gets compressed into four bytes per updated frame. The instrumental part of the song was done in a single track in ninjatracker 1.02 (I think 1.02), then patched the player to only play a sid channel, mostly because the rotozoom part relies on a music player of no more than 12 rasterlines to achieve 50fps. Ninja takes 4 rasterlines, and voice player takes 7. There really is no excuse for it taking 7 rasterlines other than some shitty, shitty code on my part.</em></p><p><em>The replayer code has a couple of major points of shittiness, the most obvious one being the classic problem for anyone who does sid programming - you&#039;ll notice that I said that I needed to set two volumes.... so obviously you can&#039;t fucking do that <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" />. Quick sid theory lesson for those not initiated: there is a &quot;feature&quot; in the sid where you can change teh sustain _down_, but not _up_ without a retrigger. You can do this after having the ADSR at zero for three cycles or so (might have been five, i forget now), which is pretty inaudable. But, the fastest attack is 12ms or so, which is half a frame, whcih causes a nice audable click. I originally had the filters turned on to attempt to deal with that, but I actually _forgot_ to turn them back on after turning them off for testing reasons.&nbsp; But net result is that you end up with something that is vaugely in the right direction of there, but obviously not acutally totally brilliant, due to a combination of bugs and stupidity on my part. But I still thought it sounded cool, and some of the other people I showed it to thought that it sounded cool, and besides, I was already committed <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" />. I think it&#039;s one of those like/hate things again. </em></p><p><em>But back on topic, once I&#039;ve turned the sample data into sid data, i cut it up into blocks and stream it from the disk into a 4k ring buffer from the loader routine. So you end up with code that looks like:</em></p><p><em>loadPart:<br />while ringBuffer needs data:<br />loadMusic<br />loadPart<br />while ringBuffer needs data:<br />loadMusic</em></p><p><em>in an effort to try and keep that buffer nice and full. And it mostly works... i mean, for obviously small values of &quot;works&quot;. But it also puts some stress on the loading times, which is not something I considered until I wrote the ringbuffer code at 5am on satuday morning, and realised that all of my loading times doubled.&quot;<br /></em></p><p>So there we go - something of a break though in speech synth on C64 ;-)&nbsp; From here in Australia!</p>]]></content>
			<author>
				<name><![CDATA[cTrix]]></name>
				<uri>https://chipmusic.org/cTrix</uri>
			</author>
			<updated>2010-05-26T11:22:46Z</updated>
			<id>https://chipmusic.org/forums/post/24338/#p24338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24329/#p24329"/>
			<content type="html"><![CDATA[<p>There&#039;s not that many speech synthesizers on C64 where you can fully control what it says, afaik. SAM has a nice interface to it, in Dalek Speech. By accident, I posted something about speech synthesis at Chipflip a while back, and there&#039;s some links scattered around there: <a href="http://chipflip.wordpress.com/2010/03/29/speech-synthesis/" target="_blank">http://chipflip.wordpress.com/2010/03/2 &#133; synthesis/</a></p><p>And then there&#039;s for example <a href="http://noname.c64.org/csdb/release/?id=40227" target="_blank">http://noname.c64.org/csdb/release/?id=40227</a> &amp; <a href="http://noname.c64.org/csdb/release/?id=88354" target="_blank">http://noname.c64.org/csdb/release/?id=88354</a> where you can control some stuff. The best one in this category is probably <a href="http://noname.c64.org/csdb/release/?id=44096" target="_blank">http://noname.c64.org/csdb/release/?id=44096</a></p><p>Would be great to hear your friend&#039;s work!</p>]]></content>
			<author>
				<name><![CDATA[goto80]]></name>
				<uri>https://chipmusic.org/goto80</uri>
			</author>
			<updated>2010-05-26T09:22:22Z</updated>
			<id>https://chipmusic.org/forums/post/24329/#p24329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Commodore Speech synthesis]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/24315/#p24315"/>
			<content type="html"><![CDATA[<p>SAM is on most machines iirc, it&#039;s short for Software Automatic Mouth, see the c64 version here: <a href="http://noname.c64.org/csdb/release/?id=42843." target="_blank">http://noname.c64.org/csdb/release/?id=42843.</a><br />As of recent years more c64 composers have experimented with it, not by using SAM, but by using their tracker of choice. <br />(e.g. Jammer: <a href="http://noname.c64.org/csdb/release/?id=38922" target="_blank">http://noname.c64.org/csdb/release/?id=38922</a> or randall: <a href="http://noname.c64.org/csdb/release/?id=38792" target="_blank">http://noname.c64.org/csdb/release/?id=38792</a> or hein: <a href="http://noname.c64.org/csdb/sid/?id=13907)." target="_blank">http://noname.c64.org/csdb/sid/?id=13907).</a><br />But this is by far not complete.. we better wait for goto80 <img src="https://chipmusic.org/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Sander von Focus]]></name>
				<uri>https://chipmusic.org/Sander+von+Focus</uri>
			</author>
			<updated>2010-05-26T06:49:45Z</updated>
			<id>https://chipmusic.org/forums/post/24315/#p24315</id>
		</entry>
</feed>
