Csound Csound-dev Csound-tekno Search About

detect chords from audio - spectrum

Date2017-07-02 16:32
FromRoger Kelly
Subjectdetect chords from audio - spectrum
I am trying to devise a method to check notes down on a keyboard from an audio in source.

Could the "spectrum" opcode be used to detect what keys are down? Assuming they would show peaks in the bins from the FFT.

If so, what might a sample orc look like?

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2017-07-02 17:42
FromJohn ff
SubjectRe: detect chords from audio - spectrum
There are a number of pitch detection opcodes, the best depends on the sound.

Sent from TypeApp
On 2 Jul 2017, at 16:43, Roger Kelly <loraxman@GMAIL.COM> wrote:
I am trying to devise a method to check notes down on a keyboard from an audio in source.

Could the "spectrum" opcode be used to detect what keys are down? Assuming they would show peaks in the bins from the FFT.

If so, what might a sample orc look like?

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here