Musical Agent Systems: MACAT and MACataRT