Commit Graph

1967 Commits

Author SHA1 Message Date
Bad Diode 6e52b5c5ee Fix potential out of bounds when doing tuning lookup 2023-10-23 11:10:03 +02:00
neauoire 5a658bd124 (audio-test) Loop melody 2023-10-23 05:08:41 -04:00
neauoire ee046477b9 (audio-test) Fixed durations 2023-10-21 11:10:33 -04:00
d_m defa627f8a Take pitch into account when computing duration. 2023-10-21 10:37:42 -04:00
d_m b1fc24d731 Detect duration for note_off as well as note_on. 2023-10-20 12:27:25 -04:00
neauoire 0d0a76c4b7 Formatting 2023-10-20 11:54:25 -04:00
neauoire 4eef68bbf5 (audio.c) Default duration is sample length 2023-10-20 11:51:17 -04:00
neauoire 94c57e9bc5 (piano.tal) Support new volume port 2023-10-20 10:52:13 -04:00
Bad Diode 36d6e99a75 Add dei ports 0x2 and 0x4 to audio devices 2023-10-19 19:41:52 +02:00
Bad Diode 12d1d119eb Change sdl audio to not play until the first pitch is sent 2023-10-19 12:06:47 +02:00
Bad Diode 74d81621d0 Update default envelope 2023-10-17 21:17:07 +02:00
Bad Diode fca3b46d81 Add minimum decay/release of 10ms 2023-10-17 21:01:18 +02:00
Bad Diode c0e0a41a77 Fix uxncli missing device pointer 2023-10-17 20:43:49 +02:00
Bad Diode 9631236968 Increase base volume 4x (1 channel max -12dB) 2023-10-17 20:34:10 +02:00
Bad Diode da7619eb57 Update audio-tests.tal example 2023-10-17 20:25:44 +02:00
Bad Diode 1399b5da47 Try to avoid audio callback from working after free 2023-10-17 20:16:47 +02:00
Bad Diode 95996ed902 Fix wrong freeing of memory 2023-10-17 20:12:07 +02:00
Bad Diode 18ee0d52ae Restore sample stretching behaviour 2023-10-17 20:04:15 +02:00
Bad Diode 5d0577a696 Update audio-tests to use proper sine function 2023-10-17 18:22:11 +02:00
Bad Diode f4a7d8de6a Add per-cent tuning and change note-off to #00 2023-10-17 18:10:56 +02:00
Bad Diode a63276e284 Make sure device memory is freed 2023-10-17 17:26:46 +02:00
Bad Diode 28393a41a5 Fix memory bug and restore previous looping behaviour 2023-10-17 17:12:31 +02:00
Bad Diode 7365da67ca Restore audio port layout and use 0x5 for duration 2023-10-16 15:35:46 +02:00
Bad Diode 090f8de1dd Make sure ADSR uses the audiobuf macros 2023-10-10 17:04:27 +02:00
Bad Diode 8d84356cca Reduce the detuning/pitch table for now 2023-10-10 16:28:09 +02:00
Bad Diode 40d563d9a9 Cleanup warnings 2023-10-10 16:12:47 +02:00
Bad Diode 8c9bc91b59 Fix xfading issues 2023-10-10 16:06:17 +02:00
Bad Diode 64d89a56f4 Add sample duration handling 2023-10-10 15:39:47 +02:00
Bad Diode 0118729bcc Add initial WIP sample player for new audio device 2023-10-10 14:54:44 +02:00
neauoire c71842aa84 (dvd.tal) Optimized 2023-09-29 14:01:13 -04:00
Sigrid Solveig Haflínudóttir f8c7e44ea1 console: add a newline at eof 2023-09-21 17:13:17 +00:00
neauoire d7f96acb93 (fizzbuzz.tal) Housekeeping 2023-09-05 20:05:14 -07:00
neauoire 5d39dcdbdc (uxncli) Send zero byte and EOF on stdin 2023-09-05 16:34:49 -07:00
neauoire a323cb5c56 (screen.c)Fixed redraw issue 2023-09-02 18:34:04 -07:00
neauoire fb892e4329 Uxn can no longer error 2023-09-02 13:51:03 -07:00
neauoire a65c1cb9a8 Removed LINK req in uxncli 2023-09-01 15:15:15 -07:00
neauoire cfd29ac511 (uxnemu.c) Cache audio values before POKE2 2023-08-30 12:12:30 -07:00
neauoire 3b526bbed6 (screen.c) Always cache value before PEEK/POKE 2023-08-30 12:06:04 -07:00
neauoire f4caad2d51 (uxn.h) Removed unused macro 2023-08-30 11:46:00 -07:00
neauoire 107a25295b (mouse.c) Do not use POKE2 macro 2023-08-30 11:25:15 -07:00
neauoire 1adb6a8cf0 (uxn.c) Do no check for underflow for push-only opcodes 2023-08-30 11:09:46 -07:00
neauoire 55aae6fee9 (uxn.c) Always cache address before PEEK2 2023-08-30 10:49:00 -07:00
neauoire e35501976c (uxn.c) Standardized setter macros 2023-08-30 10:40:04 -07:00
neauoire e5617f83c9 Removed redundant macros 2023-08-30 10:16:38 -07:00
neauoire aeb38c0819 (uxn.c) Cache intermediary result in POKE2 usage 2023-08-30 09:52:47 -07:00
neauoire 07dc45c0e7 (uxn.c) Faster stack registers 2023-08-30 09:40:45 -07:00
neauoire d974111939 (uxn.c) Catch underflow with JCI 2023-08-30 09:24:09 -07:00
neauoire c9183a02e5 (uxn.c) Only one writing macro per line 2023-08-29 10:48:19 -07:00
neauoire 7992d54115 (uxn.c) Removed needless masking of opcode lookup 2023-08-29 09:41:00 -07:00
neauoire a18f8697f0 (uxn.c) Removed unnecessary negation 2023-08-25 13:05:45 -07:00