SolvedAudioKit AKMicrophone fails to initialize
vanshg posts at
18 Answers
Share
Original✔️Accepted Answer
Sounds good.
For anyone else who may be experiencing this issue with this version (4.5.2), I was able to fix the crash by writing AKSettings.sampleRate = AudioKit.engine.inputNode.inputFormat(forBus: 0).sampleRate
before I initialized my microphone (from code found here: a69b249#diff-0345b5e840a1686dfc15209bac76c73bL77)
Related Issues:
16
AudioKit AKMicrophone fails to initialize
Sounds good For anyone else who may be experiencing this issue with this version (4.5.2) ...
62
react player Error parsing header X-XSS-Protection: 1; When playing youtube videos
It's a known bug in current Google Chrome and Chromium: https://bugs.chromium.org/p/chromium/issues/...
25
tenacity Transparency and trust
Hi I can understand your concerns; maybe explaining the background behind the decision AudioBakery w...
22
allegro5 Android build fails due to deprecated 'android' command
I have searched and found no replacement for the android update project command ...
20
mumble macOS Mojave: passing the null port to CGEventTapEnable() segfaults
This is because the accessibility access for Mumble gets disabled on upgrade Trying to run Mumble-1....
17
mpv Better scaletempo (on high speed x1.5-x3)
@TiGR @wiiaboo I've fine tuned the settings a bit and this is what I got I've been watching some tal...
16
eqMac Bug: Driver failed to activate with new version 0.3.2 (beta): still problems
As a workaround I quit eqMac executed this from the Terminal reopend eqMac and allowed it to reinsta...
15
mpv [Feature request?] Play multiple videos sides by sides
Awesome! “Probably slow” is no issue for me it’s 1000×800@5fps streams that I have ;) Thanks both of...
14
speech_recognition Install/compilation of PyAudio failed
Tried those apt commands ( I left our libportaudio2 as apt informed me it was already installed) $ s...
13
tenacity Detach from audacity's repository
I think we should detach Is your feature request related to a problem? Please describe This fork as ...
12
srs PROTOCOL: JS API FETCH STREAM for flv.js
使用flv.js 播放flv时,出现跨域问题。 在srs_app_http_stream.cpp#485后添加w->header()->set(Access-Control-Allow-Origin ...
11
srs Disable -Werror for http parser.
You should change the source code: the file http_parser.c in 3rdparty/http-parser-2.1.zip change to ...
10
pulseaudio modules bt Building DEB package
PPA source here https://launchpad.net/~eh5/+archive/ubuntu/pulseaudio-a2dp I've managed to get a wor...
9
pulseaudio modules bt PPA Ubuntu 19.10
So more Docker hacking and I have the emulated bluetooth device functioning which results in a worki...
9
eqMac Beta eqMac2 v2.3 - possible fix for static/sync loss and Catalina install issue
@andrewmorner Had exact same problem Looks like more of the liscio ring buffer code needed to be cop...
6
sonic pi Mac OS 11.0.1 Big Sur (not loading)
Hi @duncangeere! I traced back the behaviour the week before last in my Big Sur test VM to a specifi...
5
mpv [Request] Hotkey to copy currently displayed subtitles text to clipboard
Linux: (needs xclip to be installed) add the following to ~/.config/mpv/input.conf Ctrl+c run /bin/b...
5
aeneas /usr/bin/ld: cannot find -lespeak
Thanks for the tip frish1 This installation solved my install failure Installing espeak wasn't enoug...
4
audioplayers E/MediaPlayerNative( 6767): error (1, -2147483648)
Currently having the same issue pub upgrade not working for me I am using AudioCache to play every 1...
4
qTox Choosing camera in settings causing qTox to crashing
Hey guys I was pointed to issues with your project in the MSDN forum thread linked above and I decid...
3
MPD io_uring throws and exception
Works fine after ulimit -l 65535 which sets the limit to 64 MiB (oh just saw your message) Yeah it's...
3
snapcast [Question] JSON RPC API
curl didn't work for me Hi I don't really understand how to remotely get or set the status or volume...
3
snapcast Snapclient with multiple audio hardware
@gerroon I am sorry that it does not work for you! Let me summarize what I did to make it work Maybe...
3
audioplayers update path_provider dependency version
A quirky and potentially hazardous fix until it is solved: Need to update the version of path_provid...
3
mpv DTS/AC3 passthrough via coax S/PDIF
I would like to add that you can force the output of the lavcac3enc filter to be passthrough to the ...
782
flutter Android dependency 'androidx.core:core' has different version for the compile (1.0.0) and runtime (1.0.1) classpath. You should manually set the same version via DependencyResolution
Still does not work after all the suggestions No joke I know what this problem means but I don't kno...
765
CocoaPods Xcodeproj doesn't know about the following attributes {"inputFileListPaths"=>[], "outputFileListPaths"=>[]} for the 'PBXShellScriptBuildPhase' isa
Or try gem update xcodeproj. I've read and understood the CONTRIBUTING guidelines and have done my b...
750
react native keychain SDK Build Tools revision (23.0.1) is too low for project :react-native-keychain.
Ok I found a solution to this For people facing the same problem in the future Hey there ...
746
expo Error: fsevents unavailable (this watcher can only be used on Darwin)
Possible solution: I had installed watchman via npm install -g watchman but apparently this installs...
655
CocoaPods [error report] pod install /w m1 macbook
do you have a MacBook Pro with a M1 processor? this fixed my issue: Report What did you do? Run pod ...
459
flutter Multiple commands produce '/build/ios/Debug-iphonesimulator/Runner.app/Frameworks/Flutter.framework
I was able to fix it by opening the Runner workspace project in Xcode 10 Then navigate to File ...
449
flutter App Store iOS submission fails: The bundle Runner.app/Frameworks/App.framework does not support the minimum OS Version specified in the Info.plist
After doing a flutter clean changing MinimumOSVersion (inside /ios/Flutter/AppframeworkInfo.plist) t...
418
flutter 'com.android.support:appcompat-v7' has different version for the compile (26.1.0) and runtime (27.0.1) classpath
is like this i receive an error when i run flutter run My gradle.build file is: flutter doctor: ...
409
flutter Why does my text not wrap?
You have to wrap Column in a flexible Without flexible the column's width is not constrained to the ...
392
CocoaPods NoMethodError - undefined method `size' for nil:NilClass
Also faced with this issue Fixed by updating flutter and cocoa pods to the latest version and then ...
383
flutter Unexpected top padding in ListView put inside scaffold with no appBar
Yeah this is intentional If you put a widget before the ListView you should wrap the ListView with a...
360
react native pdf Warning : Failed child context type: Invalid child context 'virtualizedCell.cellKey' of type 'number' supplied to 'CellRenderer', expected 'string'
You need to create an issue in the react-native-pdf repo with these hints: Just cast the key to stri...
316
appium Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/appium/node_modules/appium-chromedriver/2018018-10989-mszb1e.83yx'
This worked: sudo npm install -g appium --unsafe-perm=true --allow-root (from #10293). ...
315
flutter Missing xcode dependency: Python module "six"
try python2.x -m pip install six by @humblerookie's suggest or brew reinstall python@2 pip install s...
306
expo exp build:android fails
This works exp start Cancel ctrl c then do exp build:android. Running exp build:android errors fails...
285
flutter flutter messaging: set the notification icon
Hey guys I fought with this for the better part of a day For some strange reason there are no tutori...
281
flutter Issue with cloud_firestore - Cannot fit requested classes in a single dex file.
As a workaround you can try enabling mutlidex for Android App by following Enable multidex for apps ...
265
flutter D8: Program type already present: io.flutter.BuildConfig
@smrucv I received the same error but after flutter clean and flutter packages get everything works ...
250
flutter Wrapping a Column with an expanded in a SingleChildScrollView throws an exception
It can be done this way: Hi lets take this simple App ...
247
CocoaPods pod install has bug
Did you try: sudo arch -x86_64 gem install ffi And run: arch -x86_64 pod install instead of pod inst...
246
sheetjs How to simply export a Worksheet to xlsx?
There are two issues: each object is mapped to a row so if you want a row with name John and city Se...
238
flutter Introduction of characters package causes crash on flutter run for preexisting Flutter applications
In my case I resolved the issue with flutter clean After e0ed12c I get this error when building: @ju...
222
nativescript cli TNS doctor doesn't recognize Xcode (High Sierra)
HI @philipfeldmann Can yhou please run xcodebuild -version and paste the output? May be Xcode is ins...
221
flutter Making Network http error SocketException: Failed host lookup
@hoc081098 Double-check / make sure you have <uses-permission android:name=android.permission.INTERN...
216
flutter Support inlining Android/iOS views
iOS view embedding support has landed on master This is still just a preview There are multiple open...
AudioKit version: 4.5.2
macOS version: 10.14
Xcode version: 10.0
I have some microphone recording code for a project (which can be seen here: https://github.com/vanshg/MacAssistant/blob/master/MacAssistant/Audio/AudioEngine.swift). This code works fine on my friend's laptop (Mid-2015 MacBook Pro). However, when trying to run this on my laptop (2018 MacBook Pro), it crashes upon initialization of
AKMicrophone
, before starting the AudioKit engine (Both laptops are running the same version of AudioKit, macOS, and Xcode). I thought this might be an issue with the specific code I had written, so I made a simple new project with only the following code:and it continues to crash. The stack trace I get for this specific piece of code (and for my project) is:
What stands out is
reason: 'required condition is false: format.sampleRate == hwFormat.sampleRate'
I also tried downloading the AudioKit Playgrounds to make sure that I still wasn't doing anything wrong. When I try to run the
Tracking Microphone Input
, the code also serves up a stack trace. However, this stack trace is different:Because even the Playground fails, my inclination is to believe that this is an AudioKit issue and not an implementation issue. Any ideas what this might be stemming from or ways to fix?