<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Community: Message List - Simple Tutorial?</title>
    <link>http://line6.com/support/community/support/effects/tonecore_development_kit?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Sun, 15 Apr 2012 00:35:43 GMT</pubDate>
    <generator>Jive SBS 4.5.7.0 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2012-04-15T00:35:43Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Simple Tutorial?</title>
      <link>http://line6.com/support/message/370572?tstart=0#370572</link>
      <description>&lt;!-- [DocumentBodyStart:d866e969-2f97-438a-89a3-30398d5c59cc] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;All of the DSP56364 registers are available.&amp;#160; However, I think a couple of the address registers are reserved for interrupt processing in the sample code.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:d866e969-2f97-438a-89a3-30398d5c59cc] --&gt;</description>
      <pubDate>Sun, 15 Apr 2012 00:35:43 GMT</pubDate>
      <author>support@line6.com</author>
      <guid>http://line6.com/support/message/370572?tstart=0#370572</guid>
      <dc:date>2012-04-15T00:35:43Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Simple Tutorial?</title>
      <link>http://line6.com/support/message/370380?tstart=0#370380</link>
      <description>&lt;!-- [DocumentBodyStart:3ad1d8cc-550d-4859-8ebe-f29201dc2b42] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks for all the advice! I successfully made a mute pedal last night.&amp;#160; I couldn't figure out the mpy command the way I wanted to use it so I used the mov command instead to make the signal 0.&amp;#160; This weekend I'll hopefully get a chance to try my hand at a simple volume pedal. Thanks again! &lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Also, could someone tell me what registers we have available? Sorry for the total noob question. I think I will start making a tutorial to help other complete beginners out and help concrete my thoughts.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:3ad1d8cc-550d-4859-8ebe-f29201dc2b42] --&gt;</description>
      <pubDate>Fri, 13 Apr 2012 19:52:42 GMT</pubDate>
      <author>support@line6.com</author>
      <guid>http://line6.com/support/message/370380?tstart=0#370380</guid>
      <dc:date>2012-04-13T19:52:42Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Simple Tutorial?</title>
      <link>http://line6.com/support/message/369942?tstart=0#369942</link>
      <description>&lt;!-- [DocumentBodyStart:a2f5b122-96ec-4928-8941-49b046c28583] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;You don't have to worry about timing for a simple volume pedal.&amp;#160; The processing in the TwoBandStereoEQ sample code happens in one of the sample receive interrupts (called once per sample).&amp;#160; The knob and switch registers are defined at the top of the sample file (Knob_1, Switch_1, etc.).&amp;#160; For debugging, you can also write to the Debug_Read_from_DSP_x registers to display values in the UI.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt; Here are a few simple things to get started:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Remove the calls (bsr) to Generate_Coeffs and TwoBand_EQ to create a pass-through (see previous reply).&lt;/li&gt;&lt;li&gt;Set Debug_Read_from_DSP_1 to 0x000001 when the effect is on and 0x000000 when the effect is off.&amp;#160; Look for the code that turns LED_Green on/off based on the footswitch.&amp;#160; (Note that the Generate_Coeffs subroutine also writes to the debug registers.)&lt;/li&gt;&lt;li&gt;Mute the signal (e.g., by multiplying input by 0) when the effect is off.&lt;/li&gt;&lt;li&gt;Multiply the signal by the Knob_1 value to create a simple volume pedal.&lt;/li&gt;&lt;/ol&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Once you get those basic things working, you can smooth the volume changes to avoid clicks and zipper noises.&amp;#160; Then add log scaling to give the knob a better response.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a2f5b122-96ec-4928-8941-49b046c28583] --&gt;</description>
      <pubDate>Thu, 12 Apr 2012 12:09:52 GMT</pubDate>
      <author>support@line6.com</author>
      <guid>http://line6.com/support/message/369942?tstart=0#369942</guid>
      <dc:date>2012-04-12T12:09:52Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Simple Tutorial?</title>
      <link>http://line6.com/support/message/369856?tstart=0#369856</link>
      <description>&lt;!-- [DocumentBodyStart:b8899430-06a1-4dc1-a035-d8460d3b1774] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I'm not aware of any simple tutorials out there, but you could start with the two band stereo EQ sample code.&amp;#160; First build it and download to the pedal.&amp;#160; Once you have that working, strip out the processing code so it is just a pass through.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Here is the code that processes both channels:&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; ;Process Left Channel&amp;#160;&amp;#160; (left input sample is in a)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; #&amp;gt;Switch_1,r6&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; point to x:mem (switch states)&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; #&amp;gt;Filter_1_K,r4&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; point to x:mem (coefficients)&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; #&amp;gt;Filter_1_A_Left,r3&amp;#160;&amp;#160;&amp;#160; ; point to y:mem (filter mem) &lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; bsr&amp;#160;&amp;#160;&amp;#160;&amp;#160; TwoBand_EQ&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; input in a, output in a&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; a,y:LeftOutput&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; ;Process Right Channel&amp;#160; (r6 is currently pointing to Switch 1)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; y:RightInput,a&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; load right input sample in a&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; #&amp;gt;Filter_1_K,r4&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; point to x:mem (coefficients)&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; #&amp;gt;Filter_1_A_Right,r3&amp;#160;&amp;#160; ; point to y:mem (filter mem) &lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; bsr&amp;#160;&amp;#160;&amp;#160;&amp;#160; TwoBand_EQ&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; input in a, output in a&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; a,y:RightOutput&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;To make it a pass through, change the above block to:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; ;Process Left Channel&amp;#160;&amp;#160; (left input sample is in a)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; do your own processing here&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; a,y:LeftOutput&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160; ;Process Right Channel&amp;#160; (r6 is currently pointing to Switch 1)&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; y:RightInput,a&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; load right input sample in a&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; ; do your own processing here&lt;/p&gt;&lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; move&amp;#160;&amp;#160;&amp;#160; a,y:RightOutput&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;Everything under "Common Subroutines" can be deleted (unless you want to use them).&amp;#160; Then start building a simple volume pedal.&amp;#160; Use git/subversion/whatever and commit/checkin frequently so you can back up as soon as you take a wrong turn.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:b8899430-06a1-4dc1-a035-d8460d3b1774] --&gt;</description>
      <pubDate>Thu, 12 Apr 2012 00:05:19 GMT</pubDate>
      <author>support@line6.com</author>
      <guid>http://line6.com/support/message/369856?tstart=0#369856</guid>
      <dc:date>2012-04-12T00:05:19Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Simple Tutorial?</title>
      <link>http://line6.com/support/message/369815?tstart=0#369815</link>
      <description>&lt;!-- [DocumentBodyStart:da65434c-1e25-43f7-a9a1-77f00982361f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have owned one of these things for a while and I would really love to get into programming it. Assembly does not really scare me. However, it is a bit over whelming to try to read through the complete effects that I have seen posted online. Are there any beginners tutorials? Something that starts off super basic, like a volume pedal, mute pedal, or something similar, but explains most or all of the code for beginners like myself. I have walked myself through some of the source out there and I understand parts of it, but not enough to make something simple like I just said.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;#160;&lt;/p&gt;&lt;p&gt;It seems like a mute pedal could be easily changed to a volume pedal and from there changed into a stutter effect and that would show all the beginners how to work with volume, knobs, and timing. If someone would be interested in making a tutorial or point me to some info like this that would be awesome! Basically, what I want is a "Hello World!" program to get me started. Any help would be appreciated. Thanks!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:da65434c-1e25-43f7-a9a1-77f00982361f] --&gt;</description>
      <pubDate>Wed, 11 Apr 2012 22:06:11 GMT</pubDate>
      <author>support@line6.com</author>
      <guid>http://line6.com/support/message/369815?tstart=0#369815</guid>
      <dc:date>2012-04-11T22:06:11Z</dc:date>
      <clearspace:dateToText>1 year, 1 month ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

