# Flemcee Examples
This guide shows end-to-end examples using the curated tools for the two high-level workflows you requested.
## 1) “Listen to this project and do a mix”
This workflow uses peak-based balancing and plugin parameter control. True audio analysis requires the future “true listening” pipeline.
1. Start playback
```json
{"tool":"fl_transport_play","arguments":{}}
```
2. Summarize the session
```json
{"tool":"fl_session_summary","arguments":{}}
```
3. Balance mix based on current peaks
```json
{
"tool":"fl_mix_balance_peaks",
"arguments":{
"track_indices":[1,2,3,4,5,6,7,8],
"target_peak":0.8,
"mode":2,
"max_change":0.2
}
}
```
4. Inspect plugin parameters (example: mixer track 1 slot 0)
```json
{
"tool":"fl_plugin_list_params",
"arguments":{
"index":1,
"slot_index":0,
"limit":16
}
}
```
5. Adjust a plugin parameter (example)
```json
{
"tool":"fl_plugin_set_param",
"arguments":{
"index":1,
"slot_index":0,
"param_index":3,
"value":0.65
}
}
```
6. Stop playback
```json
{"tool":"fl_transport_stop","arguments":{}}
```
## 2) “Take this loop and sequence it out into a full hip hop beat”
This workflow assumes you have kick/snare/hat channels already in the Channel Rack.
1. Choose or create a pattern
```json
{"tool":"fl_pattern_select","arguments":{"index":1}}
```
2. Generate a hip hop groove (boom bap or trap)
```json
{
"tool":"fl_beat_make_hiphop",
"arguments":{
"kick_channel":0,
"snare_channel":1,
"hat_channel":2,
"bars":4,
"style":"boom_bap"
}
}
```
3. Optionally rename the pattern
```json
{"tool":"fl_pattern_rename","arguments":{"index":1,"name":"Main Beat"}}
```
4. Add variation (example: switch to trap hats)
```json
{
"tool":"fl_beat_make_hiphop",
"arguments":{
"kick_channel":0,
"snare_channel":1,
"hat_channel":2,
"bars":2,
"style":"trap"
}
}
```