tapharmonic / learning-av-foundation-swift Goto Github PK
View Code? Open in Web Editor NEWSwift 4.2 port of the sample code for Bob McCune's Learning AV Foundation book. http://learningavfoundation.com
Swift 4.2 port of the sample code for Bob McCune's Learning AV Foundation book. http://learningavfoundation.com
Hi Bob, just a heads up that the link in the README is broken and leads to a random ad. Thank you for the book!
Hello for chapter 8,
I tried loading ~5 min - 45min mp3 files and it crashes when it tries to get the maximum value of the current bin.
it works great with 15 second files.
any plans to port the 15 seconds project to swift? I'm going through your book and it would improve comprehension a lot if there was a swift code to work with.
In my experience, using files created from MPMediaItem
s that I've exported with AVAssetExportSession
with the AVAssetExportPresetAppleM4A
preset, a crash can occur when calling maxValue(in:)
from the filteredSamples(for size:)
if the sampleBin
contains Int16.min
, or -32768.
Hi Bob,
First of all thank very much for all the knowledge you have been sharing on AVFoundation. I'll be interested in buying the Swift version of your book when it is released. Please keep the community posted.
Thank you,
Tula
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.