Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Chord Detector Plugin

Share your components here. First one to 100 wins!

Chord Detector Plugin

Postby de-coder » Wed Apr 17, 2019 3:39 am

Hello. I'm newbie who interested in touchdesigner solution from South Korea.
(Sorry, I can not speak English very well :roll: )

I made a Chord Detection custom plugin based on Chromagram Estimation & Chord Detection by Adam Stark and Mark Plumbley.
https://github.com/adamstark/Chord-Detector-and-Chromagram

It's DAT Operator.

<Option Panel>
Image
(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 of 10 size [C,C#,C,C#,F,C,C,F,C,C].


<Result Table>
Image
(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
https://en.wikipedia.org/wiki/Chord_names_and_symbols_(popular_music)#Chord_quality

4. Interval
additional interval number.
0=none,2=sus2,4=sus4,7=major7th/minor7th/dominant7th
https://en.wikipedia.org/wiki/Chord_names_and_symbols_(popular_music)#Intervals





[INSTALL Mac OSX]

OS : Mac OSX 10.12 or Higher
Tested on Touchdesigner099 2019.11370 64-bit


Install Path : /Users/{ComputerName}/Library/Application Support/Derivative/TouchDesigner{Version}/Plugins/

Install FFTW3
Terminal prompt: brew install fftw
(Hombrew : https://docs.brew.sh/Installation)



[INSTALL Window]

Tested on OS : Window 10 Pro 64 bit
Tested on Touchdesigner099 2019.11370 64-bit


Install Path : /Document/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
Attachments
ChordDetector_Window_DLLs.zip
(965.37 KiB) Downloaded 3 times
ChordDetector.plugin.zip
(20.66 KiB) Downloaded 3 times
de-coder
 
Posts: 1
Joined: Sun Jun 10, 2018 10:03 pm
Location: South Korea

Re: Chord Detector Plugin

Postby Achim » Wed Apr 17, 2019 7:50 am

Thank you!

Cologne area TD artists? Let’s get in touch

Achim
 
Posts: 1686
Joined: Wed Nov 14, 2007 1:52 pm
Location: Cologne


Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 2 guests