Using SCP (serial control protocol) with Speakjet
TonyA
Posts: 226
Hi,
I am trying to learn how to use serial control protocol to control the sepakjet chip. They give some info in the maunual but it's very vague on how to use this info in an actual program.
Example:
To write a value of 500 to the first oscillator and set its value to 16.
Send "\0"
Send "\8J" (set address to envelope control)
Send "0N" (set envelope control to zero)
Send "1J"
Send "500N"
Send "11J"
SEnd "16N"
What is this "Send" command, is it the same as serout?
Thanks for any info,
TonyA
I am trying to learn how to use serial control protocol to control the sepakjet chip. They give some info in the maunual but it's very vague on how to use this info in an actual program.
Example:
To write a value of 500 to the first oscillator and set its value to 16.
Send "\0"
Send "\8J" (set address to envelope control)
Send "0N" (set envelope control to zero)
Send "1J"
Send "500N"
Send "11J"
SEnd "16N"
What is this "Send" command, is it the same as serout?
Thanks for any info,
TonyA
Comments
Yes, I just found an old post, someone asking exactly what I am. The code there should help a lot. I wish there were more examples of this though.
If anyone can refer me to some examples it would be greatly appreciated. Thanks again.
Tony A
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
That's great. Thanks.
Why did you lose interest in it? I am very curious to know what your thoughts are.
It's like someone came up with this idea and then dropped it.
(Do you know of other sound/synth chips that might be easier to use?)
Thanks again,
Tony
Post Edited (TonyA) : 9/28/2005 3:25:38 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Personally, I'd skip the Basic Stamp for a bit, hook up your PC to the SpeakJet,
get the SJ manual out, and start tinkering directly (with appropriate RS-232 conversions
between the SJ and your PC). Once you get it to do what you want, or close enough,
then start the programming of the BS2. Go through JonW's examples. I'll be glad to
help, if you have questions.
There are a some folks on the SpeakJet Yahoo group that have built rather elaborate
synthesizers with the SJ. Persual through the archives there may turn up some contacts
and websites.
I s'pose, if someone scrapped the voice synthesis portion of the SJ, a multi-timbral
synthesizer would be easily possible, if I understand what JonW was expecting. Still, I
like the SJ for what I thought it was intended, a voice synthesizer as opposed to something
that would go act as musical instrument. The fact that the SJ is readily understandable as
a voice synth. is quite amazing given that it's an off-the-shelf PIC processor. I've really
enjoyed tinkering with it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Rusty-
--
Rusty Haddock = KD4WLZ = rusty@fe2o3.lonestar.org
**Out yonder in the Van Alstyne (TX) Metropolitan Area**
Microsoft is to software what McDonalds is to gourmet cooking
Thanks for the info, I appreciate it. I'll start with the pc and sj, then go on to the BS2 and sj using Jon's example. I'm starting to undestand it now.
I thought the sj would make a good experimental synth. I'm always looking for other chips that can be controlled with a microprocessor.
Thanks again,
Tony A
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Yeah, I'm starting to see that. I know it's not really meant for making a musical synth.
Do you know of any other synth chips that would work well with the BS2?
Thanks again,
Tony A
http://www.xgamestation.com/products/xgs_me/downloads/bu8763fv.pdf
Edit: In reading through the specs, it does have envelope control either...· Will keep looking, I guess.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Post Edited (Jon Williams (Parallax)) : 9/28/2005 4:48:23 PM GMT