<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - NSF Sync w/ FamiSlayer]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/13101/"/>
	<updated>2016-05-15T03:08:57Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/13101/nsf-sync-w-famislayer/</id>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244060/#p244060"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>cyberic wrote:</cite><blockquote><p>Tahnks for your answer<br />But:<br />- When the rom loads, is the song started, or stopped? do I have to press start on the first controller ? (it would be great to have the status displayed on screen)<br />- The doc says &#039;Key presses on controller 2 act as the clock input, and will run the next step of the NSF&#039;. So what key is it?<br />Thx</p></blockquote></div><p>Here are my notes:<br />FamiSlayer V6.66:<br />&nbsp; &nbsp; Controller 2: <br />&nbsp; &nbsp; &nbsp; &nbsp; Start = Sync Pulse input, in play mode<br />&nbsp; &nbsp; Controller 1:<br />&nbsp; &nbsp; &nbsp; &nbsp; A = PAUSE/PLAY TOGGLE<br />&nbsp; &nbsp; &nbsp; &nbsp; B = STOP PLAYING<br />&nbsp; &nbsp; &nbsp; &nbsp; UP = INCREASE SONG#<br />&nbsp; &nbsp; &nbsp; &nbsp; Down = DECREASE SONG#<br />&nbsp; &nbsp; &nbsp; &nbsp; LEFT = REWIND - reset to the beginning of the current frame<br />&nbsp; &nbsp; &nbsp; &nbsp; RIGHT = FAST FWD - skip to the beginning of the next frame<br />&nbsp; &nbsp; &nbsp; &nbsp; START = RESTART SONG from&nbsp; the beginning <br />Believe that it boots in the Stop mode.&nbsp; So press A on pad1, then toggle Start on pad2. Think these are correct<br />yogi</p>]]></content>
			<author>
				<name><![CDATA[yogi]]></name>
				<uri>https://chipmusic.org/yogi</uri>
			</author>
			<updated>2016-05-15T03:08:57Z</updated>
			<id>https://chipmusic.org/forums/post/244060/#p244060</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244059/#p244059"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>cyberic wrote:</cite><blockquote><p>Tahnks for your answer<br />But:<br />- When the rom loads, is the song started, or stopped? do I have to press start on the first controller ? (it would be great to have the status displayed on screen)<br />- The doc says &#039;Key presses on controller 2 act as the clock input, and will run the next step of the NSF&#039;. So what key is it?<br />Thx</p></blockquote></div><p>Here are my notes:<br />FamiSlayer V6.66:<br />&nbsp; &nbsp; Controller 2: <br />&nbsp; &nbsp; &nbsp; &nbsp; Start = Sync Pulse input, in play mode<br />&nbsp; &nbsp; Controller 1:<br />&nbsp; &nbsp; &nbsp; &nbsp; A = PAUSE/PLAY TOGGLE<br />&nbsp; &nbsp; &nbsp; &nbsp; B = STOP PLAYING<br />&nbsp; &nbsp; &nbsp; &nbsp; UP = INCREASE SONG#<br />&nbsp; &nbsp; &nbsp; &nbsp; Down = DECREASE SONG#<br />&nbsp; &nbsp; &nbsp; &nbsp; LEFT = REWIND - reset to the beginning of the current frame<br />&nbsp; &nbsp; &nbsp; &nbsp; RIGHT = FAST FWD - skip to the beginning of the next frame<br />&nbsp; &nbsp; &nbsp; &nbsp; START = RESTART SONG from&nbsp; the beginning <br />Believe that it boots in the Stop mode.&nbsp; So press A on pad1, then toggle Start on pad2. Think these are correct<br />yogi</p>]]></content>
			<author>
				<name><![CDATA[yogi]]></name>
				<uri>https://chipmusic.org/yogi</uri>
			</author>
			<updated>2016-05-15T03:08:49Z</updated>
			<id>https://chipmusic.org/forums/post/244059/#p244059</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244058/#p244058"/>
			<content type="html"><![CDATA[<p>Thanks for your answer<br />But:<br />- When the rom loads, is the song started, or stopped? do I have to press start on the first controller ? (it would be great to have the status displayed on screen)<br />- The doc says &#039;Key presses on controller 2 act as the clock input, and will run the next step of the NSF&#039;. So what key is it?<br />Thx</p>]]></content>
			<author>
				<name><![CDATA[cyberic]]></name>
				<uri>https://chipmusic.org/cyberic</uri>
			</author>
			<updated>2016-05-15T00:38:00Z</updated>
			<id>https://chipmusic.org/forums/post/244058/#p244058</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244057/#p244057"/>
			<content type="html"><![CDATA[<p>you need at least 60 &#039;presses&#039; per second to play the NFS at it&#039;s native rate. So depending on the auto fire rate, the NFS is probable running at a&nbsp; VERY slow rate. If there is a second or two of silence at the start of the NSF, this could take minutes to get to the first sound. Try letting it run awhile with the autofire, if the NFS was compiled into the base code correctly, you should hear some sound at some point. Also make sure that you are triggering the right button on the correct pad.<br />yogi</p>]]></content>
			<author>
				<name><![CDATA[yogi]]></name>
				<uri>https://chipmusic.org/yogi</uri>
			</author>
			<updated>2016-05-15T00:33:05Z</updated>
			<id>https://chipmusic.org/forums/post/244057/#p244057</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244056/#p244056"/>
			<content type="html"><![CDATA[<p>you need at least 60 &#039;presses&#039; per second to play the NFS at it&#039;s native rate. So depending on the auto fire rate, the NFS is probable running at a&nbsp; VERY slow rate. If there is a second or two of silence at the start of the NSF, this could take minutes to get to the first sound. Try letting it run awhile with the autofire, if the NFS was compiled into the base code correctly, you should hear some sound at some point. Also make sure that you are triggering the right button on the correct pad.<br />yogi</p>]]></content>
			<author>
				<name><![CDATA[yogi]]></name>
				<uri>https://chipmusic.org/yogi</uri>
			</author>
			<updated>2016-05-15T00:32:58Z</updated>
			<id>https://chipmusic.org/forums/post/244056/#p244056</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/244054/#p244054"/>
			<content type="html"><![CDATA[<p>I just tried famislayer in nestopia emulator. I get no sound at all... <br />I know I am supposed to drive the clock with controller 2 button presses, but I tried with autofire on nestopia, and... no sound....<br />I have tested the same nsf successfully with vegaplay...<br />Do you have any hint?</p>]]></content>
			<author>
				<name><![CDATA[cyberic]]></name>
				<uri>https://chipmusic.org/cyberic</uri>
			</author>
			<updated>2016-05-14T22:29:25Z</updated>
			<id>https://chipmusic.org/forums/post/244054/#p244054</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/208331/#p208331"/>
			<content type="html"><![CDATA[<p>Oh my gosh I&#039;m stupid... sorry to bother everyone......</p>]]></content>
			<author>
				<name><![CDATA[Payday]]></name>
				<uri>https://chipmusic.org/Payday</uri>
			</author>
			<updated>2014-05-11T15:49:13Z</updated>
			<id>https://chipmusic.org/forums/post/208331/#p208331</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/208330/#p208330"/>
			<content type="html"><![CDATA[<p>So could you make one by exporting a famitracker?</p>]]></content>
			<author>
				<name><![CDATA[Payday]]></name>
				<uri>https://chipmusic.org/Payday</uri>
			</author>
			<updated>2014-05-11T15:45:48Z</updated>
			<id>https://chipmusic.org/forums/post/208330/#p208330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/208329/#p208329"/>
			<content type="html"><![CDATA[<p>Sorry <img src="https://chipmusic.org/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></content>
			<author>
				<name><![CDATA[Payday]]></name>
				<uri>https://chipmusic.org/Payday</uri>
			</author>
			<updated>2014-05-11T15:44:27Z</updated>
			<id>https://chipmusic.org/forums/post/208329/#p208329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/208327/#p208327"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Payday wrote:</cite><blockquote><p>Stupid question here.... what&#039;s an nsf. .....</p></blockquote></div><p><a href="http://en.wikipedia.org/wiki/NES_Sound_Format" target="_blank">http://en.wikipedia.org/wiki/NES_Sound_Format</a></p><p>Found this by googling &quot;what is a nsf nes&quot;</p>]]></content>
			<author>
				<name><![CDATA[MaxDolensky]]></name>
				<uri>https://chipmusic.org/MaxDolensky</uri>
			</author>
			<updated>2014-05-11T15:35:00Z</updated>
			<id>https://chipmusic.org/forums/post/208327/#p208327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/208326/#p208326"/>
			<content type="html"><![CDATA[<p>Oh wait, is it a nintendo sound file?</p>]]></content>
			<author>
				<name><![CDATA[Payday]]></name>
				<uri>https://chipmusic.org/Payday</uri>
			</author>
			<updated>2014-05-11T15:33:21Z</updated>
			<id>https://chipmusic.org/forums/post/208326/#p208326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/208325/#p208325"/>
			<content type="html"><![CDATA[<p>Stupid question here.... what&#039;s an nsf. .....</p>]]></content>
			<author>
				<name><![CDATA[Payday]]></name>
				<uri>https://chipmusic.org/Payday</uri>
			</author>
			<updated>2014-05-11T15:28:06Z</updated>
			<id>https://chipmusic.org/forums/post/208325/#p208325</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/201585/#p201585"/>
			<content type="html"><![CDATA[<p>Hmmm, whilst poking around and experimenting, I&#039;ve come to discover that all the nanoloop sync devices on the web are using SI pin 3 for syncing with nanoloop. yet the pulse that Famislayer is using comes out of the SO pin 2. I&#039;m not sure how that will affect my plans to move forward but it most likely means the Midi to Nanoloop sync circuit I had in mind wont work correctly. Still waiting on some parts to arrive so I&#039;ll have more details when I&#039;ve gotten to actually solder something up and test it. </p><p>At the very least I&#039;ve come up with the base for my circuit and heres a quick preview of it. </p><p><a class="postimg" href="http://i77.photobucket.com/albums/j43/frightendghoul/FamislayerSync.png" title="http://i77.photobucket.com/albums/j43/frightendghoul/FamislayerSync.png" id="forum_image_67268109"><img src="http://i77.photobucket.com/albums/j43/frightendghoul/FamislayerSync.png" /></a></p><p>Am I right in assuming that the pulse being sent by pin2 (SO) is a 12ppqn signal? when I slow the tempo right down to 40 in lsdj and stare at the LED blinking, it looks like for every 2 ticks inside a table I get one blink on the led. I&#039;m still unsure if the even number ticks (0, 2, 4, 6, etc.) are a low or a high. If it is a 12ppqn pulse being used, maybe some of you avr guys could code a simple MIDI to 12ppqn pulse generator for me? I might be thinking the wrong way as I often do, but I&#039;m assuming the signals from a raw Midi cable aren&#039;t 5v logic.</p><p> hmmmm.... I wish I knew more about midi, could it be possible to just divide it using cmos logic in some way? Would just opto isolating and feeding it into a divider work?</p><p>P.S. I hooked up lsdj to pin 13 on the shift regiter and it behaves exactly like hooking straight up to the Data Out wire. I might just abandon the 4021 if it becomes unnecessary. Going to proceed as if I need it though just in case.</p>]]></content>
			<author>
				<name><![CDATA[TylerBarnes]]></name>
				<uri>https://chipmusic.org/TylerBarnes</uri>
			</author>
			<updated>2014-02-22T08:52:19Z</updated>
			<id>https://chipmusic.org/forums/post/201585/#p201585</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/201502/#p201502"/>
			<content type="html"><![CDATA[<p>Ah, that is what I was afraid of <img src="https://chipmusic.org/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" />. Ok. Well I&#039;m going to be building a control box for my two NES&#039; and I&#039;ll definitely make a post here when it&#039;s done. Currently waiting on parts to arrive, but if any one want&#039;s to play along with me or maybe even correct me on any assumption I may have wrong heres my plan....</p><p>I will be taking one controller pcb and adding a second cable to fit into both &#039;player 2&#039; jacks on two NES&#039;. I&#039;m then going to be building a MIDI to nanoloop clock converter (decade counter method) and connecting it to the shift register. Will also have just a simple cmos clock (40106) that I can switch to incase I don&#039;t have or don&#039;t want to use midi. Also it wouldn&#039;t be complete without a DMG cable or link port on there <img src="https://chipmusic.org/forums/img/smilies/wink.png" width="15" height="15" alt="wink" />. The box will take power from the controller&#039;s 5v rail. Oh, I forgot to mention I&#039;ll be omitting the 5v wire from the second controller cable, but keeping the grounds connected so the two incoming voltages don&#039;t conflict. At least i THINK thats what I am spose to do. not 100% on that one. </p><p>Thats the base idea. Been brainstorming &#039;bout some bells and whistles like a soft latch for toggling between half time or normal speed. Thinking just a cmos divider or binary counter will do the work and MOSFET&#039;s will do my latching.</p><p>Edit: Oooo, I just had a better idea. By grabbing a 4021 and some pullup resistors I can just build a nes controller right into my circuit. I&#039;d first connect the Clock, Latch, Data, 5v, and GND wires to there apropriate places on the 4021, and then pull up P1-P8 to 5v. then have the nanoclock pulling P5 (pin 13 aka &#039;start&#039;) to ground thus activating the &#039;button&#039;. Which leads me to another question. Looking at the schematic it looks like a key is activated with ground since all the pins are pulled high and every button is tied to ground on one side. If the LSDj&#039;s notes are starting on an upward rising edge wouldn&#039;t it be ever so slightly off time? I&#039;m guessing it&#039;s probably negligible but I think it interesting to note non the less.</p>]]></content>
			<author>
				<name><![CDATA[TylerBarnes]]></name>
				<uri>https://chipmusic.org/TylerBarnes</uri>
			</author>
			<updated>2014-02-21T03:10:53Z</updated>
			<id>https://chipmusic.org/forums/post/201502/#p201502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: NSF Sync w/ FamiSlayer]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/201471/#p201471"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>TylerBarnes wrote:</cite><blockquote><p>I&#039;ve hooked up a simple cmos clock up to the controller and found that hooking it straight up to the brown and yellow wires works. I couldn&#039;t really tell what pin on the shift register you had the clip connected to, and while prodding around I found the out wire (yellow) made it work for me.</p></blockquote></div><p>You want the &#039;Start&#039; button pin on the shift register, here is the relevant part of the FamiSlayer source:</p><div class="codebox"><pre><code>LDA b_state2    ;GET BUTTON STATE OF CONTROLLER 2
AND #%00001000  ;CHECK IF TRIGGER BUTTON IS PRESSED
BEQ chk_joy     ;IF TRIGGER BUTTON NOT PRESSED THEN SKIP AND READ CONTROLLER 1
JSR PlayAddy    ;RUN NEXT STEP OF NSF</code></pre></div><p>The yellow wire is the &#039;data&#039; signal being sent to the NES, so if you are sending a continuous clock down that wire then it will appear to the NES as if every button on the controller is being pressed - but since FamiSlayer only cares if the &#039;Start&#039; button is being pressed, it will ignore seven out of every eight of your clock pulses...</p>]]></content>
			<author>
				<name><![CDATA[uXe]]></name>
				<uri>https://chipmusic.org/uXe</uri>
			</author>
			<updated>2014-02-20T23:33:50Z</updated>
			<id>https://chipmusic.org/forums/post/201471/#p201471</id>
		</entry>
</feed>
