<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - LSDJ MIDI Pgm Change and CC?]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/20219/"/>
	<updated>2017-12-01T22:30:12Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/20219/lsdj-midi-pgm-change-and-cc/</id>
		<entry>
			<title type="html"><![CDATA[Re: LSDJ MIDI Pgm Change and CC?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/254731/#p254731"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>unexpectedbowtie wrote:</cite><blockquote><div class="quotebox"><blockquote><p>Yxx - Sends a program/patch/preset change.</p></blockquote></div><p>This description is a bit bare. Any ideas on how this is implemented?</p></blockquote></div><p>I forgot you also asked about program changes. A program change MIDI message consists of channel 1-16 and value (0-127).</p><p>Example:</p><p>You use command &quot;Y0A&quot; in the PU2 channel - this sends a program change with value=10 on MIDI channel 2. This changes the patch to #10 on your synth if it listens to MIDI channel 2 and if it supports program changes (might need to be enabled in your synth&#039;s settings to work).</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2017-12-01T22:30:12Z</updated>
			<id>https://chipmusic.org/forums/post/254731/#p254731</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LSDJ MIDI Pgm Change and CC?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/254727/#p254727"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>herr_prof wrote:</cite><blockquote><p>@ledfyr: why did you choose to use the x command instead of the n command for the chords? If you have another thread for your fork id love to talk more.</p></blockquote></div><p>The N command plays a single note in the current channel, I still want this to work the way it does. Though I heard you can use the C command with MIDI out to play chords. I never tried that, but I still think you get more chords to choose from with my code.</p><div class="quotebox"><cite>toasterpastries wrote:</cite><blockquote><p>I&#039;m also a fan of this fork and would like to open some chat about it. I use NOI for external drum sequencing and use the chord command for allowing more than one drum to be triggered at the same time, but it often suffers from stuck notes.</p></blockquote></div><p>You have to kill the note before switching to a new chord and playing it to avoid hanging notes.</p><p>I created a thread if you want to continue there:<br /><a href="https://chipmusic.org/forums/topic/20224/ledfyrs-arduinoboy-midi-out-fork/" target="_blank">https://chipmusic.org/forums/topic/2022 &#133; -out-fork/</a></p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2017-12-01T21:02:22Z</updated>
			<id>https://chipmusic.org/forums/post/254727/#p254727</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LSDJ MIDI Pgm Change and CC?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/254720/#p254720"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>herr_prof wrote:</cite><blockquote><p>@ledfyr: why did you choose to use the x command instead of the n command for the chords? If you have another thread for your fork id love to talk more.</p></blockquote></div><p>I&#039;m also a fan of this fork and would like to open some chat about it. I use NOI for external drum sequencing and use the chord command for allowing more than one drum to be triggered at the same time, but it often suffers from stuck notes.</p>]]></content>
			<author>
				<name><![CDATA[toasterpastries]]></name>
				<uri>https://chipmusic.org/toasterpastries</uri>
			</author>
			<updated>2017-12-01T00:02:09Z</updated>
			<id>https://chipmusic.org/forums/post/254720/#p254720</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LSDJ MIDI Pgm Change and CC?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/254719/#p254719"/>
			<content type="html"><![CDATA[<p>@ledfyr: why did you choose to use the x command instead of the n command for the chords? If you have another thread for your fork id love to talk more.</p>]]></content>
			<author>
				<name><![CDATA[herr_prof]]></name>
				<uri>https://chipmusic.org/herr_prof</uri>
			</author>
			<updated>2017-11-30T22:36:52Z</updated>
			<id>https://chipmusic.org/forums/post/254719/#p254719</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LSDJ MIDI Pgm Change and CC?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/254718/#p254718"/>
			<content type="html"><![CDATA[<p>Here is the setting you need in maxpat</p><p><a class="postimg" href="https://content.screencast.com/users/PandoSupport/folders/Jing/media/cb866e09-5f62-4aa3-b8b5-9243820dfdad/00001248.png" title="https://content.screencast.com/users/PandoSupport/folders/Jing/media/cb866e09-5f62-4aa3-b8b5-9243820dfdad/00001248.png" id="forum_image_21978373"><img src="https://content.screencast.com/users/PandoSupport/folders/Jing/media/cb866e09-5f62-4aa3-b8b5-9243820dfdad/00001248.png" /></a></p><p>And then on channel one, send the lsdj command X4F<br />You can validate this using a midi monitor.</p>]]></content>
			<author>
				<name><![CDATA[herr_prof]]></name>
				<uri>https://chipmusic.org/herr_prof</uri>
			</author>
			<updated>2017-11-30T22:33:31Z</updated>
			<id>https://chipmusic.org/forums/post/254718/#p254718</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: LSDJ MIDI Pgm Change and CC?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/254716/#p254716"/>
			<content type="html"><![CDATA[<p>Hi, I also like the MIDI out mode! LSDJ works great as a 4 channel sequencer.</p><p>With the default settings of the arduinoboy, CC works like this.<br />Say you use command Xyz, then you’ll get:</p><p>Value of y - CC number <br />1 - 1<br />2 - 2<br />3 - 3<br />4 - 7<br />5 - 10<br />6 - 11<br />7 - 12</p><p>Value of z - CC value<br />1 - 1 (or 0, not sure)<br />2 - 8<br />3 - 16<br />4 - 24<br />...<br />E - 112<br />F - 120</p><p>This is the default behaviour, it can be changed as you quoted from the docs.<br />Changes can be hard-coded in this file and then loaded to the Arduinoboy (search for the word midiOutCCMessageNumbers):<br /><a href="https://github.com/trash80/Arduinoboy/blob/master/Arduinoboy/Arduinoboy.ino" target="_blank">https://github.com/trash80/Arduinoboy/b &#133; inoboy.ino</a></p><p>Or you can use the max patch to change this I think.</p><p>Also, I made some additions to the MIDI out mode in my personal repo, like MIDI clock out, velocity and more. Check it out if you’re interested, the readme contains documentation of functions and instructions on how to install on your arduinoboy:</p><p><a href="https://github.com/ledfyr/ab-midiout-lite" target="_blank">https://github.com/ledfyr/ab-midiout-lite</a></p><p>Last but not least I found that the GBC and GBA models works best for busy sequencing in multiple channels.</p><p>Hope this helps!</p>]]></content>
			<author>
				<name><![CDATA[Ledfyr]]></name>
				<uri>https://chipmusic.org/Ledfyr</uri>
			</author>
			<updated>2017-11-30T21:18:40Z</updated>
			<id>https://chipmusic.org/forums/post/254716/#p254716</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[LSDJ MIDI Pgm Change and CC?]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/254714/#p254714"/>
			<content type="html"><![CDATA[<p>Hello!</p><p>I&#039;ve been using MIDIOUT on LSDJ for a while, and it&#039;s great. I&#039;ve just been using it to send notes though, and want to start using program changes/CC values. I&#039;m a bit confused by the documentation though:</p><div class="quotebox"><blockquote><p>Xxx - Sends a MIDI CC - By default in Arduinoboy the high nibble selects a CC#, and the low nibble sends a value 0-F to 0-127. This can be changed to allow just 1 midi CC with a range of 00-6F, or 7 CCs with scaled or unscaled values.</p></blockquote></div><p>How does this work? Say I want to send a value of 80 on CC value 27 - how would I easily calculate the correct value to use in LSDJ?</p><div class="quotebox"><blockquote><p>Yxx - Sends a program/patch/preset change.</p></blockquote></div><p>This description is a bit bare. Any ideas on how this is implemented? </p><p>Thanks for the help!</p>]]></content>
			<author>
				<name><![CDATA[unexpectedbowtie]]></name>
				<uri>https://chipmusic.org/unexpectedbowtie</uri>
			</author>
			<updated>2017-11-30T12:22:42Z</updated>
			<id>https://chipmusic.org/forums/post/254714/#p254714</id>
		</entry>
</feed>
