evgenyneu / cephalopod Goto Github PK
View Code? Open in Web Editor NEWA sound fader for AVAudioPlayer written in Swift for iOS, tvOS and macOS.
License: MIT License
A sound fader for AVAudioPlayer written in Swift for iOS, tvOS and macOS.
License: MIT License
Hello, and first of all contratulations for this amazing repo!
I want to start an app I'm wondering a few aspects of it:
I've been developing iOS apps for a few years but this is my first audio-related project and I'm a bit lost.
Thanks guys!
Hi
Thanks for this wonderful library. I am trying to integrate this library in my project written in Objective C. I've successfully added the Swift code in my code but there's no impact on volume while trying different methods.
//self.BackgroundMusicPlayer => Name of my AVAudioPlayer
Cephalopod *cep = [[Cephalopod alloc] initWithPlayer:self.BackgroundMusicPlayer];
1)
[cep fadeFromVolume:0 toVolume:1 duration:5 velocity:1 onFinished:^(BOOL finished) {
NSLog(@"Fading Done");
}];
[cep fadeInDuration:5 velocity:1 onFinished:^(BOOL finished) {
NSLog(@"Fading Done");
}];
Any help in this regards will be highly appreciated.
Thanks!
Needs some minor fix for support Objective-C, Thx ~
Hey, I'd love to see this lib available in Swift 3 so I can implement it in my project.
Thanks ๐
Please update this library to Swift 4 syntax :)
Is it possible to set a fade out event at the end of the song (without any additional times from my side)? For instance, I have a track (2:00 min) and I want to achieve a fade out effect during 10 second from 1:50 - 2:00.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.