coremidi Questions
3
Solved
I have been unable to find much information on CoreMIDI for iOS. Is it even possible to play a MIDI sound by sending a message to the device itself. Does the iPhone or iPad have a MIDI device insta...
4
I am looking at some of the examples of midi output using core midi.
Specifically this question
and this
I have code that works based on these in objC and I now want to try to translate that to...
Retuse asked 21/10, 2014 at 19:11
4
Solved
I've just discovered CABTMIDILocalPeripheralViewController for iOS which
handles user settings for enabling Bluetooth MIDI discoverability. This is
fine and good but in order to integrate bluetooth...
Warnock asked 5/10, 2015 at 20:35
4
Solved
Here is an extremely simple CoreMIDI OS X application that sends MIDI data. The problem is that it doesn't work. It compiles fine, and runs. It reports no errors, and does not crash. The Source cre...
Crisp asked 13/5, 2012 at 15:1
3
Solved
In Xcode 11 beta 6's iOS 13 simulators I'm getting a crash when enabling the MIDI Network Session.
I was able to replicate by adding the following lines to AppDelegate's didFinishLaunching:WithOpt...
Horta asked 21/8, 2019 at 8:47
1
Solved
1
I'm trying to achieve something that seems like it should be simple: listen for MIDI messages in a Mac app, and use these to play notes from an existing AVAudioUnit instrument.
Hypothesis: I need ...
Evania asked 20/3, 2017 at 0:21
1
I am using the following code to receive MIDI events in a Swift Playground:
import Cocoa
import CoreMIDI
import XCPlayground
XCPSetExecutionShouldContinueIndefinitely(continueIndefinitely: true)
...
Simulate asked 8/3, 2015 at 9:10
4
I'm trying to convert some C code to swift.
(Why? - to use CoreMIDI in OS-X in case you asked)
The C code is like this
void printPacketInfo(const MIDIPacket* packet) {
int i;
for (i=0; i<pac...
2
Solved
To get MIDI over Bluetooth working, I need to use the CoreAudioKit framework. This works perfectly, but I am not able to compile on the simulator.
Making the framework "optional" doesn't help, e...
Newport asked 22/7, 2015 at 21:36
0
I am working on a small program to 'translate' a jittering incoming MIDI clock to a steady beat. The jittering MIDI clock generates an awful tremolo sound.
The idea is to 'listen' to the incoming...
Industrials asked 12/5, 2015 at 23:40
2
Solved
It may be that this is actually not possible currently, which would be unfortunate. I'm trying to call the CoreMIDI API to set up a MIDI input. This is what I'm trying to do in Swift:
var midiClie...
Australopithecus asked 26/8, 2014 at 19:56
2
Solved
MusicPlayer's API relies on variable length arrays as the last member of a struct to handle passing around data of unknown size. Looking at the generated interface for MusicPlayer, the structs used...
Labaw asked 26/1, 2015 at 4:16
1
Solved
I am struggling to initialize the MIDIMetaEvent structure found in MusicPlayer.h with swift The header file defines the structure as follows:
struct MIDIMetaEvent {
var metaEventType: UInt8
var ...
0
I am able to create a midiclient via MIDIClientCreate when the scheme is a 64 bit processor (iPhone 5 and later). It does not work for 32 bit processors e.g. iPhone 4s.
#if !arch(arm64) || !arch(...
1
I'm trying to get MIDI sessions working with swift code and am running into issues with some of the delegates.
This is a working example in Objective-C.
OSStatus status = MIDIClientCreate(CFSTR(...
1
Solved
I need a little help converting this
MIDIDeviceRef midiDevice = MIDIGetDevice(i);
NSDictionary *midiProperties;
MIDIObjectGetProperties(midiDevice, (CFPropertyListRef *)&midiProperties, YES...
Beatify asked 2/9, 2014 at 15:11
3
Solved
Faced with two errors.
This code worked in iOS 4 and 5, but after update to 6, it is not working (
I found following, but don't know how to fix it in the code.
Beginning in iOS 6, apps need to h...
3
I'm processing Midi on the iPad and everything is working fine and I can log everything that comes in and all works as expected. However, in trying to recieve long messages (ie Sysex), I can only g...
1
I'm trying to create a method that outputs MIDI information to a virtual client using CoreMIDI. The "action" method is MIDIReceived, which sends midi data in the form of MIDI packets to a virtual c...
Bereave asked 25/4, 2013 at 20:13
2
I have to move some NSSlider by hardware midi controller, I have programmed a midi learn procedure to assign hardware cursor to NSSlider(sub class of), and up there it's all right. Inside MIDIReadP...
Bray asked 17/10, 2012 at 8:22
1
Solved
I need to hand assemble 14bit MIDI Pitch Bend values from raw UInt16 values in iOS. I'm wondering if anybody out there has had a chance to come up with an elegant solution? Here's where I'm at - I'...
Jigging asked 27/11, 2012 at 17:41
1
I'm having some trouble calculating an accurate BPM from a receiving MIDI Clock (using Ableton Live in my tests for sending the MIDI clock).
I'm using CoreMIDI and PGMidi from Pete Goodliffe.
In ...
Jungly asked 26/11, 2012 at 10:17
1
Solved
I've successfully gotten iOS to play a .mid (midi) file with a soundfont sample using the following code:
-(void) playMusic:(NSString*) name
{
NSString *presetURLPath = [[NSBundle mainBundle] pat...
Subtract asked 20/4, 2012 at 15:46
1
Solved
Can I get a little help with this?
In a test project, I have an AUSampler -> MixerUnit -> ioUnit and have a render callback set up. It all works. I am using the MusicDeviceMIDIEvent method a...
Fruiterer asked 4/3, 2012 at 7:8
1 Next >
© 2022 - 2024 — McMap. All rights reserved.