[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] Pitch tracking [+ installing Tartini]
- To: sc-users@xxxxxxxxxxxxxxxx
- Subject: Re: [sc-users] Pitch tracking [+ installing Tartini]
- From: Dan Stowell <danstowell+sc3@xxxxxxxxx>
- Date: Wed, 22 Sep 2010 18:45:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=+I9ZJG8Gu0OjHs7NIJt52S9+g4u5Ui/se3C3ioKaoW4=; b=sUCYVV75lDQKlMJ8T1SfZE2M2AOLA+SFax7owurhaMMnNGt9QcMv1zEzdRu2UmZ7LN 9tlIfanfvA0VGyPIKXiFtVsuavEtaxZOBNgvklfOY0+nA/VJfblTQx9aP0JCrIm0Cn/0 4GFqcuXPE4z85RApQYIzwgkNl7XiAyNKDs/R8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=NXqZ6axkxYDnwJfhAVoh4AA2/wlu2EAz4lAQ9LwpFCqYLHqWhm39czvMGLmAvSwM4n lFrqJsNcCRwygVVYaAt2tUtzeYIdWZTDMWgNs1lLid6g59IdpOsTfojq9PI8bhlpOx5h 4fjAbcRF4y7+x9mHD5IuoaxmEJokNcIu3KVEg=
- In-reply-to: <4C9A305C.2030308@xxxxxxxxxxxxxxxxx>
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <4C9630F7.7080204@xxxxxxxxxxxxxxxxx> <AANLkTi=z9o9qVQuM+6-EBOuWG76dgMS-51e39EfSyVX7@xxxxxxxxxxxxxx> <4C9A305C.2030308@xxxxxxxxxxxxxxxxx>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
Hi -
That's not an error, it's a warning. It just tells you that our scons
code is bit sloppy... but it should complete successfully?
Dan
2010/9/22 Peter O'Doherty <mail@xxxxxxxxxxxxxxxxx>:
> Thanks a lot for the tips.
>
> I'm certainly keen to check out Tartini as well, I just can't manage to get
> it installed. I've tried doing "scons" in share/sc3-plugins but it throws a
> repeating error:
>
> scons: warning: Two different environments were specified for target
> /home/peter/supercollider/common/Source/common/SC_fftlib.os,
> but they appear to have the same action: $SHCXX -o $TARGET -c
> $SHCXXFLAGS $SHCCFLAGS $_CCCOMCOM $SOURCES
> File "/home/peter/share/sc3-plugins/SConstruct", line 352, in <module>
>
> Anyone have any ideas what might be wrong (I'm on Linux)?
>
> Thanks,
> Peter
>
>
>
>
> On 09/19/2010 06:17 PM, Chad McKinney wrote:
>
> Hi Peter,
> Check out SendTrig and SendReply. Using either of those classes you could do
> all the above things, also you might want to check out Tartini instead of
> Pitch. If you're interested in only notated rhythm, (say for a drum part or
> something) you could use Onset.kr. Sounds fun, I hope it works out for you.
> Best,
> Chad
>
> On Sun, Sep 19, 2010 at 8:49 AM, Peter O'Doherty <mail@xxxxxxxxxxxxxxxxx>
> wrote:
>>
>> Hi,
>> I have a couple of questions concerning Pitch. Using the code below I get
>> the frequency and midi information in the following format:
>>
>> freq: 440
>> [ /tr, 1001, 69, 440 ]
>> freq: 272.809
>> [ /tr, 1001, 60, 272.80856323242 ]
>>
>> Is there any way to "trim" this to print only freq and midi in a form such
>> as: 440 69 ?
>> Is there any way to store the polled frequency information to allow it to
>> be exported to, for example, excel?
>> Is it possible to convert the "copy" channel to a midi file, including
>> attack info?
>> (Yes, I'm looking for a method to created a rough transcription of an
>> audio file.)
>> Thanks,
>> Peter
>>
>> (
>> SynthDef("pitchFollow1",{|t_poll = 0|
>> var in, amp, freq, hasFreq, out, original, copy;
>> in = PlayBuf.ar(1, c.bufnum, loop:0);
>>
>> # freq, hasFreq = Pitch.kr(in, ampThreshold: 0.01, median: 7);
>>
>> original = PlayBuf.ar(1, c.bufnum, loop: 0) * 2;
>> copy = SinOsc.ar(freq, 0, 0.2);
>>
>> Poll.kr(Impulse.kr(10), freq, "freq", freq.cpsmidi, "midi");
>> Out.ar(0, [original, copy]);
>>
>> }).play(s);
>> )
>>
>> --
>> -> Peter O'Doherty
>> -> http://www.peterodoherty.net
>> -> mail@xxxxxxxxxxxxxxxxx
>>
>> **** rhizoradio
>> **** live every sunday at 18:00 (CET) on DFM
>> **** http://dfm.nu
>> **** http://rhizoradio.net
>> **** podcast: http://www.peterodoherty.net/rhizoradio/rhizoradio.xml
>> *************************************************
>>
>>
>> _______________________________________________
>> sc-users mailing list
>>
>> info (subscription, etc.):
>> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
>
>
>
> --
> -> Peter O'Doherty
> -> http://www.peterodoherty.net
> -> mail@xxxxxxxxxxxxxxxxx
>
> **** rhizoradio
> **** live every sunday at 18:00 (CET) on DFM
> **** http://dfm.nu
> **** http://rhizoradio.net
> **** podcast: http://www.peterodoherty.net/rhizoradio/rhizoradio.xml
> *************************************************
>
--
http://www.mcld.co.uk
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/