Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 16 hours ago
JSON representation

A SwiftUi Opus Audio Player

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.