# fm.freemix.release.stem

> Published by [lex-publisher.freemix.fm](https://lexicon.garden/identity/did:plc:bt7c6cqevgefnvej5cmgke4g)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.release.stem)
- [Documentation](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.release.stem/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:bt7c6cqevgefnvej5cmgke4g/fm.freemix.release.stem/examples)

## Definitions

### `fm.freemix.release.stem`

**Type**: `record`

A stem (isolated track component) belonging to a parent track

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `label` | `string` | Yes | Human-readable name (e.g., 'Main Vocal', 'Acid Line', '808 Kit') |
| `audioUrl` | `string` (uri) | Yes | R2 URL to the stem audio file |
| `position` | `integer` | No | Display order position (0-indexed) |
| `stemType` | `string` | Yes | Type/category of the stem |
| `audioHash` | `string` | Yes | SHA-256 hash of the stem audio content |
| `createdAt` | `string` (datetime) | Yes | Record creation timestamp |
| `audioFormat` | `string` | Yes | Audio file format |
| `parentTrack` | `string` (at-uri) | No | AT URI of the parent track this stem belongs to (optional for standalone stems) |
| `audioSizeBytes` | `integer` | Yes | Size of the audio file in bytes |
| `parentTrackCid` | `string` (cid) | No | CID of the parent track record (pins to exact version) |
| `audioDurationMs` | `integer` | Yes | Duration of the stem in milliseconds |

## Raw Schema

```json
{
  "id": "fm.freemix.release.stem",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "stemType",
          "label",
          "audioUrl",
          "audioHash",
          "audioDurationMs",
          "audioFormat",
          "audioSizeBytes",
          "createdAt"
        ],
        "properties": {
          "label": {
            "type": "string",
            "maxLength": 100,
            "description": "Human-readable name (e.g., 'Main Vocal', 'Acid Line', '808 Kit')"
          },
          "audioUrl": {
            "type": "string",
            "format": "uri",
            "maxLength": 3000,
            "description": "R2 URL to the stem audio file"
          },
          "position": {
            "type": "integer",
            "minimum": 0,
            "description": "Display order position (0-indexed)"
          },
          "stemType": {
            "type": "string",
            "maxLength": 100,
            "description": "Type/category of the stem",
            "knownValues": [
              "drums",
              "bass",
              "vocals",
              "synth",
              "guitar",
              "keys",
              "pad",
              "lead",
              "fx",
              "other"
            ]
          },
          "audioHash": {
            "type": "string",
            "maxLength": 200,
            "description": "SHA-256 hash of the stem audio content"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "maxLength": 100,
            "description": "Record creation timestamp"
          },
          "audioFormat": {
            "type": "string",
            "maxLength": 100,
            "description": "Audio file format",
            "knownValues": [
              "wav",
              "flac",
              "mp3"
            ]
          },
          "parentTrack": {
            "type": "string",
            "format": "at-uri",
            "maxLength": 3000,
            "description": "AT URI of the parent track this stem belongs to (optional for standalone stems)"
          },
          "audioSizeBytes": {
            "type": "integer",
            "description": "Size of the audio file in bytes"
          },
          "parentTrackCid": {
            "type": "string",
            "format": "cid",
            "maxLength": 200,
            "description": "CID of the parent track record (pins to exact version)"
          },
          "audioDurationMs": {
            "type": "integer",
            "description": "Duration of the stem in milliseconds"
          }
        }
      },
      "description": "A stem (isolated track component) belonging to a parent track"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
