[00:10] ok, now I just don't get any sound at all :P [00:12] bai: can you run your eyes over https://hastebin.com/lozecovuxe.cpp and let me know what you think? [00:15] sure [00:16] thanks [00:27] data is mono or stereo? [00:31] mono [00:33] ahh, all the /2 bits are because src->Data is a uint8, but you're casting to a uint16? [00:34] yea [00:36] srcIndex -= src->cnt; [00:36] is that right, or should it also be / 2? [00:38] yea, good catch [01:10] slight tweaks: https://hastebin.com/bekexiceci.cpp [01:43] sample1 = *(sbuf + srcIndexInt + 2); <-- + 1 instead as sbuf is uint16_t* [01:44] ah hah, yeah... [01:50] I'll chat with jvilk [02:06] phe: ah, nice [02:06] sadly, that doesn't quite fix it [02:06] (the fact that I'm calling console.log on every iteration of that loop doesn't help) [02:32] some output: [02:32] destIndex: 18, srcIndex: 368.518372 (368), destLen=512, srcLen=370 [02:32] lerp(61075, 0.518372, 61075)=61075 [02:32] destIndex: 19, srcIndex: 369.213837 (369), destLen=512, srcLen=370 [02:32] lerp(61075, 0.213837, 0)=48014 [02:32] destIndex: 20, srcIndex: -0.090695 (0), destLen=512, srcLen=370 [02:32] lerp(61075, -0.090695, 0)=1078 [02:32] destIndex: 21, srcIndex: 0.604774 (0), destLen=512, srcLen=370 [02:32] lerp(61075, 0.604774, 0)=24138 [02:32] destIndex: 22, srcIndex: 1.300243 (1), destLen=512, srcLen=370 [02:32] lerp(61075, 0.300243, 0)=42737 [02:33] destIndex: 23, srcIndex: 1.995712 (1), destLen=512, srcLen=370 [02:33] lerp(61075, 0.995712, 0)=261 [02:33] destIndex: 24, srcIndex: 2.691180 (2), destLen=512, srcLen=370 [02:33] I'm not sure why sample1 has a value, while sample0 gets stuck at 0 [02:50] *** phe has quit IRC (Quit: Leaving) [03:30] was a terrible packed say with bonus IRS stuff, ping me if you need stuff [03:32] or need to find more [06:57] I finally found the source of the high-pitched whine that has been getting louder for the last four hours [06:59] it's good to have some peace and quiet again [08:33] *** balrog has quit IRC (Read error: Operation timed out) [08:36] *** balrog has joined #jsmess [10:13] *** phe has joined #jsmess [10:40] *** [X-Scale] has joined #jsmess [10:41] *** X-Scale has quit IRC (Ping timeout: 240 seconds) [10:41] *** [X-Scale] is now known as X-Scale [12:15] *** Ravenloft has quit IRC (Remote host closed the connection) [13:57] in your house? [15:35] Oh, the fucking hack I'm about to do to improve screenshots [15:35] YES [15:48] SOOOOO HACKKKY [15:49] (It shows me the screenshot, then I use a tool to find the coordinate, then tell the screenshotter to click on it.) [15:51] 781 267 is the second floppy, by the way [16:12] haaaaaaaaaaaaack [16:21] Hack didn't work. [16:21] Trying to get it to click inside the emulator to open windows [16:21] Not sure what's killing it [17:54] https://docs.google.com/a/textfiles.com/document/d/1dn6M5rp-Kv13yTUy6hdrHq7fC7v0vroJyp6jKqi1ZIg/edit?usp=sharing [17:57] Accepting suggestions for gap filling [19:33] Do you need more help with sound? [19:36] Stephen Cole is focusing on Mac images, he'll do that work, so I'll just screenshot as they appear/work [22:21] *** bwn has quit IRC (Ping timeout: 244 seconds) [22:30] *** bwn has joined #jsmess