{"id":24009481,"url":"https://github.com/incantium/audio-player-plus","last_synced_at":"2026-04-15T00:32:37.087Z","repository":{"id":261428178,"uuid":"871760011","full_name":"Incantium/Audio-Player-Plus","owner":"Incantium","description":"An extendable audio mixer with better control over volume and looping.","archived":false,"fork":false,"pushed_at":"2024-12-12T18:22:52.000Z","size":75,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-02-25T13:37:20.075Z","etag":null,"topics":["audio","csharp","package","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Incantium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-12T21:20:13.000Z","updated_at":"2024-12-12T18:22:56.000Z","dependencies_parsed_at":"2024-11-06T14:32:50.431Z","dependency_job_id":"6bbcc90f-d3ed-452c-bce5-270bb1e18ae2","html_url":"https://github.com/Incantium/Audio-Player-Plus","commit_stats":null,"previous_names":["incantium/audio-player-plus"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Incantium/Audio-Player-Plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incantium%2FAudio-Player-Plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incantium%2FAudio-Player-Plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incantium%2FAudio-Player-Plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incantium%2FAudio-Player-Plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Incantium","download_url":"https://codeload.github.com/Incantium/Audio-Player-Plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Incantium%2FAudio-Player-Plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31821559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T18:05:02.291Z","status":"ssl_error","status_checked_at":"2026-04-14T18:05:01.765Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","csharp","package","unity"],"created_at":"2025-01-08T03:58:55.041Z","updated_at":"2026-04-15T00:32:37.067Z","avatar_url":"https://github.com/Incantium.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Audio Player Plus\n\n`Unity 2022.3`\n`.NET Standard 2.1`\n`C# 9.0`\n\n## Overview\n\nThe Audio Player Plus is a custom-made Unity Package specifically made to make it easier to loop audio clip and control \ntheir volume.\n\n## Workflow\n\n### 1. Create music clips\n\nFirstly, it is important to create a new [music clip](Documentation~/MusicClip.md) instance for each audio clip in you \ngame. Audio Player Plus requires you to use this new data structure for more control over the audio settings per audio clip. \nThis process is done by right-clicking on an audio clip in Unity and then selecting \"Create → Data → Music Clip\".\n\nFurthermore, it is possible to make the [music clip](Documentation~/MusicClip.md) much better with its new settings,\nwhich can be read [here](Documentation~/MusicClip.md).\n\n### 2. The audio player\n\nThe Audio Player Plus package contains an [audio player](Documentation~/AudioPlayer.md) that is the main control point \nfor updating the music that should be played. \n\nAt its core, this [audio player](Documentation~/AudioPlayer.md) is a singleton and should not be added as a component to\nany game object. This package will, instead, automatically instantiate an [audio player](Documentation~/AudioPlayer.md) \nfor you at the start of playing the game. It is advisable to make use of its automatic instance of the \n[audio player](Documentation~/AudioPlayer.md) into the game. This automatic instantiation can be turned off in the \n[audio player settings](Documentation~/AudioPlayerSettings.md) if you choose to do so.\n\n### 3. Start the music\n\nNow, it is finally possible to start the music. [Here](Documentation~/AudioPlayer.md) are the methods you can use to \nstart the music. And here below is a code snippet how this package can be used.\n\n```csharp\nusing Incantium.Audio;\nusing UnityEngine;\n\npublic class ExampleClass : MonoBehaviour\n{\n    [SerializeField]\n    private MusicClip music;\n\n    private void Start()\n    {\n        music.Play(2f, FadeType.CrossFade);\n    }\n}\n```\n\n## References\n\n| Class                                                        | Description                                                                                                                  |\n|--------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n| [AudioPlayer](Documentation~/AudioPlayer.md)                 | The audio player of the Audio Player Plus package.                                                                           |\n| [AudioPlayerSettings](Documentation~/AudioPlayerSettings.md) | The settings for the audio player.                                                                                           |\n| [FadeType](Documentation~/FadeType.md)                       | Different types of fading between audio clip.                                                                                |\n| [MusicClip](Documentation~/MusicClip.md)                     | An audio clip with more control over looping and volume.                                                                     |\n| [MusicType](Documentation~/MusicType.md)                     | The type of audio clip to play.                                                                                              |\n| [SingleBehaviour](Documentation~/SingleBehaviour.md)         | The singleton pattern for [MonoBehaviour](https://docs.unity3d.com/6000.0/Documentation/ScriptReference/MonoBehaviour.html). |\n\n## Frequently Asked Questions\n\n### Does the Audio Player Plus have a solution for 3D sound?\n\nSimple said: It unfortunately hasn't.\n\nAudio Player Plus is specifically made for looping background music and 2D sound effect. It does not have a mechanism\nto detain at which position in world space an audio clip needs to be played. Audio clips that need to be played in a 3D \nenvironment is not within the scope of this package.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincantium%2Faudio-player-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fincantium%2Faudio-player-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fincantium%2Faudio-player-plus/lists"}