Commit Graph

35 Commits

Author SHA1 Message Date
Peter L Jones
8c1deffda7 Add recording support with Reaper Project generation
Includes the following changes

* Initial .gitignore
Administrative

* Fix up warning message
* Not all Windows file systems are case insensitive
Bugfixes

* (Qt5) Use QCoreApplication for headless
Possible solution to get the application to run as a headless server but it loses the nice history graph, so not ideal.

* Avoid ESC closing chat
Because ESC shouldn't close the chat window. Or the main app window.

* Add console logging support for Windows
Whilst looking for the headless support, I found this idea for Windows logging.  New improved version.  This makes far fewer changes.

----

* Add recording support with Reaper Project generation
The main feature!
    * New -r option to enable recording of PCM files and conversion to Reaper RPP with WAV files
    * New -R option to set the directory in which to create recording sessions
    You need to specify the -R option, there's no default... so I guess -r and -R could be combined.
    * New -T option to convert a session directory with PCM files into a Reaper RPP with WAV files
    You can use -T on "failed" sessions, if the -r option captures the PCMs but the RPP converter doesn't run for some reaon. (It was useful during development, maybe less so once things seem stable.)

The recorder is implemented as a new thread with queuing from the main "real time" server thread.

When a new client connects or if its audio format changes (e.g. mono to stereo), a new RIFF WAVE file is started.  Each frame of decompressed audio for each client written out as LPCM to the file.  When the client disconnects, the RIFF WAVE headers are updated to reflect the file length.

Once all clients disconnect, the session is considered ended and a Reaper RPP file is written.
2019-04-03 18:12:45 +01:00
Volker Fischer
8bfdc7347a 2017 -> 2018 2018-03-09 21:13:02 +00:00
Volker Fischer
b0d37c86e7 2016 -> 2017 2017-08-11 21:08:54 +00:00
Volker Fischer
fd69efb060 bug fix with the history graph plotting (an invalid point was added to the graph) 2016-03-06 10:39:59 +00:00
Volker Fischer
ca73117279 update the copyright 2015-12-31 13:14:09 +00:00
Volker Fischer
33e5a07cf7 change all 2014 to 2015 2015-02-04 18:17:23 +00:00
Volker Fischer
c0a67a9884 update to 2014 2014-01-05 16:52:38 +00:00
Volker Fischer
a7895f88ea update year to 2013 2013-01-23 10:41:13 +00:00
Volker Fischer
c6068689d5 bug fix, exchanged std:string by QString, some code style changes 2011-04-06 18:02:44 +00:00
Volker Fischer
36d13454b3 added a command line argument, some code style changes 2011-04-05 18:38:22 +00:00
Volker Fischer
8926dec08b some more work for connection less protocl mechanism 2011-03-27 08:56:24 +00:00
Volker Fischer
f0a3e97b96 update of copyright 2011-02-22 18:56:52 +00:00
Volker Fischer
0e92ed9e85 on Mac it seems the Round Cap pen does not work -> use squared cap for server stop now (workaround) 2010-02-21 12:33:55 +00:00
Volker Fischer
769f02e5e7 updated copyright 2010-01-03 13:40:46 +00:00
Volker Fischer
c0685e9b78 fix unix2dos issue with some files 2009-10-24 12:24:44 +00:00
Volker Fischer
fc0f7bf8ef bug fix with server history graph x axis (rounding problem) 2009-10-24 11:08:05 +00:00
Volker Fischer
62d3b3f4a4 server logging: fix for weekend grid in server history graph 2009-10-23 14:58:14 +00:00
Volker Fischer
f4427db93e server logging: use thicker grid lines for weekends in history graph 2009-10-23 10:32:19 +00:00
Volker Fischer
e664b5769c add parsing of old logging files for history graph (server) 2009-09-02 18:03:37 +00:00
Volker Fischer
6ad4e53a78 typo 2009-08-16 07:56:28 +00:00
Volker Fischer
5f9dc603a1 some fixes, make graph look nicer 2009-06-09 20:06:24 +00:00
Volker Fischer
c0cf6a9acc small change 2009-06-07 11:08:24 +00:00
Volker Fischer
81c4f1f4d6 some more optimizations, added local/remote feature for graph markers 2009-06-07 10:00:05 +00:00
Volker Fischer
742201760b some code style changes, adjusted some parameters for graph 2009-06-07 09:25:02 +00:00
Volker Fischer
b52fd5ed9e fix for Linux 2009-06-06 11:34:24 +00:00
Volker Fischer
37d826630d first fully version of history 2009-06-06 10:07:01 +00:00
Volker Fischer
6b610b0bed almost finished core graph class 2009-06-06 08:19:24 +00:00
Volker Fischer
17fef5c637 even more graph implementations 2009-06-06 06:17:50 +00:00
Volker Fischer
8e9f53dd37 new history plot class, more fixes 2009-06-05 20:22:47 +00:00
Volker Fischer
989b6ee52b some more graph stuff 2009-06-05 17:59:19 +00:00
Volker Fischer
e5529d122f some more graph stuff 2009-06-05 17:52:13 +00:00
Volker Fischer
86d0f1e1b8 added some more graph code 2009-06-05 15:46:39 +00:00
Volker Fischer
280f0091f3 moved logging functionality in new class 2009-05-24 15:25:04 +00:00
Volker Fischer
9800baca21 finished axis grid/text for history plot 2009-05-24 14:11:22 +00:00
Volker Fischer
d17e9422f3 added server logging files 2009-05-24 11:22:12 +00:00