<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: Mapping troubles</title>
		<atom:link href="http://cycling74.com/forums/topic/mapping-troubles/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/mapping-troubles/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 21:33:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/mapping-troubles/#post-25549</guid>
					<title><![CDATA[Mapping troubles]]></title>
					<link>http://cycling74.com/forums/topic/mapping-troubles/#post-25549</link>
					<pubDate>Fri, 21 Apr 2006 01:11:51 +0000</pubDate>
					<dc:creator>Jay Simpson</dc:creator>

					<description>
						<![CDATA[
						<p>Evening,</p>
<p>I have been trying to map a slider to act as a scrathcer for sfplay~. From the middle to the right side of the slider needs to be mapped to give a value range of 1 to 2, and from middle to left needs to cover the range -1 to -2. How can it be done? Any ideas?</p>
<p>Thanks</p>
<p>J</p>
<p>Here is my attempt so far</p>
<p>max v2;<br />
#N vpatcher 15 55 1018 805;<br />
#P user ezdac~ 116 317 160 350 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P message 305 595 46 9109513 speed $1;<br />
#P flonum 383 566 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 381 532 27 9109513 &#8211; 0.;<br />
#P newex 350 495 65 9109513 value scratch;<br />
#P button 350 432 15 0;<br />
#P newex 413 377 27 9109513 &#8211; 1.;<br />
#P flonum 281 468 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P message 318 347 14 9109513 2;<br />
#P newex 329 378 65 9109513 value scratch;<br />
#P button 329 326 15 0;<br />
#P newex 281 408 27 9109513 &#8211; 0.;<br />
#P number 206 287 39 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 206 258 27 9109513 * 2.;<br />
#P flonum 413 298 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 483 347 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 413 262 38 9109513 * 0.001;<br />
#P flonum 413 428 52 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 597 320 64 9109513 expr $f1*(-1.);<br />
#P flonum 284 298 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 284 264 38 9109513 * 0.001;<br />
#P number 413 231 39 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P number 284 230 39 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P newex 364 172 48 9109513 split 1000;<br />
#P user hslider 379 108 18 128 2001 1 0 0;<br />
#P newex 482 325 37 9109513 &#8211; 1000.;<br />
#P toggle 102 247 15 0;<br />
#P message 122 246 28 9109513 open;<br />
#N sfplay~  2 120960 0 ;<br />
#P newobj 102 284 48 9109513 sfplay~ 2;<br />
#P window setfont &#8220;Sans Serif&#8221; 12.;<br />
#P window linecount 4;<br />
#P comment 525 109 270 9109516 From middle to the right side of the slider needs to be mapped to give a value range of 1 to 2 , and from middle to left needs to cover the range -1 to -2. How can it be done?;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 333 460 14 9109513 1;<br />
#P fasten 29 0 2 0 310 639 107 639;<br />
#P connect 4 0 2 0;<br />
#P connect 3 0 2 0;<br />
#P connect 2 0 30 0;<br />
#P connect 2 1 30 1;<br />
#P fasten 8 0 17 0 289 251 211 251;<br />
#P connect 17 0 18 0;<br />
#P fasten 11 0 19 0 289 360 286 360;<br />
#P fasten 19 0 23 0 286 447 286 447;<br />
#P fasten 7 0 8 0 369 210 289 210;<br />
#P connect 8 0 10 0;<br />
#P connect 10 0 11 0;<br />
#P fasten 23 0 29 0 286 539 310 539;<br />
#P connect 28 0 29 0;<br />
#P fasten 20 0 22 0 334 343 323 343;<br />
#P fasten 7 0 20 0 369 258 334 258;<br />
#P fasten 20 0 21 0 334 373 334 373;<br />
#P fasten 22 0 21 0 323 368 334 368;<br />
#P fasten 25 0 0 0 355 453 338 453;<br />
#P fasten 7 1 25 0 407 429 355 429;<br />
#P connect 25 0 26 0;<br />
#P fasten 0 0 26 0 338 486 355 486;<br />
#P connect 6 0 7 0;<br />
#P connect 26 0 27 0;<br />
#P connect 27 0 28 0;<br />
#P fasten 13 0 27 1 418 516 403 516;<br />
#P fasten 7 1 9 0 407 211 418 211;<br />
#P fasten 9 0 14 0 418 255 418 255;<br />
#P connect 14 0 16 0;<br />
#P connect 16 0 24 0;<br />
#P fasten 24 0 13 0 418 412 418 412;<br />
#P connect 5 0 15 0;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/mapping-troubles/#post-75357</guid>
					<title><![CDATA[Re: Mapping troubles]]></title>
					<link>http://cycling74.com/forums/topic/mapping-troubles/#post-75357</link>
					<pubDate>Fri, 21 Apr 2006 09:57:57 +0000</pubDate>
					<dc:creator>Lê Quan Ninh</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/mapping-troubles/#post-75358</guid>
					<title><![CDATA[Re: Mapping troubles]]></title>
					<link>http://cycling74.com/forums/topic/mapping-troubles/#post-75358</link>
					<pubDate>Fri, 21 Apr 2006 13:13:41 +0000</pubDate>
					<dc:creator>Jay Simpson</dc:creator>

					<description>
						<![CDATA[
						<p>THANK YOU!!!! Yes that is exactly what I mean, my maths skills must be appalling not to be able to work that out. Cheers!</p>
<p>Jay</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/mapping-troubles/#post-75359</guid>
					<title><![CDATA[Re: Mapping troubles]]></title>
					<link>http://cycling74.com/forums/topic/mapping-troubles/#post-75359</link>
					<pubDate>Sun, 23 Apr 2006 18:39:03 +0000</pubDate>
					<dc:creator>Jean-Francois Charles</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

