Hello. I’m newbie who interested in touchdesigner from South Korea.
(Sorry, I can not speak English very well )
I made a Chord Detection custom plugin based on Chromagram Estimation & Chord Detection by Adam Stark and Mark Plumbley.
[url]https://github.com/adamstark/Chord-Detector-and-Chromagram[/url]
It’s DAT Custom Operator.
(please open image with new tab)
1. CHOP:Audio File in
use CHOP Audio File In operation.
2. Target Channel
Select one channel among the entire channels of the audio file. (e.g. chan1 is 1)
(Samplerate is detected automatically.)
3. TouchDesigner’s FPS
write FPS setting value of your touchdesigner project.
4. Calculate Buffer Size
It’s audio frame size for calculate chromagram.
5. Calculate Average Count
It’s corrects irregular chromagram values. For example, if Calculate Average Count is 10, C is corrected value of calculated values [C,C#,C,C#,F,C,C,F,C,C] (10 size array).
(please open image with new tab)
1. Chord
result chord of string type
2. Chord Num
result chord of int type
0=C,1=C#,2=D,3=D#,4=E,5=F,6=F#,7=G,8=G#,9=A,10=A#,11=B
3. Quality
The chord quality.
0=Minor,1=Major,2=Suspended,3=Dominant,4=Dimished5th,5=Augmented5th
[url]Chord notation - Wikipedia
4. Interval
additional interval number.
0=none,2=sus2,4=sus4,7=major7th/minor7th/dominant7th
[url]Chord notation - Wikipedia
[INSTALL Mac OSX]
OS : Mac OSX 10.12 or Higher
Tested on Touchdesigner099 2019.11370 64-bit
Install Path : /Users//Library/Application Support/Derivative/TouchDesigner099/Plugins
Copy file : ChordDetector.plugin
Install FFTW3
Terminal prompt: brew install fftw
(Hombrew : [url]https://docs.brew.sh/Installation[/url])
[INSTALL Window]
Tested on OS : Window 10 Pro 64 bit
Tested on Touchdesigner099 2019.11370 64-bit
Install Path : C:/Users//Documents/Derivative/Plugins
Copy files : ChordDetector.dll, libfftw3-3.dll
I hope it will be useful for you.
=====================================
please visit our corporate website
https://work.lightive.co
ChordDetector_Window_DLLs.zip (965 KB)
ChordDetector.plugin.zip (20.7 KB)