Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
musicinformationretrieval-com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
A.S.
musicinformationretrieval-com
Commits
9e46b7f7
Commit
9e46b7f7
authored
Jul 15, 2017
by
Sudara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
librosa requires keyword argument for sample rate (sr)
parent
fd188ce8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
genre_recognition.ipynb
genre_recognition.ipynb
+2
-2
No files found.
genre_recognition.ipynb
View file @
9e46b7f7
...
...
@@ -163,7 +163,7 @@
"outputs": [],
"source": [
"# See http://musicinformationretrieval.com/stft.html for more details on displaying spectrograms.\n",
"S_brahms = librosa.feature.melspectrogram(x_brahms, fs_brahms)"
"S_brahms = librosa.feature.melspectrogram(x_brahms,
sr=
fs_brahms)"
]
},
{
...
...
@@ -206,7 +206,7 @@
}
],
"source": [
"librosa.display.specshow(S_log_brahms, fs_brahms, x_axis='time', y_axis='mel')"
"librosa.display.specshow(S_log_brahms,
sr=
fs_brahms, x_axis='time', y_axis='mel')"
]
},
{
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment