I played a live show with Norns for the first time in a long time. I recorded it to the device and in the morning, realized I never tried to do a simple copy operation on device without connecting to another computer via SSH.
Is this even possible? if not might be a cool feature to have a simple copy operation to whatever the first USB storage device is mounted on the filesystem.
mmm, just to be clear: this recommendation from the docs involves shelling into norns via the serial port and executing bash commands there. it still requires another host computer, though it has the advantage of working without wifi.
i think that saving your go-to bash sequences in scripts for offline execution is a fine idea.
At the risk of getting too ambitious, which I’m aware is a trait of mine, this seems like a small enough thing that would be useful to many. I haven’t done any system dev on norns but it seems like it’s within reach for a weekend project. Am I being too ambitious?
When norns first shipped there was a menu item which would try to bidirectionally sync the entirety of the audio, code, and data folders to an attached USB storage device. The implementation didn’t work well for a few reasons so if was removed in favor of the SMB (and SFTP / Cyberduck) methods.
The biggest east shortcoming of the old sync method was the inability to control what got synced so it was quite slow.
I’m thinking of something simple like the sample loading menu but when a file is selected it copies it to / on the first attached USB device, which I think is /dev/usb0? This depends on that device automounting to the same location every time.
@zebra is this where I should be looking to add this function? I got a dev environment set up on the main computer but if I don’t need anything that requires a C compiler to change menus I could do it on-device. But then it might be weird for diffs/pull requests.
so the previous implementation (which wasn’t perfectly stable) just sync’d dust to a usb disk which was more appropriate for backup and transfer. transfer is generally easier via wifi.
given many people have upgraded to 32GB modules, and the shield can have any size SD card, this external storage feature was perhaps deprioritized. USB disk transfer is inherently going to be slower, though probably not to the degree that it’d impact performance in most cases (@zebra correct me if i’m wrong?)
so more the point perhaps: how and where would you like to see usb disk support? the UI is going to be pretty tricky given the screen size and that we’d need to make a sensible navigation. FYI this all needs to happen within fileselect.
but there’s also an issue that a lot of the audio file paths are expected to live within dust/audio/ by design. so this might be a really messy feature to attempt to add.
deletion is not automated, requires confirmation, feels like the right move
I might just have a very slow USB drive, but looping over all the TAPE files (most of mine are 15+ mins) was not realistic so I opted for this one-at-a-time model. if someone with a more standard drive can confirm that large files are buttery, then i can adjust!
as a file transfers, norns will seem unresponsive until the transfer finishes and the script returns to latent state – this seems normal and unavoidable, but would love any tips to avoid!