Max MSP & bach rhythmic tree representation for musical and architectural form generation