---
title: labeledSounds()
framework: createml
role: symbol
role_heading: Instance Method
path: createml/mlsoundclassifier/datasource/labeledsounds()
---

# labeledSounds()

Generates a dictionary of the data source’s labeled audio files.

## Declaration

```swift
func labeledSounds() throws -> [String : [URL]]
```

## Return Value

Return Value A dictionary of labeled audio files. Each dictionary key is a label string and its value is an array of audio-file URLs.
