Commit Graph

154 Commits

Author SHA1 Message Date
Luna 430677fc07 enhance embed custom plugin
- seek to 0 on setup
 - ignore and copy original bytes if we reached end of audio file
2019-10-22 19:16:09 -03:00
Luna c8b5327634 libsndfile cant open mp3s 2019-10-22 19:09:05 -03:00
Luna 1c6ef1d4d5 Revert "use sf_open_fd"
This reverts commit 6e66850d90.
2019-10-22 19:08:38 -03:00
Luna 6e66850d90 use sf_open_fd 2019-10-22 18:57:36 -03:00
Luna 2d64eaa3ef add embed example script 2019-10-22 18:30:55 -03:00
Luna 612421f7b6 add embed code 2019-10-22 18:23:05 -03:00
Luna 2e27390058 add the rest for embed command
- allow any extra param as a generic to custom plugin init
2019-10-22 18:16:15 -03:00
Luna 87bab879ed add embed cmd 2019-10-22 17:08:19 -03:00
Luna 005d685723 doc: remove unused parameters part of eq command 2019-10-20 13:17:23 -03:00
Luna bb501d9c1e repl: add output when leaving from c-d 2019-10-20 13:13:32 -03:00
Luna c75db19523 repl: ignore comments
closes #10
2019-10-20 13:12:49 -03:00
Luna ecc9546de2 add readline to readme 2019-10-20 13:08:54 -03:00
Luna cdca993048 remove 'use-after-free' 2019-10-20 11:59:15 -03:00
Luna a18809eb5b repl: handle when original file doesn't exist 2019-10-20 11:37:11 -03:00
Luna c05be26dbd runner: ignore one arg when its in repl
closes #8
2019-10-06 15:16:41 -03:00
Luna 7cf16f9ffa deinit existing_cmds (not long lived) 2019-10-06 15:12:19 -03:00
Luna 80036c4c0d fix other things related to reading scri file on repl 2019-10-06 15:07:30 -03:00
Luna 66b262beb2 repl: open file as read and append to cmds before open as write
closes #7
2019-10-06 14:39:15 -03:00
Luna cb689c3ade repl: use readline 2019-10-06 10:53:09 -03:00
Luna 8c5f42b3db add quit/q commands to repl 2019-10-05 21:44:44 -03:00
Luna f8814ca94d add assertions about seek state and seek position 2019-10-05 21:42:16 -03:00
Luna 0e323f6631 repl tweaks 2019-09-29 23:57:24 -03:00
Luna 52950f9a6f README: add repl instructions 2019-09-10 22:27:35 -03:00
Luna 66a7356502 runner: add newline to runqs message 2019-09-10 22:08:35 -03:00
Luna 49cc7221b0 fix some clones, finish list of commands for printer 2019-09-10 22:00:07 -03:00
Luna 84d582cfd1 image: open curpath instead of path when cloning 2019-09-10 21:35:22 -03:00
Luna 67c42e39d4 add cloning of Runner and Image + basic Runner REPL logic 2019-09-10 21:31:23 -03:00
Luna 88a73e64d8 better repl logic 2019-09-10 15:44:10 -03:00
Luna 058bf8deb9 add push and list commands 2019-09-10 14:51:41 -03:00
Luna c90590e3b5 add Lang.reset, open scri_file and write current commands to it 2019-09-10 12:12:10 -03:00
Luna 8b67ccc1bf add printing of commands to any stream 2019-09-10 11:45:04 -03:00
Luna 736277db04 add parsing of given repl line 2019-09-08 23:28:09 -03:00
Luna 34d3b12c56 add basic main loop 2019-09-08 17:27:59 -03:00
Luna fc8dcf4583 add doRepl func 2019-09-08 17:06:19 -03:00
Luna 7e8023a383 add validation of bmp magic bytes 2019-09-08 11:55:17 -03:00
Luna b3bb56279a remove usage of command pointers for most things
this serves as a workaround for the compiler bugs found on zig trunk

 - use std.StringHashMap
2019-09-03 12:45:17 -03:00
Luna cdf2d843d2 update README 2019-08-27 14:40:41 -03:00
Luna fecd3b2e69 lang: fix RevDelay's arg count 2019-08-27 14:17:15 -03:00
Luna cfec45eb6c make internal ports a slice of Port structs 2019-08-14 22:35:22 -03:00
Luna 1d86abff5b main: use direct allocator 2019-08-14 16:11:09 -03:00
Luna a33db9f060 custom: add Write.deinit and fix WildNoise.deinit 2019-08-14 09:13:06 -03:00
Luna e142285a32 use Plugin.deinit() 2019-08-14 09:10:54 -03:00
Luna f8d8ed067d add deinit() calls to custom plugins 2019-08-14 09:10:09 -03:00
Luna 0ad1c88274 free some things in runner 2019-08-13 10:33:08 -03:00
Luna b66070c4e4 lang: use std.mem.startsWith 2019-08-13 10:19:39 -03:00
Luna b0ddb35ae9 fix mbeq arg validation 2019-08-12 13:07:06 -03:00
Luna af34f71c8f move lv2 core constants to comptime 2019-08-10 14:36:51 -03:00
Luna 0cab58429c fix std.AutoHashMap usage 2019-08-09 18:40:11 -03:00
Luna c0269ead20 image: bump BufferSize 2019-08-09 14:03:32 -03:00
Luna 99382d0a66 add better freeing procedures w/ errdefer 2019-08-09 13:55:40 -03:00