• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Learning Core Audio - AUSampler iOS example - can't get it to run CH12_MIDIToAUSamplerIOS.xcodeproj
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Learning Core Audio - AUSampler iOS example - can't get it to run CH12_MIDIToAUSamplerIOS.xcodeproj


  • Subject: Learning Core Audio - AUSampler iOS example - can't get it to run CH12_MIDIToAUSamplerIOS.xcodeproj
  • From: Pier <email@hidden>
  • Date: Wed, 17 Oct 2012 11:01:11 +0800

Hi, 

I've been using the example from the source code CH12_MIDIToAUSamplerIOS from the book "Learning Core Audio" and can't seem to get the iOS device to recognise my midi keyboard. 
Here are the connections : 

Midi keyboard -> Macbook Pro
Macbook Pro -> iPad (actual device) 

The app runs fine, but I hear no sounds when I press the keys on the midi keyboard. 
The midi keyboard doesn't seem to trigger the callbacks in the code (no log statements). 
There doesn't seem to be any errors trigger, I see that it detected one midi source and proceeded to use that for the app. 

I get this log output...

2012-10-17 10:53:37.261 CH12_MIDIToAUSamplerIOS[16188:907] presetPathC: /var/mobile/Applications/B3A3ECBC-EBB0-4DD4-9B3D-9629E316BF40/CH12_MIDIToAUSamplerIOS.app/ch12-aupreset.aupreset

2012-10-17 10:53:37.279 CH12_MIDIToAUSamplerIOS[16188:907] AUGraph ready

AudioUnitGraph 0x3F3C000:

  Member Nodes:

node 1: 'auou' 'rioc' 'appl', instance 0x1dd96c20 O I

node 2: 'aumu' 'samp' 'appl', instance 0x1e86f230 O I

  Connections:

node   2 bus   0 => node   1 bus   0  [ 2 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved]

  CurrentState:

mLastUpdateError=0, eventsToProcess=F, isRunning=F

1 sources

  source 0: Session 1

2012-10-17 10:54:03.619 CH12_MIDIToAUSamplerIOS[16188:907] MIDI ready

2012-10-17 10:54:12.974 CH12_MIDIToAUSamplerIOS[16188:907] MIDI app running

2012-10-17 10:54:19.270 CH12_MIDIToAUSamplerIOS[16188:907] Application windows are expected to have a root view controller at the end of application launch


Could someone help shine a light on this? Am I doing it wrong somehow? 

Thanks in advance. 


Pier. 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Learning Core Audio - AUSampler iOS example - can't get it to run CH12_MIDIToAUSamplerIOS.xcodeproj
      • From: Chris Adamson <email@hidden>
  • Prev by Date: CoreMidi Setup
  • Next by Date: Re: Learning Core Audio - AUSampler iOS example - can't get it to run CH12_MIDIToAUSamplerIOS.xcodeproj
  • Previous by thread: CoreMidi Setup
  • Next by thread: Re: Learning Core Audio - AUSampler iOS example - can't get it to run CH12_MIDIToAUSamplerIOS.xcodeproj
  • Index(es):
    • Date
    • Thread