Pure Data patch generator in ruby