Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
genisplaja committed Dec 2, 2024
1 parent 3ceae48 commit 62ff639
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion webbook/melodic_analysis/tonic-identification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,11 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"tags": [
"remove-output"
]
},
"outputs": [],
"source": [
"# Loading Tonic dataset using the mirdata loader\n",
Expand Down
6 changes: 3 additions & 3 deletions webbook/resources/exploring-performance.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@
"outputs": [],
"source": [
"# Predict raga using subset of features from the very beginning of audio for faster prediction\n",
"predicted_raga = deepsrgm.predict(feat[:8])"
"predicted_raga = deepsrgm.predict(feat[:4])"
]
},
{
Expand Down Expand Up @@ -592,7 +592,7 @@
"freqs = ftanet_carnatic.predict(audio_mix)[:, 1]\n",
"tonic = tonic_multipitch.extract(audio_mix)\n",
"\n",
"k = 9\n",
"k = 4\n",
"N = 200\n",
"new_feat = []\n",
"\n",
Expand All @@ -605,7 +605,7 @@
" new_feat.append(feature[c : c + 5000])\n",
"new_feat = np.array(new_feat)\n",
"\n",
"raga = deepsrgm.predict(new_feat[:8]) # Let's again only take alap frames"
"raga = deepsrgm.predict(new_feat[:4]) # Let's again only take alap frames"
]
},
{
Expand Down
3 changes: 2 additions & 1 deletion webbook/rhythmic_analysis/meter_analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
" ## Bear in mind this will only run in a jupyter notebook / Collab session\n",
" %pip install git+git://github.com/MTG/compIAM.git\n",
"# installing mirdata from master branch, including fix for Carnatic Rhythm dataset\n",
"%pip install -U https://github.com/mir-dataset-loaders/mirdata.git \n",
"%pip uninstall mirdata\n",
"%pip install https://github.com/mir-dataset-loaders/mirdata.git@master\n",
"import compiam\n",
"\n",
"# Import extras and supress warnings to keep the tutorial clean\n",
Expand Down

0 comments on commit 62ff639

Please sign in to comment.