# Freesound

> Search the Freesound library and look up sounds, packs and contributors.

App · 10 actions. Web page: https://docs.lodol.com/docs/integrations/freesound

## Actions

### Get contributor

Get contributor.

**Inputs**

- Username (`username`, text, required): Username.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "username": "example"
  }
}
```

### Get pack

Get pack.

**Inputs**

- Pack ID (`pack_id`, number, required): Pack id. At least 1.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "id": 1,
    "name": "example"
  }
}
```

### Get sound

Get sound.

**Inputs**

- Sound ID (`sound_id`, number, required): Sound id. At least 1.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "id": 1,
    "license": "example",
    "name": "example",
    "previews": {},
    "username": "example"
  }
}
```

### Get sound analysis

Get sound analysis.

**Inputs**

- Sound ID (`sound_id`, number, required): Sound id. At least 1.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {}
}
```

### List contributor packs

List contributor packs.

**Inputs**

- Username (`username`, text, required): Username.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 150.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "id": 1
      }
    ]
  }
}
```

### List contributor sounds

List contributor sounds.

**Inputs**

- Username (`username`, text, required): Username.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 150.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "id": 1
      }
    ]
  }
}
```

### List pack sounds

List pack sounds.

**Inputs**

- Pack ID (`pack_id`, number, required): Pack id. At least 1.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 150.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "id": 1
      }
    ]
  }
}
```

### List similar sounds

List similar sounds.

**Inputs**

- Sound ID (`sound_id`, number, required): Sound id. At least 1.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 150.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "id": 1
      }
    ]
  }
}
```

### List sound comments

List sound comments.

**Inputs**

- Sound ID (`sound_id`, number, required): Sound id. At least 1.
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 150.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "results": [
      {}
    ]
  }
}
```

### Search sounds

Search sounds.

**Inputs**

- Query (`query`, text): Query.
- Filter (`filter`, text): Freesound search filter, for example license:"Creative Commons 0".
- Sort (`sort`, text): Sort. One of: `score`, `duration_desc` (Duration desc), `duration_asc` (Duration asc), `created_desc` (Created desc), `created_asc` (Created asc), `downloads_desc` (Downloads desc), `downloads_asc` (Downloads asc), `rating_desc` (Rating desc), `rating_asc` (Rating asc).
- Page (`page`, number): Page. At least 1.
- Page size (`page_size`, number): Page size. From 1 to 150.

**Outputs**

- `data` (object): The response from Freesound.

**Example output**

```json
{
  "data": {
    "results": [
      {
        "id": 1,
        "name": "example",
        "username": "example"
      }
    ]
  }
}
```
