• 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
[iphone] audio units connecting to multi-mixer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[iphone] audio units connecting to multi-mixer


  • Subject: [iphone] audio units connecting to multi-mixer
  • From: steph ohara <email@hidden>
  • Date: Wed, 27 Jan 2010 02:45:09 -0800 (PST)

hi
i am trying to get this AUGraph structure to work on the iphone.

gen       gen
  |             |
multi-mixer
        |
 ioremote

each gen is also a multi-mixer with a callback generating a sine wave
the multi-mixer has no callback (is simply used to mix the gen's)

since my whole design is all wrapped up in classes, i'll try and explain what i'm doing.

the stream descriptions are all the same for the moment so...
both gen's output stream is set for bus 0
mixer's input stream set for bus 0 and 1
mixer's output stream set for bus 0
ioremotes input stream set

mixer connects to ioremote
gen1 connects to mixers bus 0
gen2 connects to mixers bus 1

when each gen is connected on its own, all is well. but when both are connected the audio  is corrupted, a little bit like ring-modulation, distortion.

CAShow :
  Member Nodes:
    node 1: 'auou' 'rioc' 'appl', instance 0x3c22b90 O I
    node 2: 'aumx' 'mcmx' 'appl', instance 0x3c24600 O I
    node 3: 'aumx' 'mcmx' 'appl', instance 0x3c249e0 O I
    node 4: 'aumx' 'mcmx' 'appl', instance 0x3c249c0 O I
  Connections:
    node   2 bus   0 => node   1 bus   0  [2 ch, 44100 Hz]
    node   3 bus   0 => node   2 bus   0  [2 ch, 44100 Hz]
    node   4 bus   0 => node   2 bus   1  [2 ch, 44100 Hz]
  Input Callbacks:
    {0x3a52, 0x3c24430} => node   3 bus   0  [2 ch, 44100 Hz]
    {0x3a52, 0x3c24580} => node   4 bus   0  [2 ch, 44100 Hz]

is this the correct way to connect everything up? what are the likely causes of the problem?
cheers
steph






 _______________________________________________
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: [iphone] audio units connecting to multi-mixer
      • From: Doug Wyatt <email@hidden>
  • Prev by Date: Re: Finding audio frequency
  • Next by Date: Re: [iphone] audio units connecting to multi-mixer
  • Previous by thread: Re: AU initialize/uninitialize
  • Next by thread: Re: [iphone] audio units connecting to multi-mixer
  • Index(es):
    • Date
    • Thread