====== function: add ====== ===== Description ===== This is a method for the RhythmPattern class. It takes a RhythmPattern object and then creates a player, rhythmMap, and maskMap in the specified MusicalEnvironment. ===== Syntax ===== RhythmPattern.add(MusicalEnvironment) ===== Parameters ===== ===== Return Value ===== ===== Example =====