mirror of
https://github.com/iluvcapra/wavinfo.git
synced 2026-10-01 17:27:42 +00:00
Ruffification and fixed bug
This commit is contained in:
+10
-3
@@ -26,7 +26,7 @@
|
||||
"source": [
|
||||
"from wavinfo import WavInfoReader\n",
|
||||
"\n",
|
||||
"path = '../tests/test_files/sounddevices/A101_1.WAV'\n",
|
||||
"path = \"../tests/test_files/sounddevices/A101_1.WAV\"\n",
|
||||
"\n",
|
||||
"info = WavInfoReader(path)"
|
||||
]
|
||||
@@ -113,7 +113,12 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"(info.fmt.sample_rate, info.fmt.channel_count, info.fmt.block_align, info.fmt.bits_per_sample)"
|
||||
"(\n",
|
||||
" info.fmt.sample_rate,\n",
|
||||
" info.fmt.channel_count,\n",
|
||||
" info.fmt.block_align,\n",
|
||||
" info.fmt.bits_per_sample,\n",
|
||||
")"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -271,7 +276,9 @@
|
||||
],
|
||||
"source": [
|
||||
"path = \"../tests/test_files/cue_chunks/izotoperx_cues_test.wav\"\n",
|
||||
"info = WavInfoReader(path, info_encoding=\"utf-8\") # iZotope RX seems to encode marker text as UTF-8\n",
|
||||
"info = WavInfoReader(\n",
|
||||
" path, info_encoding=\"utf-8\"\n",
|
||||
") # iZotope RX seems to encode marker text as UTF-8\n",
|
||||
"\n",
|
||||
"for cue in info.cues.each_cue():\n",
|
||||
" print(f\"Cue ID: {cue[0]}\")\n",
|
||||
|
||||
Reference in New Issue
Block a user