Commit Graph

267 Commits

Author SHA1 Message Date
tassaron d78d263996 try to fix flickering live preview during export
by temporarily asking Qt not to clear the widget's paint region
2017-08-06 10:10:04 -04:00
tassaron d04ddba484 image scale needs to be relative 2017-08-03 20:50:22 -04:00
tassaron 98a47a21d9 save presets as floats so project resolution is not relevant
unfortunately this breaks old projects and presets
2017-08-03 20:43:23 -04:00
tassaron ae8a547b77 max spinbox vals scale relatively & less errors when spamming res change
w/h attrs are locked during render so preview thread always get correctly-sized frame
2017-08-03 18:08:49 -04:00
tassaron 219e846984 relativeWidgets might as well be a list 2017-08-03 12:16:57 -04:00
tassaron 6611492b30 relative gradients & last good frame used for preview errors 2017-08-03 00:44:46 -04:00
tassaron 62431a3cfe fontsize is also relative 2017-08-01 22:07:49 -04:00
tassaron 8812c37213 width/height fields should be relative too 2017-08-01 22:04:51 -04:00
tassaron 5784cdbcf8 x/y pixel values update to match output resolution 2017-08-01 21:57:36 -04:00
tassaron 3c1b52205f component class now tracks colorwidgets
so adding new color-selection widgets is now simple
2017-08-01 17:57:39 -04:00
tassaron a472246dab crop aphasermeter so it scales to look bigger 2017-07-30 21:59:42 -04:00
tassaron 65420ce285 more options for the Spectrum component 2017-07-30 21:29:06 -04:00
tassaron b6b45d1270 added Spectrum component with many options
tweaked Waveform, added some ffmpeg logging, made generic widget functions
2017-07-30 13:04:02 -04:00
tassaron db1ea1fc4e generic preview sound for waveform component
with secret preference to use the audio file again
2017-07-29 23:45:37 -04:00
tassaron 1297af61c9 waveform component is working, preview is glitchy 2017-07-29 20:27:46 -04:00
tassaron c1457b6dad starting work on Waveform component
split Video class out of Video component for reuse in Waveform
2017-07-29 13:08:28 -04:00
tassaron 6f8f178778 move code into a new function for future expansion 2017-07-28 22:15:25 -04:00
Brianna ae2af28808 Merge pull request #49 from djfun/toolkit
Code reorganization, more readable component code, better error messages
2017-07-27 22:47:40 -04:00
tassaron 6ecb6df236 some minor bugfixes 2017-07-27 22:15:41 -04:00
tassaron 6fc0398602 quit if project doesn't exist when exporting from commandline 2017-07-27 18:43:02 -04:00
tassaron de1324a6a7 fixed video component eating stdout
+ made height/width into properties to simplify render methods
2017-07-27 17:49:08 -04:00
tassaron 4329b0e947 don't]] always trigger error() 2017-07-25 22:14:34 -04:00
tassaron 03a36d4297 removed pyc 2017-07-25 22:04:50 -04:00
tassaron 15d70474d4 error can be locked within properties()
and simplified the componenterrors again
2017-07-25 22:02:47 -04:00
tassaron 661526b073 repeated errors don't cause repeated windows 2017-07-25 17:44:59 -04:00
tassaron d25dee6afc preset manager uses mainwindow row for every button
and minor changes to componenterrors
2017-07-24 21:22:04 -04:00
DH4 c799305eff Merge pull request #48 from rikai/patch-1
Fixes opening behind other windows on OS X
2017-07-24 04:47:35 -05:00
rikai c517140a51 Fixes opening behind other windows on OS X
Just a quick fix, this will raise the window to the front after it's created.
2017-07-23 20:14:10 -07:00
tassaron d92fc6373f ComponentError exception wraps previewRender
probably where errors are likeliest to be found
2017-07-23 22:55:41 -04:00
tassaron d38109453c better component error messages
fatal errors cancel the export instead of crashing
2017-07-23 17:14:21 -04:00
tassaron bf0890e7c8 components auto-connect & track widgets, less autosave spam
importing toolkit from live interpreter now works
2017-07-23 01:53:54 -04:00
tassaron 450b944b87 add component in context menu, del/ins hotkeys
+ preset manager uses mainwindow component list
2017-07-20 22:37:15 -04:00
tassaron f454814867 ffmpeg functions moved to toolkit, component format simplified
component methods are auto-decorated & settings are now class variables
2017-07-20 20:31:38 -04:00
tassaron b1713d38fa combined toolkit.py & frame.py into toolkit package 2017-07-17 22:07:33 -04:00
Brianna 4becfe3b51 Merge pull request #46 from djfun/extra-sound-options
Extra sound options
2017-07-16 23:16:35 -04:00
tassaron aa464632c6 new hotkey to preview the ffmpeg command 2017-07-16 23:13:00 -04:00
tassaron ec0abd1902 apply complex filters to audio streams from components
tons of sound options could be given now, + installation using setup.py
2017-07-16 14:06:11 -04:00
Brianna f420ad69f5 Merge audio-mixing branch
some basic audio features + more user feedback + merging static components
2017-07-15 19:40:08 -04:00
tassaron 17c8a6703a trying to make setup.py work 2017-07-15 18:59:22 -04:00
tassaron bcb8f27c2e use -t on inputs so ffmpeg knows when to stop filters
+ better feedback in cmd mode
2017-07-15 13:13:53 -04:00
tassaron 62ab09e3f3 Video comp verifies audio streams, videoThread moved into Core
off-by-1 bug fixed in exporting, & use fewer threads for fewer CPUs
2017-07-15 01:00:03 -04:00
tassaron cbbb787615 components automatically drawPreview & save currentPreset
this makes a Component easier to program. also more comments
2017-07-13 21:59:23 -04:00
tassaron d7b678f66d staticComponents list is reversed now 2017-07-13 19:31:00 -04:00
tassaron 06c27a48bc more error messages for blank components 2017-07-13 17:03:25 -04:00
tassaron b7931572a7 added option to include audio from Video components 2017-07-13 14:46:22 -04:00
tassaron 8811b699a9 merge consecutive static components 2017-07-13 00:05:11 -04:00
tassaron 2e37dafd70 fixed various bugs 2017-07-11 06:06:22 -04:00
tassaron 4c3920e630 separated creation of ffmpeg command
for future use to sllow editing the command before starting the export
2017-07-09 21:27:29 -04:00
tassaron f6fbc8d242 a basic Sound component for mixing sounds
to be greatly expanded...
2017-07-09 14:31:19 -04:00
tassaron 94d4acc1f4 more comments + warnings for outdated dependencies 2017-07-09 01:10:06 -04:00
tassaron f027fd4353 more thorough installation directions 2017-07-06 19:52:46 -04:00
tassaron 9986b1c829 image options to mirror & saturate colours
and some friendly docstrings
2017-07-06 12:40:03 -04:00
tassaron 3de45b3629 added basic rotate option to images 2017-07-05 23:04:09 -04:00
tassaron 3f7ead0d1f fixed syntax error
again...
2017-07-05 06:45:30 -04:00
tassaron 52f0f96f16 use decorator for readability 2017-07-05 06:38:36 -04:00
tassaron ad4dc052d8 made code work 2017-07-04 22:18:57 -04:00
tassaron 134779f6e6 updated Windows installation instructions 2017-07-04 20:55:51 -04:00
tassaron 63daa31382 removed pyc 2017-07-04 20:01:14 -04:00
tassaron ba0409829d moved functions into toolkit, fixed CMD appearing on Windows 2017-07-04 19:52:52 -04:00
tassaron 3a6d7ae421 frame-drawing tools for components to share 2017-07-02 21:38:19 -04:00
tassaron 0da275bf1b renamed component base 2017-07-02 20:46:48 -04:00
tassaron 38557f29f9 rm unneeded imports, work on freezing 2017-07-02 14:19:15 -04:00
DH4 0a9002b42c Fixed Text Colors & update button color on manual value change. 2017-07-01 00:01:29 -05:00
tassaron a95ecd7e42 added visualizer options + invalid presets get ignored 2017-06-26 19:07:49 -04:00
tassaron 0c394d77e3 an extra progress bar label for Mac
progressBar text is not visible in native Mac style
2017-06-25 23:05:44 -04:00
tassaron 7b6ef6349b component list not visually disabled
this looks better on Mac
2017-06-25 20:43:06 -04:00
tassaron 4eb2bc9a41 preset delete, rename, save updates both windows 2017-06-25 19:38:58 -04:00
Brianna 9fe370d472 Update readme to match newgui 2017-06-25 18:28:40 -04:00
tassaron 252639e9a2 renamed Original Audio Visualization to Classic Visualizer 2017-06-25 18:12:16 -04:00
tassaron f284acbf19 whitelist is more sensible here than blacklist 2017-06-25 16:13:54 -04:00
Brianna f86c33d0e5 Merge pull request #36 from djfun/newgui-project-settings
Project files save more settings
2017-06-25 15:53:49 -04:00
tassaron 2c82a65d1b needs more tuples 2017-06-25 15:50:31 -04:00
tassaron fc2951379c newlines make project file easier to read 2017-06-25 15:34:33 -04:00
tassaron 6a1a5cd6eb --export commandline option
overrides -i and -o to use saved fields from a project file
2017-06-25 15:31:42 -04:00
tassaron 675a06dd4c project files save settings & out/in fields 2017-06-25 14:27:56 -04:00
Brianna 55423ca4aa Merge pull request #35 from djfun/newgui-bugfixes
Newgui bugfixes
2017-06-25 10:40:48 -04:00
tassaron a2838a0c38 disable some hotkeys while encoding, more friendly error messages 2017-06-25 10:36:32 -04:00
tassaron 45b55d8e2f fixed lack of asterisks after openProject, added asterisk to window title 2017-06-24 23:40:32 -04:00
tassaron e32ba958cb fixing bugs 2017-06-24 23:12:41 -04:00
Brianna 1bb67d1513 Merge pull request #34 from djfun/feature-newgui-qt5
Update to Qt5
2017-06-24 20:02:14 -04:00
tassaron 4d955c5a06 merged with feature-newgui 2017-06-24 19:54:09 -04:00
DH4 83d55593d0 Fixed QtWidgets not imported on some components. 2017-06-23 23:39:22 -05:00
tassaron 680214f518 qt5 fixes
also pep8 compliance
2017-06-23 23:00:24 -04:00
DH4 e92e9d79f9 QT5 Conversion + Directory Structure 2017-06-23 17:38:05 -05:00
tassaron 68ac0cf755 pep8 cleanup 2017-06-23 17:14:39 -04:00
DH4 f3da72ea54 Merge branch 'feature-newgui' of github.com:djfun/audio-visualizer-python into feature-newgui 2017-06-23 10:46:54 -05:00
DH4 84ceff7f54 Fixed Ctrl+End Hotkey 2017-06-23 10:46:32 -05:00
tassaron f8628333af Fixed crash after creating a new project on commandline 2017-06-23 07:42:46 -04:00
tassaron 407ba57e4e fixed crash after creating a project on commandline
because it didn't check for errors while saving
2017-06-23 07:41:11 -04:00
Brianna 5607bff61f Merge pull request #32 from djfun/newgui-commandline
making commandline features from master work with the new component system
2017-06-23 07:18:46 -04:00
Brianna 7d4fb78438 Merge branch 'feature-newgui' into newgui-commandline 2017-06-23 07:12:40 -04:00
DH4 8c9914850e cx_freeze Path Updates 2017-06-23 02:39:56 -05:00
DH4 60d62599f7 Implement Hotkeys 2017-06-23 01:20:59 -05:00
tassaron 3c903794e3 more commandline component options
commandline options that existed before the redesign are now back
2017-06-22 22:23:04 -04:00
tassaron 49cda1bf3a can send multiple arguments to a component 2017-06-22 20:31:04 -04:00
tassaron b21a953dda bugfixes 2017-06-22 19:59:31 -04:00
tassaron 5c74d496a9 preset-loading and basic args from commandline
also made some docstrings more informative
2017-06-22 18:40:34 -04:00
tassaron 82011de966 able to create components from commandline
TODO: make components respond to argument
2017-06-18 21:49:00 -04:00
tassaron 044fddfa9c basic commandline functionality using 3 args
needs more args so components can be modified without gui
2017-06-18 14:46:08 -04:00
tassaron 2c63b05376 exports to ~ if no dir given, fix infinite loop when cancelling 2017-06-17 19:08:18 -04:00