Comments (5)
I haven't experienced this, but you can try one of the solutions from that stack overflow post, such as replacing node.outputFormat(forBus: 0)
with AVAudioFormat
, and make a pull request if it fixes your issue.
from beethoven.
@hannah-bennett I guess you're getting this error when using simulator, try to run your code on an actual device
from beethoven.
Thanks for the response. These are device crashes, not simulator crashes. I'll dig into it and see if I can pinpoint what's going on.
from beethoven.
you should call removeTap before install. Give it a try.
InputSignalTracker.swift
func start() throws {
...
inputNode.removeTap(onBus: bus)
let format = inputNode.outputFormat(forBus: bus)
inputNode.installTap(onBus: bus, bufferSize: bufferSize, format: format) { buffer, time in
from beethoven.
Wouldn't it make more sense to set inputNode.inputFormat()
instead of inputNode.outputFormat
?
from beethoven.
Related Issues (20)
- Example App Crashed HOT 2
- Beethoven crashes sometimes when stopping PitchEngine HOT 2
- Can not read audio from file. HOT 4
- compile error HOT 3
- tvOS target HOT 1
- Can not access in Objective C HOT 1
- Can't find the "Sources" directory for manual installation HOT 1
- Library crash in simulator HOT 1
- But beethoven is deaf HOT 3
- why not support Simulator ????
- Target watchOS HOT 1
- Podfile incorrect swift version set? HOT 1
- Maintained?
- MacOS Target HOT 2
- use in Unity
- Getting result is too quick with multiple frequency why not getting correct frequency,
- Question: why is the AudioSession category 'playAndRecord', instead of just 'record' ?
- Adding package to XCode 13 causes "the manifest is missing a Swift tools version specification" error HOT 1
- Hang Risk with Beethoven > InputSignalTracker.swift > start() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beethoven.