Count me in as well.

Well
 at least for today it’s still in the “hacking on norns code” stage and not just “here’s some scripts” stage, but I just updated my pull request here:

Testing would require grabbing my branch of the norns code, replacing norns/matron and norns/lua and recompiling.

1 Like

Perhaps I spoke too soon. I’ve got some leveling up to do.

1 Like

Here is a fun ‘gotcha’ - the cleanup call is called via ‘pcall’ - which is wise and sensible and makes for a robust system BUT hides your silly errors!

If you are writing a clean up routine - best bet is to just shove it somewhere else to fix issues


https://www.lua.org/pil/8.5.html

that’s worth filing a git issue for. error passing can be added.

“cleanup” also is mostly not necessary beyond user-required shutdown processes such as writing a file (which is what i suspect you’re doing?) — metros and memory is all auto-cleaned-up now.

edit: https://github.com/monome/norns/issues/640

1 Like

Yeah. I’m just writing a file. And I don’t think it’s a long term solution. I’d like it to feel more like hardware TBH but I want to give it some proper thought. This just a quick fix so its useable for making music.

Error passing isn’t really necessary I don”t think. Was easier to test as well as see errors when I attached that bit to a button press instead :slight_smile:

i think error reporting is always nice :slight_smile:

yeah!!

2 Likes

Please point me to details about getting Windows set up for Norns development. I’ve seen bits and pieces of info in numerous posts, but haven’t found docs that have all info in one spot. Most of the info I found related to linux or macOS


I ran across a post (last week maybe?) about remote development of norns over ssh, but can’t find it now. I’d like to use VSCode if possible, but haven’t found many good options for remote development over ssh.

Could Norns be USB-connected to Windows as a mounted drive?

If you’re going to building scripts, the Maiden over Wifi option works well. Beyond that, SFTPing your files to the norns also works.

1 Like

not easily. maybe there is some tricky linux hack to expose a partition this way with some weird host<->host adapter. sounds like a bad idea.

haven’t tried it on windows, but the ‘ssh-fs’ extension works great on mac/linux

If you’re sftp’ing files. Is there a way to get norns to auto run the file on save?

2 Likes

no. you could make one. i would do it as a little C program or extension to matron that watches your dust folder. trying to do this in lua sounds like a great way to bork the event queue. (links to GH issues; TL/DR: don’t do blocking operations from timer/ui handlers in norns lua.)

1 Like

I use Putty to connect to norns via serial and ssh using Windows 10. Then I use vim for editing on device and regular shell commands for everything else. See “serial connection” section here: https://github.com/monome/norns-image/blob/master/README.md

When it comes to sc engines, I do most of the development off-device on my Windows 10 computer using SuperCollider.

What’s the preferred process for coding on PC and then getting your changes to Norns?

  • Clone github repos locally, branch, develop? (somehow deploy to norns)
  • Use Sync Norns to USB, mount USB on PC, develop off of these files, then Sync USB to Norns?

I only see script and sound files in Maiden. What if I want to add functionality to Maiden?

I think development procedure depends on what you want to do since Norns is a collection of different things/layers. What would you specifically want to change about Maiden (or other components)?

I’ve never made changes or worked with Maiden, but looking at the code on github will help you get started. You’ll also see which users developed it, commit history, and more. There’s also some info on setup for development too.

Also to answer your other question, I think it is a lot easier to develop via ssh /sftp and work directly on Norns.

I just want to get set up and start digging around. I have trouble reading the text in maiden and using the browser zoom doesn’t work well because it scales everything and the pushes the console out of view. I wanted to add to the settings to allow more customization.

Primarily, I just want to get set up and familiarized with the best practices and workflows for now.

I have no clue yet what’s involved, but I was wondering if the scripts menu page couldn’t be modified to have different ways of sorting scripts; by developers, or by name, or by categories, or by most recently played.

I have trouble remembering where scripts that I like live, or even what they’re callled. So that might be more than I want to dive into for now, but who knows


That’s awesome, @gretchen!!

The README files in the git repo have information on getting setup. https://github.com/monome/maiden/blob/master/README.md

If the goal is to focus on just the front end web app you can likely skip setting up the go toolchain and look at just the front end portion which is in the app sub directory. The README file there has more details. https://github.com/monome/maiden/blob/master/app/README.md

I believe all the contributors to maiden have in general used macOS or Linux. In general I’d expect using Windows would work once the toolchain is setup. The development workflow is setup such that one can avoid installing any of the toolchain directly on the norns device.

3 Likes

You could create a new config that sets the fontSize setting, which ace uses (the code editor library maiden is built on top of). Here is a simple codepen I found that shows all the possible ace settings.

Basic changes needed would be:

  • Add a new configure-item section to this react component that gives fontSize some options here
  • Set a default fontSize here
3 Likes

I could use the text a bit darker


1 Like