• 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
Re: Playing through speaker, recording through line in
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Playing through speaker, recording through line in


  • Subject: Re: Playing through speaker, recording through line in
  • From: Alex Wiltschko <email@hidden>
  • Date: Mon, 8 Feb 2010 21:34:47 -0500

Would it be possible to instantiate two separate audio units, one for recording, and the other for playthru? The recording remoteIO unit could pass audio directly to the playthru remoteIO unit.
 I've run two remoteIO units side-by-side before, but I did not try to change their audio routes.

On Feb 3, 2010, at 9:59 PM, William Stewart wrote:

it can't at this point. 

On Feb 1, 2010, at 1:45 PM, Alex Wiltschko wrote:

I haven't played with the iPod Touch, but I've experienced what you detail for the iPhone.
Having the speaker play out and the microphone acquire audio creates some really nasty feedback, since I'm acquiring audio and playing it out simultaneously. 

I wouldn't mind sending audio to both the speaker & headset, as long as the audio input comes from the line input/headset.

Any ideas on how to force the iPhone to do this?

Alex

On Mon, Feb 1, 2010 at 3:30 PM, Hamilton Feltman <email@hidden> wrote:
I've found that using the speaker override on an iPhone, it silences the headset output, and uses the speaker output and microphone on the device (provided you call it after the headset has been plugged in).

Calling the speaker override on an iPod touch will send output to the headset AND the speaker out, and uses the headset mic. Not sure if this is the intended behavior, but that's what happens.


On Mon, Feb 1, 2010 at 6:55 AM, Alex Wiltschko <alex.bw@gmail.com> wrote:


---------- Forwarded message ----------
From: Alex Wiltschko <alex.bw@gmail.com>
Date: Mon, Feb 1, 2010 at 9:54 AM
Subject: Re: Playing through speaker, recording through line in
To: Aran Mulholland <email@hidden>


Right, I've done the route override already.

But, for the app I'm building, the "headset" input will actually just be a mono line-in signal.
So, in this case, there are no headphones to play the signal back through.

Again, want to acquire audio from the line input, and output audio from the speaker. Possible?

Alex


On Mon, Feb 1, 2010 at 1:54 AM, Aran Mulholland <email@hidden> wrote:
from the audio session services reference -
http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Cookbook/Cookbook.html



UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;  // 1

AudioSessionSetProperty (
   kAudioSessionProperty_OverrideAudioRoute,                         // 2
   sizeof (audioRouteOverride),                                      // 3
   &audioRouteOverride                                               // 4
);

--meaning you can override the output of the audio. I have found doing
this i had to then monitor if the headphone was plugged in etc and
redirect.

The user expects the output to come out the headphones if they are plugged in.

aran



 _______________________________________________
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


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
References: 
 >Fwd: Playing through speaker, recording through line in (From: Alex Wiltschko <email@hidden>)
 >Re: Playing through speaker, recording through line in (From: Hamilton Feltman <email@hidden>)
 >Re: Playing through speaker, recording through line in (From: Alex Wiltschko <email@hidden>)
 >Re: Playing through speaker, recording through line in (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Audio stuttering under CPU load
  • Next by Date: Examples?
  • Previous by thread: Re: Playing through speaker, recording through line in
  • Next by thread: Re: Simulating Vibrato With Sine Wave
  • Index(es):
    • Date
    • Thread