Category Archives: MIDI

iOS MIDI interfaces

iOS MIDI Interfaces Here are a few current MIDI interfaces for iOS devices with Lightning connectors. If you know of any others, please let me know. Click the images to go to the product page. IK Multimedia iRig MIDI 2 iRig Pro Universal AUDIO/MIDI interface for iOS devices and macs iConnectMIDI1 Lightning Version, 1-in 1-out […]

Also posted in iOS | 4 Responses

MusicSequence via a MIDI Virtual Source

Swift Language

MusicSequence via a MIDI Virtual Source Virtual MIDI sources and destinations are a bit confusing. This is one way to use a Virtual MIDI source. Introduction MIDI Setup MusicSequence Summary Resources Introduction Table of Contents If you want other apps to the “see” your app as a MIDI source, i.e. a producer of MIDI data, […]

Also posted in Core MIDI, Swift | Leave a comment

tvOS: playing audio

Playing MIDI on tvOS According to Apple’s App Programming Guide for tvOS, AVFoundation is supported in tvOS. Groovy! Let’s use AVMIDIPlayer to play a file! Set up Result Summary Update Resources Set up Table of Contents AVMIDIPlayer’s init func wants two URLs: one to a MIDI file and another to a SoundFont or DLS file. […]

Also posted in tvOS | Tagged , | 2 Responses

Swift 2 AVAudioSequencer

Swift Language

Swift 2 AVAudioSequencer There’s a brand new MIDI sequencer class in Swift 2 beta! It’s the AVAudioSequencer. Introduction AVAudioSequencer Setup AVAudioEngine Setup AVMusicTrack Summary Update Resources Introduction Table of Contents At WWDC15 there was a presentation entitled “What’s New in Core Audio“. If you were able to get past the first 29 minutes of a […]

Also posted in Apple, Computer Music, Core MIDI, Swift | Tagged , | 12 Responses

Swift fail: MIDIClientCreate

Swift Language

Swift fail: MIDIClientCreate There is a problem with calling Core MIDI’s MIDIClientCreate function from Swift. N.B. This article was true when published. Apple has since fixed the problem. Introduction The Test Summary Resources Introduction Let’s start with a simple call to Core MIDI’s client create function. You need the midi client to create MIDI input […]

Also posted in Apple, Core MIDI, Swift | 2 Responses

iOS 8 Bluetooth MIDI LE build tip

iOS Bluetooth MIDI LE Introduction The Bluetooth classes Summary Resources Introduction iOS 8 and OS X Yosemite now supports sending and receiving MIDI data using Bluetooth Low Energy connections on any iOS device or Mac that has native Bluetooth Low Energy support. I reminding myself here of a simple problem I had that wasted my […]

Also posted in Apple, Computer Music, Swift | Tagged , , | Leave a comment