Jump to content
IGNORED

Out of the Pack - SAM sings a round


RSS Bot

Recommended Posts

<p>There was a Korg microKorg under the Christmas tree last year; only because my wife wouldn't let me set it up in November when it was purchased. I did manage to get the manual out of the box before it was wrapped. So for a whole month I read the manual and watched youTube videos.<br /> <br />The microKorg has a vocoder. This suggested that the audio output from an Atari running SAM could be hooked up to the line-in on the Korg. Then the Korg could modifiy, modulate, or magically manipulate the signal to yet unheard sonic stimulations.<br /> <br />Singing has never been one of SAM's strengths. But if auto-tune can make SAM sound this good then maybe I could have been a pop star. The score for "Row Row Row" was in the book "The Musical Atari" by Hal Glicksman, with music arranged by Laura Goodfriend (cc1984) and it seemed like a good place to start the experiments. The factory preset (A-85 Vocoder Chorus) was used to modify the input. I was a bit supprised.<br /> <br /><br /> <br />In case you can't remember what SAM sounds like, the input to the vocoder is in this next file.<br /> <br /><br /> <br />This was fun but I can't see SAM being my vocalist of choice. There is a chance that a few program changes and the use of the speed control POKE could change my mind. <br /> <br /> <br /> <br />How it was done.<br /> <br />The score was programmed into MIDI MUSIC SYSTEM software. Voice 1 was the music and was sent to the Korg as MIDI data to play. Voice 2 was programmed to output timing notes on channel 3 to an Arduino. The Arduino would then change the logic state on the STRIG(0) to let the Atari know it should speak the next word. The MIDI data flowed from the MIDIMax interface to the Korg and out the THRU port to the Arduino.<br /> <br />The song was recorded twice. Once starting at middle C and then an octave lower. Then they were offset to produce the round.<br /> <br />I have used the arduino interface a couple of times in the past to trigger events. This is just one optocoupler hooked up between the Arduino and Joystick port trigger.<br /> <br /><a href='http://atariage.com/forums/blog/572/entry-14044-sam-raaks-yuw/'class='bbc_url' title=''>http://atariage.com/forums/blog/572/entry-14044-sam-raaks-yuw/</a><br /> <br />The Arduino runs this program to read the NOTEON data and set the trigger<br /> <br />/* SAM Trigger<br /> * This program accepts MIDI data to sequence SAM voice.<br /> * <br /> * When a NOTE ON command for the sellected channel is<br /> * detected, the joystick trigger is turned on for<br /> * 50 milliseconds to trigger the next word to be said.<br /> */<br />int trigger = 3;<br />byte midiData = 0;<br />byte noteOnCommand = 146; //number representing channel and Command<br /> // 144(noteon)+2(channel 3)<br /> <br />void setup() {<br /> pinMode(trigger,OUTPUT);<br /> digitalWrite(trigger,LOW);<br /> Serial.begin(31250);<br />}<br /> <br />void loop() {<br /> while(Serial.available()<1){}//wait for data<br /> midiData = Serial.read();<br /> if (midiData == noteOnCommand){ // Note On - Channel<br /> digitalWrite(trigger,HIGH);<br /> delay(50);// give atari a chance to read joystick<br /> }<br /> else{<br /> digitalWrite(trigger,LOW); // reset for next word<br /> }<br />}<br /> <br /> <br />The SAM-Atari runs the following.<br /> <br />1 REM SAM ROW VOICE TRIGGERED BY MIDI<br />2 REM ---kPack 2019<br />3 REM Arduino monitors midi input and<br />4 REM sets trigger when word is to be<br />6 REM said. Audio output from Atari<br />7 REM is connected to line-in on the<br />8 REM microKorg.<br />10 DIM SAM$(255):SAM=8192<br />15 POKE 8208,50<br />20 RESTORE 1000:TRAP 20<br />30 READ SAM$<br />35 IF STRIG(0)=1 THEN 35<br />40 A=USR(SAM)<br />50 IF STRIG(0)=0 THEN 50<br />60 GOTO 30<br />70 REM<br />1000 DATA ROHW,ROHW,ROHW<br />1030 DATA YOHWR,BOH4T5<br />1040 DATA JEH5NT,LIY<br />1050 DATA DAWN1<br />1060 DATA DHAH4<br />1070 DATA STRIY4MM<br />1080 DATA MEHERAXLIY<br />1090 DATA MEHERAXLIY<br />1100 DATA MEHERAXLIY<br />1110 DATA MEHERAXLIY<br />1120 DATA LAY4F<br />1130 DATA IH4SS<br />1140 DATA BAA4T<br />1150 DATA AH4,DRIY4MM<br /> <br /> <br />The tracks from the microKorg were used as they were recorded. No additional processing was done with Audacity on the PC.<br /> <br />The ATR contained in the zip file is a single density 2.5 DOS disk. The Autorun file is SAM . The disk also contains a test program(VOCODER.BAS) used to let SAM speak the words without the timing. This was used when experimenting with the voice programing on the KORG. The MUS file is for use with the MIDI MUSIC SYSTEM.<br /> <br /><br /> <br />These photos were taken to remind future me of the setup before I got organized.<br /> <br /><br /> <br /><br /> <br /><br /> <br /></p><div id='attach_wrap' class='rounded clearfix'>

<h4>Attached thumbnail(s)</h4>

<ul>

 

<li class=''>

<a class='resized_img' rel='lightbox[15478]' id='ipb-attach-url-618746-0-40802200-1549229664' href="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-06761800-1549228170.jpg"title="Arduino interface.JPG - Size: 552.96KB, Downloads: 0"><img src="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-06761800-1549228170_thumb.jpg" id='ipb-attach-img-618746-0-40802200-1549229664' style='width:500;height:331' class='attach' width="500" height="331" alt="Attached Image" /></a>

 

</li>

 

 

<li class=''>

<a class='resized_img' rel='lightbox[15478]' id='ipb-attach-url-618747-0-40816000-1549229664' href="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-77720700-1549228208.jpg"title="Hardware.JPG - Size: 1.3MB, Downloads: 0"><img src="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-77720700-1549228208_thumb.jpg" id='ipb-attach-img-618747-0-40816000-1549229664' style='width:500;height:375' class='attach' width="500" height="375" alt="Attached Image" /></a>

 

</li>

 

 

<li class=''>

<a class='resized_img' rel='lightbox[15478]' id='ipb-attach-url-618748-0-40827000-1549229664' href="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-85481900-1549228254.jpg"title="MMS.JPG - Size: 1.21MB, Downloads: 0"><img src="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-85481900-1549228254_thumb.jpg" id='ipb-attach-img-618748-0-40827000-1549229664' style='width:500;height:375' class='attach' width="500" height="375" alt="Attached Image" /></a>

 

</li>

 

 

<li class=''>

<a class='resized_img' rel='lightbox[15478]' id='ipb-attach-url-618749-0-40837600-1549229664' href="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-83179400-1549228299.jpg"title="Sam Computer.JPG - Size: 1.06MB, Downloads: 0"><img src="http://www.atariage.com/forums/uploads//monthly_02_2019/blogentry-37655-0-83179400-1549228299_thumb.jpg" id='ipb-attach-img-618749-0-40837600-1549229664' style='width:500;height:375' class='attach' width="500" height="375" alt="Attached Image" /></a>

 

</li>

 

</ul>

</div><div id='attach_wrap' class='rounded clearfix'>

<h4>Attached File(s)</h4>

<ul>

 

<li class='clear'>

<a href="http://atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_id=618743"title="Download attachment"><img src="http://atariage.com/forums/public/style_extra/mime_types/music.gif" alt="Attached File" /></a>

 <a href="http://atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_id=618743"title="Download attachment">Sam ROW- vocoder input.mp3</a> <span class='desc'><strong>(847.14KB)</strong></span>

<br /><span class="desc info">Number of downloads: 0</span>

</li>

 

 

<li class='clear'>

<a href="http://atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_id=618744"title="Download attachment"><img src="http://atariage.com/forums/public/style_extra/mime_types/music.gif" alt="Attached File" /></a>

 <a href="http://atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_id=618744"title="Download attachment">Sam ROW.mp3</a> <span class='desc'><strong>(1.66MB)</strong></span>

<br /><span class="desc info">Number of downloads: 0</span>

</li>

 

 

<li class='clear'>

<a href="http://atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_id=618750"title="Download attachment"><img src="http://atariage.com/forums/public/style_extra/mime_types/zip.gif" alt="Attached File" /></a>

 <a href="http://atariage.com/forums/index.php?app=core&module=attach&section=attach&attach_id=618750"title="Download attachment">SAMROW.zip</a> <span class='desc'><strong>(15.42KB)</strong></span>

<br /><span class="desc info">Number of downloads: 0</span>

</li>

 

</ul>

</div>

 

http://atariage.com/forums/blog/572/entry-15478-sam-sings-a-round/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...