TAPE noise #739
TAPE noise #739
Comments
|
Can confirm, don't have full steps to reproduce but I made a 10 minute recording of Awake with all "out of the box" settings (using the image provided by @tehn) then played it, put tape's volume up and after +-2 to 3 minutes I got static/noise as well. Can't find anything about the playback causing issues in the logs, but I did get a lot of
when recording. |
|
ok, that msg means that for whatever reason, the disk writer thread can't keep up with incoming audio. will |
|
I think we also have the reverse of this previous problem: #673 The file format appears to be WAVE, but the extension is written as AIFF (causing the file not to open in QuickTime in one case) |
|
file extension is a simple fix (sorry!) will PR |
|
can't reproduce on x86 with SSD (many attempts of sequential recordings of 10-40+ minutes), using OSC interface directly with crone. will try on hardware / with menu... the fact that recordings after the first are borked from beginning, strongly suggests the application state is being left in a bad way. hard to imagine a platform discrepancy doing this, easier to imagine some incorrect sequence of commands doing it. should add better error handling. would appreciate help double-checking the glue from menu -> crone. |
|
i'll double-check the OSC event order in crone to see what gets printed in the OSC debug the process is:
https://github.com/monome/norns/blob/dev/lua/core/menu.lua#L1433 |
|
i dunno, menu -> module -> weaver -> oracle looks normal. |
|
also, user said they got a float32 file. i don't know if this is true; if it is, something is very wrong. i'm requesting 24b fixed PCM from libsndfile, and this is what i'm getting on x86 debian:
|
|
did some stuff
my testing time has been limited but hoping this will fix the issue generally. |
|
Still getting garbage after the update, but it happens later in the recording. After that, all recordings are garbage.
|
|
successfully recorded 2 minutes of started again for a much longer take and eventually:
|
|
@tehn ok, dang. i will try harder to eliminate these, though it's not immediately clear what else to try. but importantly, the other part of the change is the way o-runs are handled - do they still produce garbage in the recording for you? (which would be a bummer) or just dropouts? (which i would hope for) @phonk this indicates that the code change hasn't actually been applied. belatedly i realize your forum posts indicates that you fetched the fix branch, but not necessarily that you actually checked it out. |
|
well 6 minutes into the 17 minute recording it's still not 100% static so indeed perhaps just dropouts. not listening closely... will do a second pass at this--- norns battery just died :P |
|
if it's not producing total garbage after the first orun, and doesn't bork future recordings, then this is a net win. (previously, we were blithely writing to a ringbuffer with no space in it. i'm surprised that the oruns themselves seem to be an eMMC symptom. they may well be happening with other recording systems like SC ultimately, if it takes 16k audio frames worth of time to write 1k worth of input, there will eventually be overruns no matter what we do. the next thing i'll try is forcing a minimum write size. (and of course, maybe i'm doing something very dumb, stalling the writer thread, and just can't see it yet.) if another headless recording program works better i am happy to scrap the |
|
we can probably remove the reports and say it's generally ok. i listened again to the file and had a hard time noticing dropouts |
|
sorry to report that still actually getting the garbage sporadically... back to drawing board. |
|
ok, belatedly noticed a dumb error in disk thread. standby... |
|
the PR above fixes the meltdown as far as i can tell. (have tested pretty extensively on norns HW, recording up to the limit of disk space) |
|
I'll try to get some tests done on your branch this evening as well |
|
nice, thanks.
definitely could be, since the first cause of the overruns appears to be the eMMC itself... (or like, the firmware for NAND access?) |
|
If you want I can try on the regular CM3 tomorrow, don't have a screen on that one though, so have to figure out how to trigger the recording (probably by sending an OSC message?) |




The text was updated successfully, but these errors were encountered: