Fixed a ton more warnings in MrsWatson and actually attempted to fix some real bugs today! Inspired by a pull request I received, I changed the plugin chain so that each plugin has its own separate buffer for writing to. This should hopefully fix a lot of the problems which arise from channel count mismatches -- such as feeding a mono file to a 16-output effect plugin.
I felt a bit bad about re-writing the original pull request, since I consider it quite an honor to get a pull request from someone who cares enough about your project to fix bugs in it. However the original pull request had a few big problems, namely that it removed several unrelated tests in LinkedList (for reasons which were not entirely clear to me) and also that it was failing the test suite (the original author claimed it passed on his machine, I can believe that since I was testing on a different platform).
The author had planned to rewrite and resubmit the patch; instead I took his idea and made a much smaller patch. I've pinged him for feedback on the patch, let's hope that it fixes the bug and nobody's feelings are hurt. :)
Welcome
Welcome to Teragon Audio, provider of audio plugins, utilities, and guides for those looking to develop their own audio software. This is the development blog, if you are looking for the official website please visit http://www.teragonaudio.com.
Showing posts with label mrswatson. Show all posts
Showing posts with label mrswatson. Show all posts
Picking up MrsWatson again
After a loooong break, I've started working on MrsWatson again, since the bug reports are starting to pile up and I've actually got some real pull requests coming in. My last attempt at MrsWatson hacking was quite frustrating, trying to port audiofile to Windows and rip out all the AIFF/WAVE code, which is still something that has to be done.
Anyways, I've started a bit more modestly this time, mostly by fixing a ton of inspections in AppCode, compiler warnings, and various TODOs. The code now compiles without any warnings on Linux, and a few "perhaps unfixable" warnings in Mac that need to be considered.
Anyways, I've started a bit more modestly this time, mostly by fixing a ton of inspections in AppCode, compiler warnings, and various TODOs. The code now compiles without any warnings on Linux, and a few "perhaps unfixable" warnings in Mac that need to be considered.
Improving MrsWatson command line parsing
I've made a few internal improvements to the way that MrsWatson handles command-line arguments, including adding support for specifying an argument multiple times. The new --parameter option takes advantage of this:
mrswatson --plugin something --parameter 0,0.75 --parameter 1,2.5
There is no theoretical limit to how many times parameters like this can be given, though in practice very long command lines are limited by the operating system. I've been thinking about supporting JSON files for the plugin chain configuration, since this is a logical data format and this particular part of MrsWatson can lead to very hairy command line arguments.
Also, the next version of MrsWatson will no longer have separate options for setting the time signature numerator/denominator, instead a new --time-signature option allows one to pass strings formatted like "2/4" to the program instead.
mrswatson --plugin something --parameter 0,0.75 --parameter 1,2.5
There is no theoretical limit to how many times parameters like this can be given, though in practice very long command lines are limited by the operating system. I've been thinking about supporting JSON files for the plugin chain configuration, since this is a logical data format and this particular part of MrsWatson can lead to very hairy command line arguments.
Also, the next version of MrsWatson will no longer have separate options for setting the time signature numerator/denominator, instead a new --time-signature option allows one to pass strings formatted like "2/4" to the program instead.
Subscribe to:
Posts (Atom)