{
  "id": 494443,
  "title": "human and pink noise",
  "url": "/competitions/birdclef-2024/discussion/494443",
  "author_name": "",
  "post_date": "2024-04-17T08:58:30.677403900Z",
  "votes": 2,
  "comment_count": 3,
  "views": 0,
  "content": "<p>i have read through last year top solutions and realised that most of the solutions include adding human and pink noises can someone guide me to any material or public notebook performing the same so i can use it as a reference</p>",
  "messages": [
    {
      "id": "2756876",
      "postDate": "04/17/2024 08:58:30",
      "content": "<p>i have read through last year top solutions and realised that most of the solutions include adding human and pink noises can someone guide me to any material or public notebook performing the same so i can use it as a reference</p>",
      "rawMarkdown": "i have read through last year top solutions and realised that most of the solutions include adding human and pink noises can someone guide me to any material or public notebook performing the same so i can use it as a reference",
      "votes": null
    },
    {
      "id": "2757177",
      "postDate": "04/17/2024 11:30:25",
      "content": "<p>You can use the <a href=\"https://iver56.github.io/audiomentations/waveform_transforms/add_color_noise/\" target=\"_blank\">AddColorNoise</a> class for the pink noise and <a href=\"https://iver56.github.io/audiomentations/waveform_transforms/add_background_noise/\" target=\"_blank\">AddBackgroundNoise</a> for the human noise from the <a href=\"https://github.com/iver56/audiomentations\" target=\"_blank\">audiomentations</a> package. Here is a code example from their documentation:</p>\n<pre><code>\n audiomentations  AddBackgroundNoise, PolarityInversion\n\ntransform = AddBackgroundNoise(\n    sounds_path=,\n    min_snr_in_db=,\n    max_snr_in_db=,\n    noise_transform=PolarityInversion(),\n    p=\n)\n\naugmented_sound = transform(my_waveform_ndarray, sample_rate=)\n</code></pre>",
      "rawMarkdown": "You can use the [AddColorNoise](https://iver56.github.io/audiomentations/waveform_transforms/add_color_noise/) class for the pink noise and [AddBackgroundNoise](https://iver56.github.io/audiomentations/waveform_transforms/add_background_noise/) for the human noise from the [audiomentations](https://github.com/iver56/audiomentations) package. Here is a code example from their documentation:\n\n```python\n# AddBackgroundNoise\nfrom audiomentations import AddBackgroundNoise, PolarityInversion\n\ntransform = AddBackgroundNoise(\n    sounds_path=\"/path/to/folder_with_sound_files\",\n    min_snr_in_db=3.0,\n    max_snr_in_db=30.0,\n    noise_transform=PolarityInversion(),\n    p=1.0\n)\n\naugmented_sound = transform(my_waveform_ndarray, sample_rate=16000)\n```",
      "votes": null
    },
    {
      "id": "2757180",
      "postDate": "04/17/2024 11:33:36",
      "content": "<p>thanks for the insight</p>",
      "rawMarkdown": "thanks for the insight",
      "votes": null
    },
    {
      "id": "2815102",
      "postDate": "05/15/2024 17:33:26",
      "content": "<p>Did the pink noise help you?</p>",
      "rawMarkdown": "Did the pink noise help you?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2757177,
      "author_name": "snnclsr",
      "author_url": "",
      "post_date": "04/17/2024 11:30:25",
      "content": "<p>You can use the <a href=\"https://iver56.github.io/audiomentations/waveform_transforms/add_color_noise/\" target=\"_blank\">AddColorNoise</a> class for the pink noise and <a href=\"https://iver56.github.io/audiomentations/waveform_transforms/add_background_noise/\" target=\"_blank\">AddBackgroundNoise</a> for the human noise from the <a href=\"https://github.com/iver56/audiomentations\" target=\"_blank\">audiomentations</a> package. Here is a code example from their documentation:</p>\n<pre><code>\n audiomentations  AddBackgroundNoise, PolarityInversion\n\ntransform = AddBackgroundNoise(\n    sounds_path=,\n    min_snr_in_db=,\n    max_snr_in_db=,\n    noise_transform=PolarityInversion(),\n    p=\n)\n\naugmented_sound = transform(my_waveform_ndarray, sample_rate=)\n</code></pre>",
      "votes": null,
      "replies": [
        {
          "id": 2757180,
          "author_name": "manav2805",
          "author_url": "",
          "post_date": "04/17/2024 11:33:36",
          "content": "<p>thanks for the insight</p>",
          "votes": null,
          "replies": [
            {
              "id": 2815102,
              "author_name": "max1mum",
              "author_url": "",
              "post_date": "05/15/2024 17:33:26",
              "content": "<p>Did the pink noise help you?</p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2756876": "i have read through last year top solutions and realised that most of the solutions include adding human and pink noises can someone guide me to any material or public notebook performing the same so i can use it as a reference",
    "2757177": "You can use the [AddColorNoise](https://iver56.github.io/audiomentations/waveform_transforms/add_color_noise/) class for the pink noise and [AddBackgroundNoise](https://iver56.github.io/audiomentations/waveform_transforms/add_background_noise/) for the human noise from the [audiomentations](https://github.com/iver56/audiomentations) package. Here is a code example from their documentation:\n\n```python\n# AddBackgroundNoise\nfrom audiomentations import AddBackgroundNoise, PolarityInversion\n\ntransform = AddBackgroundNoise(\n    sounds_path=\"/path/to/folder_with_sound_files\",\n    min_snr_in_db=3.0,\n    max_snr_in_db=30.0,\n    noise_transform=PolarityInversion(),\n    p=1.0\n)\n\naugmented_sound = transform(my_waveform_ndarray, sample_rate=16000)\n```",
    "2757180": "thanks for the insight",
    "2815102": "Did the pink noise help you?"
  },
  "source": "meta"
}