When granny squares, which middle gray part is made with conductive yarn thus pressure sensitive. Nine of the granny squares are assembled together like the typical granny blankets, which is actually a pressure sensitive button array.
The assembled granny squares are connected to programed to interface with MIDI signal. Now the granny squares are MIDI interface.
The sound is not great.. (the window was open and you hear a lot of outside sound) but you can get an idea of how it works. For this test, I just connected with simple max patch to demonstrate the MIDI inputs, but it can be connected with more complicated patch or MIDI instrument directly just like other MIDI interfaces.
To make MIDI interface with Arduino, I followed this tutorial.
To interface with computer, I used USB MIDI converter. You can buy this in local electronics shops.
Here is the Arduino sketch I used
First, make a lot of conductive Granny Squares. In this example I made nine of them.
Connect Granny Squares with normal yarn. I used one row of single crochet and next round with slip stitch.
I used thick fabric markers. Before cutting the in stripes to make traces, I have fused the on the back of the fabric. After placing the conductive traces, attache them to the backing felt by ironing on them.
This is how the finished circuit looks like. Make sure to cover the over wrapping traces with normal fabric.
Now connect to the Arduino. Here, for the quick test, I used crocodile clip, but it can be improved to knitted stretchy cable or fabric ribbon cable.