load_pattern
Load a saved pattern from the library by providing its file path, and receive the corresponding Sonic Pi code for live execution.
Instructions
Load a saved pattern from the library, returning its code.
Args: path: Relative path from the patterns root (e.g. "drums/boom_bap_basic.rb")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |