pitchscreen make it a plugin

full commandline parsing
    -has pitch, speed, time_stretch
 /* pitch_screen
 *  accepts args -q, -g, -p=, -s=, -k=; (= sign is optional)
 * -q silences output splash
 * -g runs the gui (Runs immediately)
 * -p100 would set pitch to 100%
 * -s=90 sets speed to 90% if timestrech is enabled
 * -k=true -k1 enables time stretch -k0 -kf-kn disables
*/

Change-Id: I900c4b5d184e12ddbe47509f66fdf3e55193a520
This commit is contained in:
William Wilgus 2021-08-19 22:20:56 -04:00 committed by William Wilgus
parent 67fb558c89
commit cf009b4cbb
8 changed files with 1314 additions and 1071 deletions

View file

@ -28,7 +28,9 @@
#define SWCHAR '-'
#define DECSEPCHAR '.'
#ifdef PLUGIN
#define strchr rb->strchr
#endif
int string_parse(const char **parameter, char* buf, size_t buf_sz)
{
/* fills buf with a string upto buf_sz, null terminates the buffer