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 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 Custom Operator.

<Parameter 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 [C,C#,C,C#,F,C,C,F,C,C] (10 size array).


<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/<username>/Library/Application Support/Derivative/TouchDesigner099/Plugins
Copy file : ChordDetector.plugin

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 : C:/Users/<username>/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
Attachments
ChordDetector_Window_DLLs.zip
(965.37 KiB) Downloaded 68 times
ChordDetector.plugin.zip
(20.66 KiB) Downloaded 66 times
Last edited by de-coder on Tue Apr 30, 2019 3:21 am, edited 3 times in total.
de-coder
 
Posts: 2
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: 1711
Joined: Wed Nov 14, 2007 1:52 pm
Location: Cologne

Re: Chord Detector Plugin

Postby Simplo » Mon Apr 22, 2019 9:13 am

Sorry, I can't understand where the TD file is :(
Simplo
 
Posts: 84
Joined: Thu Feb 05, 2015 5:39 am

Re: Chord Detector Plugin

Postby de-coder » Mon Apr 22, 2019 9:22 am

Simplo wrote:Sorry, I can't understand where the TD file is :(


It's custom operator. so copy and paste files to TD's plugin folder.

This document will help you.
https://docs.derivative.ca/Experimental:Custom_Operators#Using_Custom_OPs
de-coder
 
Posts: 2
Joined: Sun Jun 10, 2018 10:03 pm
Location: South Korea

Re: Chord Detector Plugin

Postby Simplo » Tue Apr 23, 2019 3:16 am

Oh, I got it now!
Thank you!!
It seems very useful!!!!!
Simplo
 
Posts: 84
Joined: Thu Feb 05, 2015 5:39 am


Return to Shared .tox Components

Who is online

Users browsing this forum: shieman and 2 guests