# Free all loaded samples on the synth server

``

    sample_free_all

Unloads all samples therefore freeing the memory and resources consumed. Subsequent calls to `sample` and friends will re-load the sample on the server.

Introduced in v2.9

## Example

# Example 1
``
    sample :loop_amen
    sample :ambi_lunar_land
    sleep 2
    sample_free_all
    sample :loop_amen
| ``
    # load and play :loop_amen
    # load and play :ambi_lunar_land

    # re-loads and plays amen