<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.syn2cat.lu/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.syn2cat.lu/w/index.php?action=history&amp;feed=atom&amp;title=Laserharp</id>
		<title>Laserharp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.syn2cat.lu/w/index.php?action=history&amp;feed=atom&amp;title=Laserharp"/>
		<link rel="alternate" type="text/html" href="https://wiki.syn2cat.lu/w/index.php?title=Laserharp&amp;action=history"/>
		<updated>2026-09-15T10:51:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>//wiki.syn2cat.lu/w/index.php?title=Laserharp&amp;diff=23744&amp;oldid=prev</id>
		<title>Gunstick: Created page with &quot;For science fesrival we created a laser harp  Here is how to get the software part to run  MIDI libraries for the arduino, used to format midi messages sent to the usb port : ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.syn2cat.lu/w/index.php?title=Laserharp&amp;diff=23744&amp;oldid=prev"/>
				<updated>2023-08-08T19:52:00Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;For science fesrival we created a laser harp  Here is how to get the software part to run  MIDI libraries for the arduino, used to format midi messages sent to the usb port : ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;For science fesrival we created a laser harp&lt;br /&gt;
&lt;br /&gt;
Here is how to get the software part to run&lt;br /&gt;
&lt;br /&gt;
MIDI libraries for the arduino, used to format midi messages sent to the usb port : https://github.com/FortySevenEffects/arduino_midi_library  &lt;br /&gt;
&lt;br /&gt;
On a raspberry, or linux PC, to allow the midi messages to be managed by the system, by creating an ALSA midi port on the raspberry : https://github.com/cjbarnes18/ttymidi/&lt;br /&gt;
&lt;br /&gt;
And then install fluidsynth, a very nice synthesizer capable of playing hundreds of different instruments based upon freely available sound files : http://www.fluidsynth.org/&lt;br /&gt;
&lt;br /&gt;
Here is a typescript:&lt;br /&gt;
&lt;br /&gt;
* sudo apt-get install libasound2-dev&lt;br /&gt;
* git clone https://github.com/cjbarnes18/ttymidi.git&lt;br /&gt;
* cd ttymidi/&lt;br /&gt;
* make&lt;br /&gt;
* sudo make install&lt;br /&gt;
&lt;br /&gt;
connect the harp&lt;br /&gt;
&lt;br /&gt;
find the device name&lt;br /&gt;
* sudo dmesg&lt;br /&gt;
&lt;br /&gt;
do a test run. Play some notes, the values should be displayed&lt;br /&gt;
* ttymidi -s /dev/ttyACM0 -v&lt;br /&gt;
&lt;br /&gt;
Connect the midi device to the synth&lt;br /&gt;
* ttymidi -s /dev/ttyACM0 &amp;amp;&lt;br /&gt;
* fluidsynth --server --no-shell --audio-driver=pulseaudio --gain=1.0 --reverb=0.42 --chorus=0.42  /usr/share/sounds/sf2/FluidR3_GM.sf2 &amp;amp;&lt;br /&gt;
* aconnect -i&lt;br /&gt;
* aconnect -o&lt;br /&gt;
&lt;br /&gt;
In the above outputs search for the ttymidi (usually 128) and fluidsynth (usually 129) and connect them together&lt;br /&gt;
* aconnect 128 129&lt;br /&gt;
&lt;br /&gt;
Now you can play the harp.&lt;br /&gt;
&lt;br /&gt;
Unsolved issues:&lt;br /&gt;
&lt;br /&gt;
The right 2 lasers are for instrument+ and instrument-, but you can only switch between several times the same instrument and the drumkit.&lt;/div&gt;</summary>
		<author><name>Gunstick</name></author>	</entry>

	</feed>