<feed xmlns='http://www.w3.org/2005/Atom'>
<title>audio-visualizer-python/tests/test_text_comp.py, branch master</title>
<subtitle>(forked from djfun) a little GUI tool to render visualization videos of audio files
</subtitle>
<id>https://git.aedrielkylejavier.me/audio-visualizer-python/atom?h=master</id>
<link rel='self' href='https://git.aedrielkylejavier.me/audio-visualizer-python/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.aedrielkylejavier.me/audio-visualizer-python/'/>
<updated>2026-01-28T22:49:58+00:00</updated>
<entry>
<title>v2.2.1 - fix #74, fix #92, add optional 64th bar to Classic Visualizer, improve Conway default (#93)</title>
<updated>2026-01-28T22:49:58+00:00</updated>
<author>
<name>Brianna Rainey</name>
</author>
<published>2026-01-28T22:49:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.aedrielkylejavier.me/audio-visualizer-python/commit/?id=f66eb99465c61232a7f649e66bee59504bb0e52c'/>
<id>urn:sha1:f66eb99465c61232a7f649e66bee59504bb0e52c</id>
<content type='text'>
* update gitignore
ignore profiling and coverage data

* F1 opens help window, create appName variable, move undostack class

* fix kaleidoscope effect, increase default Y values by +4
the increased y values allow the cells to continue animating for more than 60 minutes instead of 30 (at default 60f/t)

* update version number

* add minimumWidth to undo history window

* Classic Visualizer: option to include 64th bar

* Waveform component: fix #74 - new animation speed option

* move shared visualizer code into toolkit

* Waveform component: compress audio by default

* Waveform component: fix 100% animation speed

* new components receive random color

* update to Qt 6

* fix pushbutton stylesheet

* fix #92: replace ok/cancel with save/discard/cancel

* remove obsolete PaintColor subclass

* mv common shadow code into addShadow func

* add 3rd option of ok/cancel back to showMessage
the 3 options are:
- ok
- ok/cancel
- save/discard/cancel

* Image component: add shadow option

* small test of rgbFromString

* fix color tuple string

* test another way to get comp names from CLI

* rename component tests, add some more

* Image component: scale shadow based on resolution

* catch AttributeError if previewRender returns None

* Text component: fix blur radius only able to increase
the relativeWidgets system causes QDoubleSpinbox to only allow increases, because it really only works with integeres, so I changed the blur radius into a normal QSpinBox. I noted where the problem exists within component.py for future reference. This commit also removes an unneeded VerticalLayout from the ui file

* remove unnecessary QVBoxLayout

* paste shadow at x,y instead of using offset method

* fix tests due to shadow change

* don't print warning in connectWidget due to QFontComboBox</content>
</entry>
<entry>
<title>add GitHub Action to run tests</title>
<updated>2026-01-23T02:53:26+00:00</updated>
<author>
<name>Brianna Rainey</name>
</author>
<published>2026-01-23T02:53:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.aedrielkylejavier.me/audio-visualizer-python/commit/?id=864898419e810055b51e3a32fccb00a62aab9a6b'/>
<id>urn:sha1:864898419e810055b51e3a32fccb00a62aab9a6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix #89 with Image component v2.0 + 23 tests (#90)</title>
<updated>2026-01-22T21:29:46+00:00</updated>
<author>
<name>Brianna Rainey</name>
</author>
<published>2026-01-22T21:29:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.aedrielkylejavier.me/audio-visualizer-python/commit/?id=a12be862e22bdec6a243a3f0b5f4f28d69084a2a'/>
<id>urn:sha1:a12be862e22bdec6a243a3f0b5f4f28d69084a2a</id>
<content type='text'>
* qtbot is needed in any test that uses a QObject
previously these tests would fail if they ran before qtbot was initialized by another test. I'm now running tests in a random order

* add tests for drawBars, readAudioFile, BlankFrame

* replace numpy.seterr with numpy.errstate

* fix incorrect comment

* add MockVideoWorker and imageDataSum

* test further into visualization (less likely to be a false positive)

* test FloodFrame function

* add failing test for Image component
one step towards fixing #89

* test component name CLI parsing

* prevent log warning when 1 setting changed

* correct tests to use widgets when needed

* test undo and blockSignals

* remove stretch_scale (use scale only)

* image ignores scale if stretch checkbox checked
fixes #89

* test Title Text component, ffmpeg command

* Image v2: replace stretched setting with resizeMode
3 resize modes are scale, cover, and stretch. Scale only applies when resizeMode is set to scale. Cover uses ImageOps.fit() to stretch while maintaining aspect ratio. Also, spinBox_scale was moved to be underneath comboBox_resizeMode.

* change transformData into staticmethod
the purpose is to allow easier reuse in other components

* add respondToAudio option to Image component
this causes the image to scale up and down slightly based on the input audio file

* cache static portion of image when animating
increases rendering speed of a 1-minute video by 12 seconds (based on two manual tests anyway)</content>
</entry>
</feed>
