Questions tagged [aksequencer]
19 questions
6
votes
1 answer
How to play MIDI with AudioKit's new AKSequencer
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…

Frankie Simon
- 721
- 1
- 7
- 14
6
votes
1 answer
How to visualize current AKSequencer position with Audiokit?
I am new to Audiokit. I want to visualize the current position of a running AKSequencer.
Are there any callbacks (like in AKMetronome) or listeners or a root clock/main loop running that I can hookup? Or should I use a AKCallbackInstrument that…

headkit
- 3,307
- 4
- 53
- 99
4
votes
1 answer
Deleting tempo events from AKSequencer
I need to delete all tempo events from an AKSequencer instance but I can't find a way to do it.
I tried to use the clearRange() method as shown below but I'm not sure it is the right way because it won't work:
var sequencer = AKSequencer()
//…

MicheleDG
- 93
- 6
4
votes
1 answer
How to sequence raw values instead of midi notes with Audiokit
I am new to Audiokit. I want to sequence a set of Double raw values to be used like attenuators in eurorack modules. Using the AKSequencer seems not to be possible as they are meant to be used with tracks (AudioKit.AKMusicTrack), sending MIDI data…

headkit
- 3,307
- 4
- 53
- 99
3
votes
1 answer
How to output external MIDI from an AKMusicTrack in AudioKit
I'm wondering what the best way is to have a AKSequencer (actually an AKMusicTrack) output it's MIDI to an external device.
I have gotten it to work, but I feel like there is probably a more efficient way.
The way I've done it:
I've made subclass of…

narco
- 830
- 8
- 21
3
votes
3 answers
First note played in AKSequencer is off
I am using AKSequencer to create a sequence of notes that are played by an AKMidiSampler. My problem is, at higher tempos the first note always plays with a little delay, no matter what i do.
I tried prerolling the sequence but it won't help.…

MicheleDG
- 93
- 6
2
votes
1 answer
AudioKit: How to change tempo on the fly?
I am new to AudioKit and programming music app. I'm building a metronome app and using AudioKit's AKMetronome. I want to have a feature where a user can specify a sequence of beat patterns with different tempo. But I find it is inaccurate to use…

KamaroY
- 35
- 5
2
votes
3 answers
AudioKit: Using the new AKSequencer with any variety of the callback instruments
This topic has been covered Numerous Times, and I have successfully used a AKMIDICallbackInstrument with the old AKAppleSequencer in my previous apps.
I am starting to use the new AKSequencer which is absolutely phenomenal: elegant interface, and…

Maximilian
- 1,107
- 11
- 20
2
votes
0 answers
Listen to MIDI events from AKSequencer
AudioKit 4.9. I would like to receive MIDI events from the new AKSequencer, handle them and send the handled data to an external gear connected to a midi port of an audio interface like I can do with AKMIDICallbackInstrument set to an output of…

Andrei
- 109
- 10
2
votes
2 answers
Using toggle (on-off) switch on AKPlayer
I am trying to implement an on-off switch in playing multiple AKPlayers. First, I have called two AKPlayers, triggered by AKCallbackInstruments in AKSequencer.
When I turn the switch on, 1) two AKPlayers are assigned to AKMixer, 2) Audiokit starts,…

Gavin
- 251
- 1
- 6
2
votes
0 answers
Retrieve HostCallbackInfo from AudioKit to Sync IAA and AKSequencer
I'm struggled trying to sync AKSequencer with IAA.
Need to get HostCallbackInfo from the AudioUnit. In Core Audio and ObjC, would be something like this:
UInt32 dataSize = sizeof(HostCallbackInfo);
callBackInfo = (HostCallbackInfo*)…

Fischer
- 1,513
- 4
- 17
- 38
2
votes
1 answer
Can AudioKit sequences be changed individually and played back as a single track?
I'd like create a class/struct/other that contains each measure of a song, complete with independent tempo and beat count, then play the entire song back (with potential updates from user input). I'm only aware of how to change those variables on…

moosgrn
- 379
- 3
- 13
2
votes
1 answer
AudioKit ios AKSequencer Not Restarting Playback Accurately
I'm trying to use AudioKit to playback a sound on each beat of a measure(s). Although I've implemented the code from this similar question regarding callbacks via AudioKit, I can't seem to get the sequencer to update changes and playback properly.…

moosgrn
- 379
- 3
- 13
2
votes
1 answer
Audiokit: How to add start/stop-buttons and their functionality within an Audiobus Panel overlay?
When using Audiobus within an AudioKit app that integrates midi sequencer functionality it could a very handy to use the feature of Audiobus that shows start- and stop buttons within its panel overlay, which is also used for hopping between the apps…

headkit
- 3,307
- 4
- 53
- 99
1
vote
1 answer
AKSequencer with Ableton Link
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…

Stas Parechin
- 50
- 5