
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
Text Alive のコード文字列を音の位置の配列に変換するプログラムです。
M ) / マイナー( m ) / セブンス( 7 )m7 ) / メジャーセブンス( M7 ) / 分散コード( / )6 ) / マイナーメジャーセブンス( mM7 ) / セブン フラット・ファイブ( 7(b5) ) 49 ) / サスツー( sus2 ) / フラットファイブの扱いについてon 」の文字列への対応
/ 」の為、優先度低omit 」への対応
sus2 」と「 add9(omit3) 」が、ほぼ同義、かつ、「 sus2 」対応済みの為、優先度低
npm install ta-csa
import ChordController from "ts-csa";
const chordCtrl = new ChordController();
chordCtrl.setIsDebug();
analysisChord を使用します。
[4, 7, 10, 14] が取得できます。const chordArray = chordCtrl.analysisChord("Em7(b5)");
getOctaveChord を使用します。
[2, 4, 7, 10] が取得できます。const chordArray = chordCtrl.getOctaveChord("Em7(b5)");
b5 ( -5 ) が存在した時、5度の音を半音下げる、とします。
b5 ( -5 ) の文字列だけで判定します。m7(-5) 」「 m-5 」「 m(-5) 」の文字列への対応」も含め、以下の様に扱います。
m-5 」「 m(-5) 」を「マイナー・セブン フラット・ファイブ」として取り扱うには、コードが複雑になる為、セブンスとして扱わない事にしました。m7(-5): マイナー・セブン フラット・ファイブm-5: マイナー フラット・ファイブm(-5): マイナー フラット・ファイブB(b5): B の フラット・ファイブBb5: B♭ (先頭から、Bbが有効となる為、5だけになるので、フラットファイブとは見做さない)DM7b5: D の メジャー・セブン フラット・ファイブDbb5: D♭ の フラット・ファイブDmb5: D の マイナー フラット・ファイブdim で四和音のディミニッシュとしているサイトもありますが、当プログラムでは三和音と四和音を分ける為に、 dim は三和音のディミニッシュ・トライアド(減三和音)として扱います。 ↩
m6(b5) の様な記述は、以下理由で、ディミニッシュとして同様に解析されます。
m6(b5): m6 が作成され、 (b5) で5度の音が半音下がるので、 dim7 の表記と同様の解析結果となります。
※Cm6(b5) の場合、 Cm6 の「ド、ミ♭、ソ、ラ」が作成され、5度のソが半音下がり、「ド、ミ♭、ソ♭、ラ」となるので、結果として、「ド、レ♯、ファ♯、ラ」と同じ音の位置が取得されます。 ↩
当プログラムでは、「セブンス」と「サスフォー」の組み合わせで作成しています。 ↩
当プログラムでは、「セブンス」と「フラットファイブ」の組み合わせで作成しています。
参照サイトの表記( C7-5 )と違うのは、当プログラムのフラットの扱いが、基本は b の文字としている為です。 - でもフラットファイブとして取り扱います。 ↩
FAQs
Text-Alive Chord String Analysis
We found that ta-csa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.