<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Detecting Chord&#x27;s with adc~]]></title><description><![CDATA[<p>Hi there.</p>
<p>I'm trying to get the chords played by a piano or a guitar by the frequency they produce, and i was able so far to get only the pitch from a single note.</p>
<p>Anyone as an ideia on how this is done?</p>
<p>Best regards</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 11:18:54 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/5989.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Feb 2012 00:05:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Mon, 20 Feb 2012 00:05:07 GMT]]></title><description><![CDATA[<p>Hi there.</p>
<p>I'm trying to get the chords played by a piano or a guitar by the frequency they produce, and i was able so far to get only the pitch from a single note.</p>
<p>Anyone as an ideia on how this is done?</p>
<p>Best regards</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc</guid><dc:creator><![CDATA[hmvassalo]]></dc:creator><pubDate>Mon, 20 Feb 2012 00:05:07 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Mon, 20 Feb 2012 13:48:48 GMT]]></title><description><![CDATA[<p>Shame nobody's come up with any suggestions yet, I also wondered about objects that could be used. I'd love to find something - not midi - that can recognise a note, in some way. The only object which springs to mind is [fiddle~]. I haven't really tried it out yet but it would (I think) be possible to send the output of [fiddle~] via an [int] and [sel] object to trigger notes/bangs via an [osc~] if that's what you needed.</p>
<p>Here's a link to a question/discussion I had via this site concerning [fiddle].</p>
<p><a href="http://puredata.hurleur.com/sujet-6746-adc-object-volume-input" rel="nofollow">http://puredata.hurleur.com/sujet-6746-adc-object-volume-input</a></p>
<p>However, if anybody else has some suggestions?</p>
<p>I thought to attach a very sloppy patch that demonstrates what I'm saying. The main problem is that singing a pitch = 60 means that all the pitches around 60 get converted via the [int] object. This means you get several 'bangs'. Anyhow, with a little work I'm sure this could be perfected.</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/fiddle~.pd" rel="nofollow">http://www.pdpatchrepo.info/hurleur/fiddle~.pd</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/2</guid><dc:creator><![CDATA[joesh]]></dc:creator><pubDate>Mon, 20 Feb 2012 13:48:48 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Mon, 20 Feb 2012 17:58:25 GMT]]></title><description><![CDATA[<p>I haven't looked into this since about a year ago, but at that time, anyway, real-time polyphonic pitch detection wasn't yet very successful. The non-real-time methods I came across were pretty intense.</p>
<p>[fiddle~] does give you the option of trying to track up to three pitches, but it's not very good. Particularly with more consonant intervals, it tends to get them wrong or miss them altogether. I'm guessing because there are more overlapping harmonics with those intervals.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/3</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Mon, 20 Feb 2012 17:58:25 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Mon, 20 Feb 2012 19:04:32 GMT]]></title><description><![CDATA[<p>Hi there Joesh, actually i managed to detect the pitch of a signle note on a guitar and convert it (with milisec's delay) to midi note with sigmund~ pitch object. and its actually accurate enough to produce some real time effects especially when operating with midi with logic or ableton live, that's what i tried, but the guitar player that i know and the composition we are about to produce contains a lot of chords and i want a list of the fundamental and harmonics to get that chord in a single value or multiple values so that i can apply some math on it in order to get a fundamental pitch of a chord. if anyone knows a lot about this, i would be glad to hear something from you.</p>
<p>Maelstorm, what you are saying about fiddle its really true, the first picth detection i tried to make with fiddle was really depressing and i had already 2 times the size of the patch that i have now with sigmund~, just to try to control all those randomly incoming values.</p>
<p>I had a workshop in January with Marco Donnarumma and i really believe that he knows a lot about this, but probably i cannot get in touch with him as often as i needed to get to really do something or understand it at least.</p>
<p>Best Regards</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/4</guid><dc:creator><![CDATA[hmvassalo]]></dc:creator><pubDate>Mon, 20 Feb 2012 19:04:32 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 00:50:46 GMT]]></title><description><![CDATA[<p>Hi Aijeen</p>
<p>I thought about the same problems that you mentioned just after I posted the reply. Interestingly enough I occasionally have some contact with Marco Donnarumma via twitter, so you could always leave a message there, or on his website.</p>
<p>Another place to ask questions is via the PD-list and Miller Puckette (and Co) are very happy to answer questions via the 'list'. Try (or leave) a question there as someone may have a good answer.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/5</guid><dc:creator><![CDATA[joesh]]></dc:creator><pubDate>Tue, 21 Feb 2012 00:50:46 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 03:55:04 GMT]]></title><description><![CDATA[<p>even for a human ear and brain, it is very hard to tell which individual notes make up a chord, just by hearing it played.</p>
<p>For example, you could play a C major root chord to a musician, and they'll tell you that it's a C chord. However, they are not hearing the 3 individual notes that make up the chord as separate tones - they are just telling you from experience that the total sound is what a C chord sounds like.<br />
If you randomly hit 3 keys on a piano as a chord, then even trained musicians will have a lot of difficulty in knowing which 3 notes make up the resulting chord.</p>
<p>To an extent, the Melodyne software system seems to do quite well at polyphonic chord detection, but it's not a realtime process, and also it's not at all easy to understand.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/6</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/6</guid><dc:creator><![CDATA[mod]]></dc:creator><pubDate>Tue, 21 Feb 2012 03:55:04 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 05:04:30 GMT]]></title><description><![CDATA[<p>It kind of depends on the training, I think. I can hear solitary chords and tell you whether or not they are major, minor, dom7, and so forth. I don't hear them as individual notes, just as sonorities. But since I know what makes those chords, I can, of course, tell you the notes--if you give me a reference note. I have a decent ear for relative pitch, but not absolute pitch (perfect pitch).</p>
<p>In the context of tonal music, chords have functional roles, and it makes it even easier to tell what they are based on how they work. Subdominant chords want to go to the dominant, and dominants want to go to the tonic, etc.</p>
<p>In terms of just random notes, as long as there aren't too many, I can probably tell you what they are (again, needing a reference). Three is doable. An eight-note cluster, though...forget it. BUT with clusters, you can generally at least pick out the highest and lowest notes. For simpler chords, like triads, this greatly helps in hearing what inversion the chord is (i.e. which note is in the bass).</p>
<p>I've met a few people with perfect pitch who can pull out any note they hear, and I really want to punch them every time they do it (genetically over-privileged bastards). Interestingly, many of them don't particularly like their talent. A lot of them say it makes it difficult to listen from a more &quot;relative pitch&quot; perspective, which has a lot to do with how chords function in tonal music.</p>
<p>I'm not going to lie, I forgot where I was going with all of this.....Fuck it. SUBMIT!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/7</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/7</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Tue, 21 Feb 2012 05:04:30 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 09:08:41 GMT]]></title><description><![CDATA[<p>It's fun to see the thread that's developed from the initial question.</p>
<p>As Maelstorm says it is easily possible to recognise notes, chords and their function. I know because :</p>
<p>a) I had to do it - a long time ago - to get my diplomas in music.<br />
<img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/sunglasses.png" title="b)" alt="b)" /> I now teach the stuff, and it's standard practice for all jazz musicians to recognise complicated chords, chord movements, notes and note intervals.</p>
<p>As Maelstorm also points out, most trained musicians hear all this relatively, which is the most common and practical situation we find ourselves in. Those with perfect pitch (not my case) find it useful and frustrating depending on situations, a long story and probably too long to go into here.</p>
<p>But, back at the original question. I think that as 'Mod' mentioned, it is a very complex problem to recognise notes and analyse them as the modulation around a note must complicate the problem. Just putting a number box on the first output of [fiddle~], singing a note and watching the numbers jiggle around proves the point. However, if guitar tuners, automatic note correction units - to be found in all studios - and transposition programs such as 'Transcribe' can analyse the sound spectrum and come up with accurately corrected notes or chord names, then Pure Data should be able to do it also.</p>
<p>Unfortunately I'm reasonably new to Pure Data otherwise I'd be trying to build something to solve this problem, and after that's what makes PD fun and different as it grows as if there just isn't an object that does it now, the answer is actually ....... yet!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/8</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/8</guid><dc:creator><![CDATA[joesh]]></dc:creator><pubDate>Tue, 21 Feb 2012 09:08:41 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 14:50:56 GMT]]></title><description><![CDATA[<p>The question for a polyphonic pitch tracker (and shifter) pops up frequently these days. For a short while, I've also had the hope we could bring this to Pd if only we know the secrets of recent techniques like used in Melodyne DNA.</p>
<p>Well, there is no secret in Melodyne DNA. All it's details are described in a patent application:</p>
<p><a href="http://www.google.com/patents/US8022286?printsec=description#v=onepage&amp;q&amp;f=false" rel="nofollow">http://www.google.com/patents/US8022286?printsec=description#v=onepage&amp;q&amp;f=false</a></p>
<p>If you're familiar with the frequency domain, you'll probably understand the whole story. The text also makes clear why note separation, needed for polyphonic analysis and processing, can not be done in 'real' real time: the analysis is done on 'note objects'. Meaning, it works on notes which are in memory from start till end. You'd have a few seconds latency at least. Besides that, high quality note separation seems to be an elaborate process. It will consume quite some CPU %s, and more important, quite a bit of programming effort.</p>
<p>This is a contrast with monophonic pitch tracking which needs no more than a few periods of a sound before it can start reporting a pitch.</p>
<p>Katja</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/9</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/9</guid><dc:creator><![CDATA[katjav]]></dc:creator><pubDate>Tue, 21 Feb 2012 14:50:56 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 16:53:19 GMT]]></title><description><![CDATA[<p>Thats it katjav i've followed also all your posts regarding pitch detection and pitch modulation and i was really impressed on all of your research, it's really amazing and actually influenced all of my research, and even tough i really understand why it would take too much of a cpu resource in a real time situation that's what's needed to be done, and this is, as you said, of much concern in the community maybe its time for some really efforts on trying to develop this tool.</p>
<p>I'll try go get as much information as i can with my college teacher's of processing and interactive sound. And i actually should contact Marco Donnarumma, i'm almost sure he knows something about this.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/10</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/10</guid><dc:creator><![CDATA[hmvassalo]]></dc:creator><pubDate>Tue, 21 Feb 2012 16:53:19 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 17:08:42 GMT]]></title><description><![CDATA[<p>By the way there is a game of much inspiration on this project that you should check out, there is a link for an youtube video.</p>
<p>Sometimes the sound is not really interesting but the concern with visual effects related to audio its huge.</p>
<p><div class="embed-container"><iframe src="//www.youtube.com/embed/pWPSfX6X4AY&amp;feature=related" width="640" height="360" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div></p>
<p>Now imagine your guitarist, kinda messing with the environment with those chords and single notes.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/11</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/11</guid><dc:creator><![CDATA[hmvassalo]]></dc:creator><pubDate>Tue, 21 Feb 2012 17:08:42 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 21 Feb 2012 23:18:05 GMT]]></title><description><![CDATA[<p>Just an update. I left a message on the PD-List asking about this topic, here's the reply - from William Brent - which could be useful to anyone looking for a solution :</p>
<p><em>I don't know of any polyphonic pitch tracking object in Pd, but there's PolyPitch in SuperCollider. You could run it there and route the results to Pd via OSC. The quality of results will depend a lot on the kind of input signal you're trying to analyze.</em></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/12</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/12</guid><dc:creator><![CDATA[joesh]]></dc:creator><pubDate>Tue, 21 Feb 2012 23:18:05 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Wed, 22 Feb 2012 15:42:07 GMT]]></title><description><![CDATA[<p>Hello everybody:</p>
<p>I found interesting info about PolyPitch, besides source code, here:</p>
<p><a href="http://www.sussex.ac.uk/Users/nc81/code.html#SC" rel="nofollow">http://www.sussex.ac.uk/Users/nc81/code.html#SC</a></p>
<p>and here:</p>
<p><a href="http://arg.cs.tut.fi/index.php/research/musicanalysis" rel="nofollow">http://arg.cs.tut.fi/index.php/research/musicanalysis</a></p>
<p>Since I don't have the time and probably the skills to develop this, I leave it to the better prepared: you. I wish you success.</p>
<p>Sumidero</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/13</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/13</guid><dc:creator><![CDATA[sumidero]]></dc:creator><pubDate>Wed, 22 Feb 2012 15:42:07 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Wed, 22 Feb 2012 17:28:01 GMT]]></title><description><![CDATA[<p>Hi Joesh</p>
<p>I'm in the middle of that experience you told, working with SuperCollider and PD actually i have the polypitch patch already, the only problem now is...how to send communications to PD. I am aware of the receiving process in PD and i tried already with OSCulator, and it really works good. But how to send the Polypitch analysis from Super Collider, i have no ideia.</p>
<p>Best regards</p>
<p><a href="http://www.pdpatchrepo.info/hurleur/PolyPitch.sc" rel="nofollow">http://www.pdpatchrepo.info/hurleur/PolyPitch.sc</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/14</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/14</guid><dc:creator><![CDATA[hmvassalo]]></dc:creator><pubDate>Wed, 22 Feb 2012 17:28:01 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Wed, 22 Feb 2012 18:56:38 GMT]]></title><description><![CDATA[<p>Hi Aijeen, I'm going to look into it in a week or two as I'm busy trying to solve another PD problem at the present. It certainly looks interesting ...... in fact I'm mighty curious!</p>
<p>Keep me posted if you get anywhere.</p>
<p>Thanks.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/15</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/15</guid><dc:creator><![CDATA[joesh]]></dc:creator><pubDate>Wed, 22 Feb 2012 18:56:38 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 18 Sep 2012 15:53:00 GMT]]></title><description><![CDATA[<p>Hi Aidjeen,</p>
<p>I know this thread is a couple months old, but I'm very curious about whether or not you figured a way to send the PolyPitch output to PD. If you did, could you possibly share the process?</p>
<p>Thanks.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/16</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/16</guid><dc:creator><![CDATA[cbjatc]]></dc:creator><pubDate>Tue, 18 Sep 2012 15:53:00 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Tue, 18 Sep 2012 19:15:56 GMT]]></title><description><![CDATA[<p>Hi cbjact.</p>
<p>I really didn't, and actually i found another way to do it so.<br />
My main purpose was to get the notes of each string in and electric guitar, and<br />
for doing so i would get the chords in real time. My teacher explained me and it makes a lot of sense, that digitally its really hard to get perfect results, since the harmonics of each note will coincide with other notes from other octave.</p>
<p>What i did was going around this, and so i built a single string pickup, connecting each one to an audio interface, and configuring adc~ with inputs from 1 to 6. and adding sigmund ~pitch. This object is really amazing since you can get it to work with a lot precision, or with no precision at all.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/17</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/17</guid><dc:creator><![CDATA[hmvassalo]]></dc:creator><pubDate>Tue, 18 Sep 2012 19:15:56 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Wed, 19 Sep 2012 11:07:30 GMT]]></title><description><![CDATA[<p>I think that is the way that Midi Guitar work : one pitch detection for each string.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/18</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/18</guid><dc:creator><![CDATA[esox]]></dc:creator><pubDate>Wed, 19 Sep 2012 11:07:30 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Wed, 19 Sep 2012 12:39:58 GMT]]></title><description><![CDATA[<p>Yeah its true, there is something you can try, plug-a jack TS to your computer input, and concet the other tip to a guitar, try to do some pick'n in your strings, and use pure data to get the pitch you are playing and transform that into midi notes.</p>
<p>Dont forget to route your internal midi.<br />
Try to play in VST Synth that actually has a keyboard and you will see, wich string matches the piano keys. All in real time, with a little bit of delay.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/19</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/19</guid><dc:creator><![CDATA[hmvassalo]]></dc:creator><pubDate>Wed, 19 Sep 2012 12:39:58 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Wed, 19 Sep 2012 20:57:25 GMT]]></title><description><![CDATA[<p>[helmholtz~], written by Katjav, seems to be a very efficient external to find pitch, also.</p>
<p><a href="http://puredata.hurleur.com/sujet-6776-helmholtz-guess" rel="nofollow">http://puredata.hurleur.com/sujet-6776-helmholtz-guess</a></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/20</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/20</guid><dc:creator><![CDATA[nau]]></dc:creator><pubDate>Wed, 19 Sep 2012 20:57:25 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Sat, 17 Nov 2012 05:07:02 GMT]]></title><description><![CDATA[<p>Using helmholtz~ , is it possible that filtering out the detected frequency and sending the (filtered) audio to a second helmholtz~ for pitch detection would result in an effective polyphonic pitch detector? For my initial experimenting with this, I hooked up a series of six helmholtz~ objects, taking the output from each to set a hipass filter with a cutoff frequency just above the detected frequency. I then send the audio input source through the filter and into the next helmholtz~ , with the hope that I have reduced the first detected frequency by enough that the next most dominant frequency will be detected.</p>
<p>The result with my electric guitar as input source was interesting; most of the time all six helmholtz~ objects output the same frequency. However, I found that if I played softly enough, I could get some of the frequencies to 'stick' at their previous values. It's kind of a cool effect in its own way, but not what I was going for, since my hope was to be able to trigger full chord changes.</p>
<p>I think maybe some of the problem may be my implementation, since I'm pretty new to pd, and I'm going to be playing with this a little more to see if I can get it working better. I'm curious though, if anyone else has tried this method before, and if I'm trying something that will definitely not work.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/21</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/21</guid><dc:creator><![CDATA[Deepness]]></dc:creator><pubDate>Sat, 17 Nov 2012 05:07:02 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Sat, 17 Nov 2012 05:23:57 GMT]]></title><description><![CDATA[<p>The problem with that is that one pitch contains many frequencies that are harmonically relate (i.e. integer multiples of the fundamental frequency). So filtering out the fundamental won't eliminate the pitch. You could use a comb filter to take out the harmonics, but if other pitches share those frequencies (which happens with consonant intervals) it could make detection of those other pitches more difficult. This is one of the major problems with polyphonic pitch detection. It's common for chords to contain notes with overlapping frequency content, so it can be difficult to determine whether certain frequencies belong to one note or several.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/22</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/22</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Sat, 17 Nov 2012 05:23:57 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Sat, 17 Nov 2012 10:30:17 GMT]]></title><description><![CDATA[<p>Hi Deepness, nice to see a new user among us, welcome.</p>
<p>As Maelstorm says it's a pretty difficult task. I (as you'll notice) am up at the beginning of the conversation. I got pretty good results for notes that trigger sounds etc, although obviously not for chords, using [fiddle~]. There's also [sigmund~] which is a little simpler in it's output possibilities.</p>
<p>I'm working in vocal recognition and as Maelstorm and others point out 'the' big problem in all these situations is filtering out/recognising certain frequencies .... and then some. Funnily enough it makes me think of a markov chain algorithm (an HMM thought of by Rabiner?)which is used in voice recognition. It's got me thinking if this could be implemented in PD!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/23</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/23</guid><dc:creator><![CDATA[joesh]]></dc:creator><pubDate>Sat, 17 Nov 2012 10:30:17 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Sun, 25 Nov 2012 00:16:29 GMT]]></title><description><![CDATA[<p>Look at it as a physiology problem. The ear can identify the notes that make up the chord because critical parts of the brain have been taught that the combination of notes that make up the chord; the fundamentals present in the chord, and their several harmonics (overtones or partials), as well as the 'beating' interactions will give you the sound of the chord. Also there are 'amplitude' issues. That means that the higher pitched notes that make up the overtones are generally much lower in amplitude that the fundamental that generated them. The key point,- the brain, in its own wonderful way, was taught to recognize that chord. BTW - how the brain does that is a whole other discussion, very interesting, but very complicated. So that is what a piece of 'machinery' would have to imitate.</p>
<p>However when you try to imitate that with 'hardware' you are stuck with the problem that you will have three or possibly more fundamental notes and then all of there harmonics all interacting.</p>
<p>Possibly you could create the spectrum of the chord which, theoretically, will show you all the notes, - the fundamentals and the several (or many) harmonics including 'aplitude' interaction. Then possibly you could pump that data into a good, high performance processor and use some very elegant AI type software. The software would analyze the list of individual notes, put each fundamental together with its harmonics, isolate the beat generated notes, account for amplitude differences and them present to you the result. The most interesting result would be the list of the original three or four notes that went into the original chord. The program you'd need is really the 'alter-ego' as it were, of what the brain was taught to recognize the chord.</p>
<p>Hope this helps.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/24</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/24</guid><dc:creator><![CDATA[hic]]></dc:creator><pubDate>Sun, 25 Nov 2012 00:16:29 GMT</pubDate></item><item><title><![CDATA[Reply to Detecting Chord&#x27;s with adc~ on Mon, 26 Nov 2012 23:07:00 GMT]]></title><description><![CDATA[<p>There was one particular technique that I came across a while back that does something that I think is similar to what you are talking about. It first did a spectral analysis of the notes that an instrument could play and make a dictionary database of them. So, for example, the dictionary might contain a bunch of magnitude spectra of piano notes. It could then take a recording of a chord and find the combination of notes in the dictionary that best matches the spectrum of the chord. It worked very well for pre-recorded material, but obviously it required too much processing to be practical in real time.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/25</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/5989/detecting-chord-s-with-adc/25</guid><dc:creator><![CDATA[Maelstorm]]></dc:creator><pubDate>Mon, 26 Nov 2012 23:07:00 GMT</pubDate></item></channel></rss>