[Csnd] Csound for iOS - Avoiding Metronome Recording
Date | 2013-12-25 23:05 |
From | Azfar Jafri |
Subject | [Csnd] Csound for iOS - Avoiding Metronome Recording |
Hi, In Csound for iOS, when making a recording of an instrument, is it possible to use Csound's metronome opcode for clicks and avoid recording the metronome sound somehow while recording the other instruments? Any help would be much appreciated. Thanks. Regards, Azfar -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-iOS-Avoiding-Metronome-Recording-tp5730963.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-12-26 17:33 |
From | zappfinger |
Subject | [Csnd] Re: Csound for iOS - Avoiding Metronome Recording |
Are you recording audio or midi? If you are recording audio, you could send the metronome clicks to a midi instrument (external or internal). Besides, it depends how you record audio. If you are not using the fout opcode you could probably output audio and at the same time record new audio directly. Richard -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-iOS-Avoiding-Metronome-Recording-tp5730963p5730979.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-12-31 05:54 |
From | Steven Yi |
Subject | Re: [Csnd] Csound for iOS - Avoiding Metronome Recording |
I imagine you could use a csound instrument to record the audio to disk using the fout opcode. To do that, you'd have to have a mixer instrument that gathered up all the audio you would want to record, then you could turn on fout or turn it off (could use a k-rate channel to signal the instrument to use fout or not). The metronome instrument could in turn write directly to outs and bypass the mixer instrument. Another possibility would be to modify CsoundObj to run to CSOUND instances, one for the metronome and the other being the regular CSOUND instance. Audio recording then could be done from the CsoundObj code, but only reading the audio from the regular CSOUND instance. This is a bit more work IMO but would offer better control from the Obj-C side of your project. On Wed, Dec 25, 2013 at 6:05 PM, Azfar Jafri |
Date | 2013-12-31 18:52 |
From | Azfar Jafri |
Subject | [Csnd] Re: Csound for iOS - Avoiding Metronome Recording |
Thanks Richard. Trying it now. Regards, Azfar -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-iOS-Avoiding-Metronome-Recording-tp5730963p5731077.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2013-12-31 18:55 |
From | Azfar Jafri |
Subject | [Csnd] Re: Csound for iOS - Avoiding Metronome Recording |
I agree Steven. Is the Csound's Remote IO Audiounit part of a graph created beforehand or is it just a standalone unit? If I create a mixer unit then maybe I can output the metronome at a different channel? Regards, Azfar -- View this message in context: http://csound.1045644.n5.nabble.com/Csound-for-iOS-Avoiding-Metronome-Recording-tp5730963p5731078.html Sent from the Csound - General mailing list archive at Nabble.com. |
Date | 2014-01-14 13:35 |
From | Steven Yi |
Subject | Re: [Csnd] Re: Csound for iOS - Avoiding Metronome Recording |
Hi Azfar, The AudioUnit is not a separate Unit at this time. It is created manually in CsoundObj.m. I think it could be a nice change to refactor out a separate CsoundAudioUnit.m class that CsoundObj could use, but could also be used on its own. Is that what you were also thinking? If so, could you post an enhancement ticket to the Csound tracker for this? Thanks! steven On Tue, Dec 31, 2013 at 1:55 PM, Azfar Jafri |