audiokit

Is synchronised looping supported for AKPlayers that are multiples in their duration?

左心房为你撑大大i 提交于 2020-05-17 05:56:29
问题 Id' like to know if synchronised looping is supported for AKPlayer (s) that are multiples in their duration? Seems that is not supported or if not intended, it's a bug? Found similar report here (How to use the loop if the track was not started from the beginning (with buffering type = .always in AKPlayer )), where I thought I was providing a solution but after plenty of tests found that the solution provided does not work either. See attachment (*) I've planned to record some loops that have

Why is the new AKSequencer not producing any sound?

夙愿已清 提交于 2020-05-15 19:13:58
问题 I have a fairly complex app that has been working with the AKAppleSequencer up until now, but due to some strange behavior and bugs that pop up now and then with that sequencer, I've been hoping to move to the newer AKSequencer. Unfortunately, the new sequencer doesn't seem to be represented in the Playgrounds or much documentation, so I have been doing some guesswork. I have everything wired up in a way that seems to make sense (to me) and, as I mentioned, was working fine with

Why is the new AKSequencer not producing any sound?

 ̄綄美尐妖づ 提交于 2020-05-15 19:13:25
问题 I have a fairly complex app that has been working with the AKAppleSequencer up until now, but due to some strange behavior and bugs that pop up now and then with that sequencer, I've been hoping to move to the newer AKSequencer. Unfortunately, the new sequencer doesn't seem to be represented in the Playgrounds or much documentation, so I have been doing some guesswork. I have everything wired up in a way that seems to make sense (to me) and, as I mentioned, was working fine with

AKSequencer with Ableton Link

徘徊边缘 提交于 2020-04-16 05:40:28
问题 Has anyone did synchronization AKSequencer with Ableton Link accurately? Whatever I do, it not synchronized at all. I take beatTime from AbletonLink and play sequencer at this position + output latency. Since the delay between function play called and actual playing is unpredictable, it not working 回答1: We don't use the AKSequencer (which is based on Apple's sequencer and therefore mostly closed source) for our synths that need a sequencer because of this unpredictability. Instead we use

Sender Synth example can't build - symbol(s) not found for architecture arm64

℡╲_俬逩灬. 提交于 2020-04-16 04:46:14
问题 I have follow the Sender synth example, with XCode 10.1, Audiokit 4.5.5. But when I try to build it (part Audiobus and Integration), it fails with this error: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_ABPort", referenced from: objc-class-ref in Audiobus.o "_OBJC_CLASS_$_ABAudiobusController", referenced from: objc-class-ref in Audiobus.o "_OBJC_CLASS_$_ABAudioSenderPort", referenced from: objc-class-ref in Audiobus.o "_OBJC_CLASS_$_ABAudioFilterPort", referenced from: objc

Sender Synth example can't build - symbol(s) not found for architecture arm64

六月ゝ 毕业季﹏ 提交于 2020-04-16 04:46:09
问题 I have follow the Sender synth example, with XCode 10.1, Audiokit 4.5.5. But when I try to build it (part Audiobus and Integration), it fails with this error: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_ABPort", referenced from: objc-class-ref in Audiobus.o "_OBJC_CLASS_$_ABAudiobusController", referenced from: objc-class-ref in Audiobus.o "_OBJC_CLASS_$_ABAudioSenderPort", referenced from: objc-class-ref in Audiobus.o "_OBJC_CLASS_$_ABAudioFilterPort", referenced from: objc

AudioKit error messages with microphone input

陌路散爱 提交于 2020-03-03 11:53:32
问题 I am working on an amplitude-based visualizer for macOS using the latest versions of AudioKit (4.9.3), Swift (5.1.3), Xcode (11.3), and macOS (10.15.2). I had this working at one time (using earlier versions of each of those things), but now I get the following error messages at runtime: 2019-12-14 17:48:45.549957-0500 Dockside2[903:10790] [plugin] AddInstanceForFactory: No factory registered for id F8BB1C28-BAE8-11D6-9C31-00039315CD46 2019-12-14 17:48:45.564757-0500 Dockside2[903:10790] HALC

AudioKit: AKMidiInstrument crashes on init after upgrading to xcode 11

六月ゝ 毕业季﹏ 提交于 2020-01-25 08:32:05
问题 Crash happens even on demo project SequencerDemo . the line: var bassDrum = AKSynthKick() gets: Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) Happens with every instance of AKMidiInstrument 来源: https://stackoverflow.com/questions/58521803/audiokit-akmidiinstrument-crashes-on-init-after-upgrading-to-xcode-11

How to play MIDI with AudioKit's new AKSequencer

﹥>﹥吖頭↗ 提交于 2020-01-24 09:51:13
问题 I'm on AudioKit 4.9.1 and can't manage to play a MIDI file with the new AKSequencer (replacing AKAppleSequencer ). No sound playing. Assume that MIDI file AND samples are loaded correctly since they previously worked with AKAppleSequencer . Background audio mode capability is also enabled. Here's the relevant code: (I've also tried both AKSampler and AKAppleSampler but same result) class MIDIPlayer { var sampler: AKSampler var legacySampler: AKAppleSampler var sequencer: AKSequencer init

Audiokit recording file size too big

吃可爱长大的小学妹 提交于 2020-01-23 21:39:08
问题 Similar to this question (Which has no answers as of now for a year). This is how I am setting up my AKRecorder and Player: AKAudioFile.cleanTempDirectory() // Session settings AKSettings.bufferLength = .medium AKSettings.sampleRate = AudioKit.engine.inputNode.inputFormat(forBus: 0).sampleRate mic = AKMicrophone()! do { try AKSettings.setSession(category: .playAndRecord, with: .defaultToSpeaker) } catch { AKLog("Could not set session category.") } AKSettings.defaultToSpeaker = true //