問題タブ [onset-detection]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
0 に答える
499 参照

matlab - Wrong onset detection when using MATLAB GUI

I'm trying to create a GUI on MATLAB that will automatically transcribe piano music when a .wav file is given as an input. Before using GUI I created the whole algorithm using MATLAB and it worked just fine.

Now when I create the GUI and transfer the codings there, my onset (peak) detection produces wrong results as the envelope of my signal is not as smooth as how it was when run using matlab script.

Onsets before using GUI

Onset Detection after when using GUI

As you can see the envelope is pretty much smooth when used normally rather than when using GUI. Due to these peaks are detected all over the slope as well and not just at the actal peaks.

This is the code I used to build the algorithm:

And this is what I included in the GUI script:

What am I doing wrong here?? Really appreciate if someone could help me out here. Thanx in advance...

0 投票する
0 に答える
312 参照

ios - iOS での BPM 検出オプション

iOS の BPM 検出に関するリソースをネットで探し、さまざまな手法を実装し、さまざまなライブラリにリンクしようとしましたが、ビルド エラーまたは bpm 検出が機能しないという問題があります。

iOS での基本的な BPM 検出の実行可能なオプションは何ですか? オンセット位置で非常に正確である必要はありませんが、一連のオーディオ バッファーの BPM を検出するだけです。

VAMP を試しましたが、iOS で実行できません。さまざまな C++ オプションを試しましたが、どれも機能しません。

iOS と簡単に統合できる MIT ライセンスの BPM 検出アルゴリズム、または完全なオーディオ ライブラリ用であるために負荷がかからない商用オプションはありますか。マイク経由ではなく、ファイルから BPM を検出したいと考えています。

現時点では自分で学習して実装する時間がないため、BPM 検出器クラスが欲しいだけです。

どんな助けでも大歓迎です。

0 投票する
1 に答える
913 参照

python - wav ファイルで再生されたノートのタイムスタンプを見つける

いくつかのギター音楽が録音された wav ファイルがあるとします。音は非常にきれいで、余分な音はギター自体とおそらくメトロノームのカチカチ音だけです。

Python で演奏された各音符 (または和音) のタイムスタンプを見つける最良の方法は何でしょうか? メモ自体を特定する必要はなく、メモが発生したときのタイムスタンプだけを特定する必要があります。

こういうことは今までやったことがなかったので、ちょっと戸惑いました。ウィキペディアで短時間フーリエ変換について読んでいましたが、有望に見えますが、関連する例が見つかりませんでした。開始方法に関するヘルプ/ヒントをいただければ幸いです。