tag:blogger.com,1999:blog-5983110881018172452.post6849387988578234194..comments2023-03-25T02:55:49.760-06:00Comments on Bot Thoughts: SP0256-AL2 Speech With ArduinoMike Shimniokhttp://www.blogger.com/profile/17602015624941667574noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-5983110881018172452.post-44079210766246699612017-11-11T22:46:19.301-07:002017-11-11T22:46:19.301-07:00I finally hooked my chip up after 30+ years and br...I finally hooked my chip up after 30+ years and broke the 3.12MHz crystal. I used a pic12f683's PWM output running @ 3.0 MHz and ran it into a resistive voltage divider through a cap in to the SPO256 xtal in. It works fine. It also runs from a 4MHz crystal I have. Pitch is raised a bit. Just so people know it's not that critical. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-34618995709851083142016-12-06T23:01:09.386-07:002016-12-06T23:01:09.386-07:00Woah that is great! Would be super sweet to get pi...Woah that is great! Would be super sweet to get pitch control at long last!!Mike Shimniokhttps://www.blogger.com/profile/17602015624941667574noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-50395501013924204972016-12-04T16:19:11.869-07:002016-12-04T16:19:11.869-07:00I just found a possible answer to the voice pitch ...I just found a possible answer to the voice pitch issue: http://www.linear.com/product/LTC6900<br /><br />It's a resistor-controlled variable oscillator. It ranges from 1kHz to 20MHz (that should get you a REAL low bass voice). They say that it can be a direct replacement for a fixed crystal oscillator, so I thought you could build in a small circuit to replace X2. <br /><br />I also found a SPI programmable variable resistor IC MCP4131 (https://www.youtube.com/watch?v=_dUQOTemSJQ) that could be used to drive this variable oscillator so you can program the Arduino to change the pitch whenever you want (even while it is speaking).Michael Earlshttps://www.blogger.com/profile/08283867433217731455noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-50063857101372239622016-11-30T13:48:23.793-07:002016-11-30T13:48:23.793-07:00I, too built that project on the C-64. My memory o...I, too built that project on the C-64. My memory of the pitch was that it was dependent on the crystal used (3.579 in your case). <br /><br />Since I am just getting back into electronics after 30 years, I don't understand how this might be changed by a microcontroller. I remember the article explaining that the original datasheet that came with the chip called for a 3.12 MHz crystal, which gave it a lower pitch than the 3.57 indicated in the article. The article explained that the 3.12 MHz crystal was rare (at least back then), so they suggested the 3.57 since you could just pick it off the shelf at Radio Shack.<br /><br />I have this chip on a breadboard packed away in a box somewhere, but I haven't seen it since I moved last (I have moved three times since I packed it away).<br /><br />I just found the SP0256-AL2 chip paired with a 3.12 MHz crystal on eBay and bought it without delay.<br /><br />I know that I can use a software solution these days, but I want that retro feel.Michael Earlshttps://www.blogger.com/profile/08283867433217731455noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-91633741561290793642014-01-05T11:20:57.976-07:002014-01-05T11:20:57.976-07:00My guess from a brief scan is that your ROM conten...My guess from a brief scan is that your ROM contents would have pitch associated with each phoneme. So the cartridge probably switches between ROMs somehow. (Or switches ROM MSB address line), one set of phonemes with low, one set with high voice. You could conceivably have a massive enough ROM to store phonemes at, say 8 or 16 or 32 pitches and control the most significant address lines to the ROM by the MCU to control pitch... at least for an entire word. If you're tricky you might be able to find a way to do it per phoneme.Mike Shimniokhttps://www.blogger.com/profile/17602015624941667574noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-86622328815013203242014-01-05T11:14:17.543-07:002014-01-05T11:14:17.543-07:00Fantastic! I just got a correct xtal from a guy o...Fantastic! I just got a correct xtal from a guy on Parallax forums and also got a tip to search for the TTS chip on ebay, so I found one, bought it, and hoping to give it a go one of these days soon. :)Mike Shimniokhttps://www.blogger.com/profile/17602015624941667574noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-79705398694004420372013-12-31T17:21:16.754-07:002013-12-31T17:21:16.754-07:00Thanks very much Michael, for this circuit and cod...Thanks very much Michael, for this circuit and code! I pulled out my 30 year old SP0256-AL2 also that was sitting in my parts bin, and created this Hello World build from your blog. <br />GlennGlenn Mossyhttps://www.blogger.com/profile/01268589865322891101noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-42551135889829392292013-11-14T02:46:24.391-07:002013-11-14T02:46:24.391-07:00I have found a documentation about SP0256 instruct...I have found a documentation about SP0256 instructions, where I am able to pitch the voice through a 2-Bit Mode register, which should inside of the speech chip:<br /><br />http://spatula-city.org/~im14u2c/intv/tech/sp0256_instr_set.html<br /><br />so, I am not sure, could that mode set only via serial in connection?<br /><br />greetsJessienoreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-65208210516935764662013-11-08T06:25:40.550-07:002013-11-08T06:25:40.550-07:00But there must be a way to use it in this way. Is ...But there must be a way to use it in this way. Is there any information how they managed the low speechout. It there a way to use the other ICs or a way to pitch down or up the voice? Thanks for any information.Jessienoreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-36874974444745919162013-11-06T11:32:07.149-07:002013-11-06T11:32:07.149-07:00Unfortunately no; I surmise that was accomplished ...Unfortunately no; I surmise that was accomplished via an external ROM in the cartridge based on brief web searching, though I'm not positive.Mike Shimniokhttps://www.blogger.com/profile/17602015624941667574noreply@blogger.comtag:blogger.com,1999:blog-5983110881018172452.post-72693041949663845322013-11-05T14:37:39.530-07:002013-11-05T14:37:39.530-07:00is it possible to switch between low and high voic...is it possible to switch between low and high voice, like it had work with currah speech 64 cartridge?Jessienoreply@blogger.com