<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[ChipMusic.org - arduino boy - lsdj master sync problem]]></title>
		<link>https://chipmusic.org/forums/topic/6541/arduino-boy-lsdj-master-sync-problem/</link>
		<description><![CDATA[The most recent posts in arduino boy - lsdj master sync problem.]]></description>
		<lastBuildDate>Fri, 30 Mar 2012 21:21:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: arduino boy - lsdj master sync problem]]></title>
			<link>https://chipmusic.org/forums/post/97313/#p97313</link>
			<description><![CDATA[<b><i>KODEK says:</i></b><p>IT WORK$ !!1 A W E S O M E ! ! !&nbsp; </p><p>THANK YOU MA$TER !&nbsp; :&nbsp; )</p>]]></description>
			<pubDate>Fri, 30 Mar 2012 21:21:11 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/97313/#p97313</guid>
		</item>
		<item>
			<title><![CDATA[Re: arduino boy - lsdj master sync problem]]></title>
			<link>https://chipmusic.org/forums/post/97294/#p97294</link>
			<description><![CDATA[<b><i>Trash80 says:</i></b><p>No. Arduinoboy sends a note # that corresponds to the row # you started on when the clock starts (when you hit start) on MIDI channel 16. I should of had that as a option and not always on, for dumb devices that respond to all MIDI channels. You can comment out that code or remove that code, it&#039;s 3 lines in the &quot;Mode_LSDJ_MasterSync&quot; tab when you open up the arduinoboy code in the arduino software. At the bottom of the file you&#039;ll see this:</p><div class="codebox"><pre><code> /*
  sendMidiClockSlaveFromLSDJ waits for 8 clock bits from LSDJ,
  sends the transport start command if sequencer hasnt started yet,
  sends the midi clock tick, and sends a note value that corrisponds to
  LSDJ&#039;s row number on start (LSDJ only sends this once when it starts)
 */
void sendMidiClockSlaveFromLSDJ()
{
  if(!countGbClockTicks) {      //If we hit 8 bits
    if(!sequencerStarted) {         //If the sequencer hasnt started
      Serial.write((0x90+memory[MEM_LSDJMASTER_MIDI_CH])); //Send the midi channel byte
      Serial.write(readGbSerialIn);                //Send the row value as a note
      Serial.write(0x7F);                          //Send a velocity 127
      
      Serial.write(0xFA);     //send MIDI transport start message 
      sequencerStart();             //call the global sequencer start function
    }
    Serial.write(0xF8);       //Send the MIDI Clock Tick
    
    countGbClockTicks=0;            //Reset the bit counter
    readGbSerialIn = 0x00;                //Reset our serial read value
    
    updateVisualSync();
  }
  countGbClockTicks++;              //Increment the bit counter
 if(countGbClockTicks==8) countGbClockTicks=0; 
}</code></pre></div><p>change it to this:<br /></p><div class="codebox"><pre><code> /*
  sendMidiClockSlaveFromLSDJ waits for 8 clock bits from LSDJ,
  sends the transport start command if sequencer hasnt started yet,
  sends the midi clock tick, and sends a note value that corrisponds to
  LSDJ&#039;s row number on start (LSDJ only sends this once when it starts)
 */
void sendMidiClockSlaveFromLSDJ()
{
  if(!countGbClockTicks) {      //If we hit 8 bits
    if(!sequencerStarted) {         //If the sequencer hasnt started
      Serial.write(0xFA);     //send MIDI transport start message 
      sequencerStart();             //call the global sequencer start function
    }
    Serial.write(0xF8);       //Send the MIDI Clock Tick
    
    countGbClockTicks=0;            //Reset the bit counter
    readGbSerialIn = 0x00;                //Reset our serial read value
    
    updateVisualSync();
  }
  countGbClockTicks++;              //Increment the bit counter
 if(countGbClockTicks==8) countGbClockTicks=0; 
}</code></pre></div><p>As far as battery vs usb vs wallwart, that shouldn&#039;t matter, as long as the battery or wallwart is supplying enough power.</p>]]></description>
			<pubDate>Fri, 30 Mar 2012 17:25:44 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/97294/#p97294</guid>
		</item>
		<item>
			<title><![CDATA[Re: arduino boy - lsdj master sync problem]]></title>
			<link>https://chipmusic.org/forums/post/97214/#p97214</link>
			<description><![CDATA[<b><i>KODEK says:</i></b><p>oh im running dmg from wall adapter , maybe i should try to run it with batteries //<br />the signals it sends is not actually normal midi notes - - -but sum really weird low arps or something ; D i call them acid farts haha</p><p>++ another weird thing is that arduinoboy only works propertly when powered from USB -- if i power it from AC adapter the synch goes offbeat after first beats </p><br /><p>dafuq ? maybe i should reinstall firmware ?</p>]]></description>
			<pubDate>Fri, 30 Mar 2012 07:32:13 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/97214/#p97214</guid>
		</item>
		<item>
			<title><![CDATA[Re: arduino boy - lsdj master sync problem]]></title>
			<link>https://chipmusic.org/forums/post/97212/#p97212</link>
			<description><![CDATA[<b><i>Timbob says:</i></b><p>I did notice that the arduinoboy does send some random notes and program changes every now and then if it&#039;s in midi-out mode. Haven&#039;t had that problem with master sync tho.</p><p>It seems to work best when the batteries of my DMG are completely full. Somehow that generates less errors.</p><p>Other than that, I&#039;m surprised that it even sends note data in mastersync mode. Shouldnt do that...</p>]]></description>
			<pubDate>Fri, 30 Mar 2012 07:22:20 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/97212/#p97212</guid>
		</item>
		<item>
			<title><![CDATA[Re: arduino boy - lsdj master sync problem]]></title>
			<link>https://chipmusic.org/forums/post/97202/#p97202</link>
			<description><![CDATA[<b><i>KODEK says:</i></b><p><a class="postimg" href="http://okayface.com/okay-face.jpg" title="http://okayface.com/okay-face.jpg" id="forum_image_22736551"><img src="http://okayface.com/okay-face.jpg" /></a></p>]]></description>
			<pubDate>Fri, 30 Mar 2012 06:19:22 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/97202/#p97202</guid>
		</item>
		<item>
			<title><![CDATA[arduino boy - lsdj master sync problem]]></title>
			<link>https://chipmusic.org/forums/post/97097/#p97097</link>
			<description><![CDATA[<b><i>KODEK says:</i></b><p>y0 // </p><p>i built arduino boy for synching (LSDj master sync)&nbsp; my gameboy with roland mc-303 <br />for some time it worked perfectly .. now it sends WIERD MIDI NOTE messages to groovebox and it plays low notes randomly -- same when trying to sync with yamaha qy70 // but midi clock is in sync and working</p><p>maybe someone had problem like this already ?</p><p><a class="postimg" href="http://2.bp.blogspot.com/-IzmElWP7Yzo/Tt5Y0DrpvOI/AAAAAAAAD-w/ScTbim5cH7w/s1600/276253_Papel-de-Parede-Meme-Jackie-Chan_1600x1200.jpg" title="http://2.bp.blogspot.com/-IzmElWP7Yzo/Tt5Y0DrpvOI/AAAAAAAAD-w/ScTbim5cH7w/s1600/276253_Papel-de-Parede-Meme-Jackie-Chan_1600x1200.jpg" id="forum_image_22335887"><img src="http://2.bp.blogspot.com/-IzmElWP7Yzo/Tt5Y0DrpvOI/AAAAAAAAD-w/ScTbim5cH7w/s1600/276253_Papel-de-Parede-Meme-Jackie-Chan_1600x1200.jpg" /></a></p>]]></description>
			<pubDate>Thu, 29 Mar 2012 20:02:26 +0000</pubDate>
			<guid>https://chipmusic.org/forums/post/97097/#p97097</guid>
		</item>
	</channel>
</rss>
