no need to reinvent the wheel, i am sure you can find a gop piano / keyboard in pd-extended or use mtl/piano: http://puredata.info/Members/mtl/index_html pat