Updates the patterns data by sending a PUT request to the API.
This function takes an array of Pattern objects, sorts them by ID,
and sends them to the backend API for persistent storage. Patterns
represent recurring musical structures and melodic formulas used
in maqam analysis.
Updates the patterns data by sending a PUT request to the API.
This function takes an array of Pattern objects, sorts them by ID, and sends them to the backend API for persistent storage. Patterns represent recurring musical structures and melodic formulas used in maqam analysis.