Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intiserahmed/opus-player-swiftui
A SwiftUi Opus Audio Player
https://github.com/intiserahmed/opus-player-swiftui
opus-codec swi swiftui
Last synced: about 2 months ago
JSON representation
A SwiftUi Opus Audio Player
- Host: GitHub
- URL: https://github.com/intiserahmed/opus-player-swiftui
- Owner: Intiserahmed
- License: mit
- Created: 2024-07-09T04:50:58.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-10T02:45:00.000Z (6 months ago)
- Last Synced: 2024-07-10T06:18:02.699Z (6 months ago)
- Topics: opus-codec, swi, swiftui
- Language: Swift
- Homepage:
- Size: 536 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swift Opus Audio Player
A simple SwiftUI-based audio player for Opus files using SwiftOGG and AVFoundation.
## Features
- Play and pause Opus audio files
- Seek through the audio using a slider
- Display current playback time and total duration
- Support for mono and stereo Opus files## Requirements
- iOS 14.0+
- Xcode 12.0+
- Swift 5.3+## Dependencies
- [SwiftOGG](https://github.com/SwiftOGG/SwiftOGG) - For decoding Opus files
## Installation
1. Clone this repository:
2. Open the project in Xcode
3. Install SwiftOGG using your preferred dependency manager (e.g., Swift Package Manager)## Usage
1. Add your Opus file to the project (default name: "homeaudio.opus")
2. Build and run the app
3. Use the play/pause button to control playback
4. Use the slider to seek through the audio## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.