Ruffification and fixed bug

This commit is contained in:
2026-09-17 10:19:11 -07:00
parent 13d9cd4914
commit e6320e84c6
25 changed files with 787 additions and 659 deletions
+10 -3
View File
@@ -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",