<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[ChipMusic.org - Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
	<link rel="self" href="https://chipmusic.org:80/forums/feed/atom/topic/18754/"/>
	<updated>2017-03-01T01:08:07Z</updated>
	<generator>PunBB</generator>
	<id>https://chipmusic.org/forums/topic/18754/shake-to-trig-function-sort-of-like-boxed-mercury-balltilt-switch/</id>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/251436/#p251436"/>
			<content type="html"><![CDATA[<p>I made something similar using a cheap pedometer. The pedometer had a small lever inside with a weight at the end attached to a loose spring so that it would connect the circuit momentarily each time you took a step (or shook it) it is a simple on/off mechanism though so if you are looking for variable resistance for a pitch bend I&#039;m not sure it would work.</p>]]></content>
			<author>
				<name><![CDATA[SamVsSound]]></name>
				<uri>https://chipmusic.org/SamVsSound</uri>
			</author>
			<updated>2017-03-01T01:08:07Z</updated>
			<id>https://chipmusic.org/forums/post/251436/#p251436</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/246021/#p246021"/>
			<content type="html"><![CDATA[<p>Thanks for all the input!</p><p>@vblank</p><p>I found one (tilt switch)! Very cool.</p><p>@SketchMan3</p><p>Ok, cool. Ideas are good.</p><p>@Jazzmarazz</p><p>The space inside the toy (cellphone) that I plan to use is something like 2x3x4 cm. </p><p>[The space is right behind the speaker and the magnetism from the latter is strong enough to affect objects in the little space... But maybe that actually can be a good thing]</p><p>The piezo sounds like a good idea, and I happened to buy a bag of them the other day. Ultimately the resistance would be depending on how hard you shake, yes. The range can be as large as possible, I think the pitch should be higher in the accent, louder, position.</p><p>-----</p><p>Possible ways(?):</p><p>[I have discovered these glitches: pitch up/down (wire + or - to clock), gain/distort, and mute (of course). Also some soft gain that change the overtones.]</p><p>a) A tilt switch that bypass a gain boost or mute the signal completely. Loud in default position, soft when moved away.<br />Plus a fotoresistor/LDR (I got one of each, do not know which one is better to use) in the antenna. Then the pitch will also change when shaken, I suppose.</p><p>b) a piezo to clock faster/pitch upwards (or maybe one in each direction?!). The loud gain glitch only works with &quot;full bypass&quot; of the circuit points, so I suspect a piezo will not work with that. But bypassing one of the speaker wires might work.</p><p>These ideas sound pretty good to me, clean and simple enough! B)</p><p>EDIT: I found this (old) mouse ball which could hav been perfect for the piezo variant, heavy and with a rubber coating (silentish shaking), but it is too big. May be of use in another project.</p>]]></content>
			<author>
				<name><![CDATA[Dip]]></name>
				<uri>https://chipmusic.org/Dip</uri>
			</author>
			<updated>2016-07-07T23:13:47Z</updated>
			<id>https://chipmusic.org/forums/post/246021/#p246021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/246008/#p246008"/>
			<content type="html"><![CDATA[<p>What&#039;s the inside of your toy look like? I&#039;m thinking a contained peizo contact with something to bounce against it. Beans, sand, idk.</p><p>Also, what kind of range are you looking or? Do you want a redo ate trigger each time you shake, or did you want a range of resistance depending on how hard you shake?</p>]]></content>
			<author>
				<name><![CDATA[Jazzmarazz]]></name>
				<uri>https://chipmusic.org/Jazzmarazz</uri>
			</author>
			<updated>2016-07-07T15:26:35Z</updated>
			<id>https://chipmusic.org/forums/post/246008/#p246008</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/246007/#p246007"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dip wrote:</cite><blockquote><p>@SketchMan3<br />I never even thought that an accelerometer would be possible in a simple bend. I figure it needs power and connection to a computer? Pricey? If it would be doable it is awesome.<br /><img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p></blockquote></div><p>I honestly have no idea. Just throwing out an idea that i heard Harmonix was using for their guitar controllers now, lol.</p>]]></content>
			<author>
				<name><![CDATA[SketchMan3]]></name>
				<uri>https://chipmusic.org/SketchMan3</uri>
			</author>
			<updated>2016-07-07T14:33:55Z</updated>
			<id>https://chipmusic.org/forums/post/246007/#p246007</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/246005/#p246005"/>
			<content type="html"><![CDATA[<p>THis is a U.S. Company, but if you have an electronics overstock/junker over there, these are usually cheap:<br /><a href="http://www.goldmine-elec-products.com/prodinfo.asp?number=G21036" target="_blank">http://www.goldmine-elec-products.com/p &#133; ber=G21036</a></p><p>They are very commonly used in assembly lines, and still manufactured in various sizes.</p>]]></content>
			<author>
				<name><![CDATA[vblank]]></name>
				<uri>https://chipmusic.org/vblank</uri>
			</author>
			<updated>2016-07-07T13:43:06Z</updated>
			<id>https://chipmusic.org/forums/post/246005/#p246005</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/246004/#p246004"/>
			<content type="html"><![CDATA[<p>THis is a U.S. Company, but if you have an electronics overstock/junker over there, these are usually cheap:<br /><a href="http://www.goldmine-elec-products.com/prodinfo.asp?number=G21036" target="_blank">http://www.goldmine-elec-products.com/p &#133; ber=G21036</a></p><p>They are very commonly used in assembly lines, and still manufactured in various sizes.</p>]]></content>
			<author>
				<name><![CDATA[vblank]]></name>
				<uri>https://chipmusic.org/vblank</uri>
			</author>
			<updated>2016-07-07T13:42:56Z</updated>
			<id>https://chipmusic.org/forums/post/246004/#p246004</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/245970/#p245970"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>yogi wrote:</cite><blockquote><p>A very long time ago I got some tilt switches. They consisted of a plastic box with a ball bearing (about 1/4&quot;) and 4 solid wire contacts on the inside walls. The box is about 1/2&quot; x 3/4&quot;, so the ball can only travel about 3/16&quot; along the long axis and only 1/16&quot; between the short axis walls.<br />&nbsp; The way the wires are setup- 2 in the center on the bottom, the ball rests on these when the box is level. Then a contact at either end of the long axis about half ways up; so when the box tilts, the ball bridges one of the bottom and a side contact. And when the box levels again the ball goes back to center on the 2 bottom contacts. <br />&nbsp; &nbsp;So these are only a single axis and not very precise. They could be wired to detect level or a left or right tilt. Hope this makes sense.<br />Yogi</p></blockquote></div><p>That makes sense, thank you. That is pretty much as I had it temporally set up but I made the box and a thing inside myself, and it was barely triggering. </p><p>@Domu<br />Yes, that is a problem and it is hard to avoid, its just a matter on how much noise is acceptable. Or even valuable.</p><p>@SketchMan3<br />I never even thought that an accelerometer would be possible in a simple bend. I figure it needs power and connection to a computer? Pricey? If it would be doable it is awesome.</p><p>By shaking the tilt box you only get a short signal at a fixed level (since the ball bounce away), and that is not so good (it&#039;s a tilt box, not a shake box). Ultimately you should be able to shake and affect the sound by shaking harder (or possible by changing axis a bit). </p><p>One idea is to on the inside make a (pencil) graphite ribbon resistor and have a ball or something hit that. Then the glitch pitch would be changeable.</p><p>It could would work with a small nail bent around another nail and let it tilt between two touch points, for just a simple trig. Problem is that it will (also) bounce off. Maybe with a weight at the end of the nail and a soft rubber band holding it back would be better. Still only fixed pitch.</p><p>Maybe put in photoresistors to detect motion (but accelerometers would be better I guess). I will probably put in one or two photoresistors anyway, for other effects.</p><p><img src="https://chipmusic.org/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></content>
			<author>
				<name><![CDATA[Dip]]></name>
				<uri>https://chipmusic.org/Dip</uri>
			</author>
			<updated>2016-07-05T23:05:22Z</updated>
			<id>https://chipmusic.org/forums/post/245970/#p245970</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/245954/#p245954"/>
			<content type="html"><![CDATA[<p>accelerometer?</p>]]></content>
			<author>
				<name><![CDATA[SketchMan3]]></name>
				<uri>https://chipmusic.org/SketchMan3</uri>
			</author>
			<updated>2016-07-05T18:52:38Z</updated>
			<id>https://chipmusic.org/forums/post/245954/#p245954</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/245927/#p245927"/>
			<content type="html"><![CDATA[<p>A piece of wood with a circle of tiny nails holding a metal ball bearing has worked for me, but not sure you could do that inside your toy by the sound of it... Good luck</p>]]></content>
			<author>
				<name><![CDATA[Domu]]></name>
				<uri>https://chipmusic.org/Domu</uri>
			</author>
			<updated>2016-07-05T08:20:26Z</updated>
			<id>https://chipmusic.org/forums/post/245927/#p245927</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/245926/#p245926"/>
			<content type="html"><![CDATA[<p>....</p>]]></content>
			<author>
				<name><![CDATA[Domu]]></name>
				<uri>https://chipmusic.org/Domu</uri>
			</author>
			<updated>2016-07-05T08:20:16Z</updated>
			<id>https://chipmusic.org/forums/post/245926/#p245926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/245925/#p245925"/>
			<content type="html"><![CDATA[<p>A very long time ago I got some tilt switches. They consisted of a plastic box with a ball bearing (about 1/4&quot;) and 4 solid wire contacts on the inside walls. The box is about 1/2&quot; x 3/4&quot;, so the ball can only travel about 3/16&quot; along the long axis and only 1/16&quot; between the short axis walls.<br />&nbsp; The way the wires are setup- 2 in the center on the bottom, the ball rests on these when the box is level. Then a contact at either end of the long axis about half ways up; so when the box tilts, the ball bridges one of the bottom and a side contact. And when the box levels again the ball goes back to center on the 2 bottom contacts. <br />&nbsp; &nbsp;So these are only a single axis and not very precise. They could be wired to detect level or a left or right tilt. Hope this makes sense.<br />Yogi</p>]]></content>
			<author>
				<name><![CDATA[yogi]]></name>
				<uri>https://chipmusic.org/yogi</uri>
			</author>
			<updated>2016-07-05T04:58:41Z</updated>
			<id>https://chipmusic.org/forums/post/245925/#p245925</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Shake to trig function? [sort of like  Boxed Mercury Ball/Tilt Switch]]]></title>
			<link rel="alternate" href="https://chipmusic.org/forums/post/245919/#p245919"/>
			<content type="html"><![CDATA[<p>I am bending a little toy and when shaking I will make it glitch the pitch. A glitch maracas. </p><p>It has a small container inside perfect for making some tilt switch, but I have not succeeded making it work satisfying.</p><p>I have among other things tried to put aluminum foil inside, four touch points, bolts and screws, but it does not trigger well.</p><p>So do you have any experience with this and if so how should I do it? I have seen that there is a solution with a &quot;boxed mercury ball&quot;.</p>]]></content>
			<author>
				<name><![CDATA[Dip]]></name>
				<uri>https://chipmusic.org/Dip</uri>
			</author>
			<updated>2016-07-04T22:09:59Z</updated>
			<id>https://chipmusic.org/forums/post/245919/#p245919</id>
		</entry>
</feed>
