-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Building Features and Fixing Dataset
- Loading branch information
1 parent
c8d86e4
commit 8df846c
Showing
10 changed files
with
232 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
features: | ||
cd src/features; \ | ||
python3 build_audio_features.py | ||
|
||
data: | ||
cd src/data; \ | ||
python3 make_dataset.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
audio_name,clap_start,clap_end,music_start,music_end,end_clap_start,audio_end | ||
audio0,0,11,32,2551,2553,2607.16 | ||
audio1,0,22,34,2418,2419,2451.75 | ||
audio2,0,17,41,2423,2424,2488.09 | ||
audio3,0,15,35,2017,2018,2096.62 | ||
audio4,0,5,13,2128,2129,2191.2 | ||
audio5,34,49,60,2480,2481,2554.71 | ||
audio6,5,40,49,2180,2182,2190.18 | ||
audio7,0,16,20,1712,1714,1767.36 | ||
audio8,0,16,31,1947,1948,2048.23 | ||
audio9,15,21,32,1665,1667,1847.66 | ||
audio10,0,30,64,1992,1994,2062.28 | ||
audio11,0,32,55,2390,2391,2432.45 | ||
audio12,0,14,30,2262,2264,2288.93 | ||
audio13,3,10,12,3970,3974,4048.86 | ||
audio14,0,35,38,384,386,398.8 | ||
audio15,0,19,30,1557,1558,1579.77 | ||
audio16,16,48,57,1984,1985,2080.37 | ||
audio17,0,31,41,2399,2401,2432.85 | ||
audio18,0,20,41,1990,1994,2072.06 | ||
audio19,0,26,44,1660,1662,1681.57 | ||
audio_name,clap_start,clap_end,music_start,music_end,end_clap_start,end_clap_end,audio_end | ||
audio0,0,11,32,2551,2553,2602,2607.16 | ||
audio1,0,22,34,2418,2419,2451.75,2451.75 | ||
audio2,0,17,41,2423,2424,2488.09,2488.09 | ||
audio3,0,15,35,2017,2018,2096.62,2096.62 | ||
audio4,0,5,13,2128,2129,2191.2,2191.2 | ||
audio5,34,49,60,2480,2481,2547,2554.71 | ||
audio6,5,40,49,2180,2182,2189.5,2190.18 | ||
audio7,0,16,20,1712,1714,1767.36,1767.36 | ||
audio8,0,16,31,1947,1948,2048.23,2048.23 | ||
audio9,15,21,32,1665,1667,1847.66,1847.66 | ||
audio10,0,30,64,1992,1994,2061,2062.28 | ||
audio11,0,32,55,2390,2391,2431,2432.45 | ||
audio12,0,14,30,2262,2264,2288.93,2288.93 | ||
audio13,3,10,12,3970,3974,4043,4048.86 | ||
audio14,0,35,38,384,386,398.8,398.8 | ||
audio15,0,19,30,1557,1558,1579.77,1579.77 | ||
audio16,16,48,57,1984,1985,2059,2080.37 | ||
audio17,0,31,41,2399,2401,2432.85,2432.85 | ||
audio18,0,20,41,1990,1994,2072.06,2072.06 | ||
audio19,0,26,44,1660,1662,1681.57,1681.57 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rms | ||
2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 4, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import pandas as pd\n", | ||
"\n", | ||
"df = pd.DataFrame({\n", | ||
" 'rms': []\n", | ||
"})\n", | ||
"\n", | ||
"df.loc[len(df)] = 2\n", | ||
"\n", | ||
"df.reset_index(drop=True)\n", | ||
"\n", | ||
"df.to_csv(\"./test.csv\", index=False)" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.8.10" | ||
}, | ||
"orig_nbformat": 4 | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.