MUFF WIGGLER Forum Index
 FAQ & Terms of UseFAQ & Terms Of Use   Wiggler RadioMW Radio   Muff Wiggler TwitterTwitter   Support the site @ PatreonPatreon 
 SearchSearch   RegisterSign up   Log inLog in 
WIGGLING 'LITE' IN GUEST MODE

nw2s::b 1.1-prealpha firmware release
MUFF WIGGLER Forum Index -> nw2s  
Author nw2s::b 1.1-prealpha firmware release
scottwilson
Just a heads up that I've released a pre-production version of 1.1. The main reason is so that those of you who want to play with monome support can do so without waiting until the full release. There are a few other features available including a new loader mode and some additional glitch modes for the sample looper:


    OtoGrid
    Scanner Darkly's Game of Life
    Grid Trigger Sequencer (incl Probabilistic mode)
    Grid Note Sequencer
    Slide Rule (Euclidean pattern generator, Grid support version)
    16Loader (prompts for choice of 16 presets to load from SD card on reset)
    Stop trigger (all clocked devices can be paused with a toggle)
    Looper Glitch mode (glitches two samples similar to Shapeshifter)
    Ringmod mode in looper (one sample modulates another)
    Toggle mode in looper (iterate over a number of loops with trigger)
    Density control (looper will randomly mute on glitch trigger)


I'm in the middle of a couple of other deadlines so will have to provide some documentation a bit later, but for the most part, there's sample code and sample JSON files in the code... otherwise just ask and I'll be providing some details on this thread as it comes.

http://nw2s.net/downloads/

Thanks and enjoy!

s
djthopa
Yes!

Im receiving my b tomorrow!

Thanks Scott, will surely be hitting you up soon.
myecholalia
Awesome! Thank you, Scott.
Will be playing with this at the earliest.
djthopa
Scott, a couple of questions.

-I need to update the bee firmware to 1.1. To do that i need the app bossa-nw2s-0.1-mavericks.zip (ZIP, 3.3 MB) and with this app upload to the b the file bSDFirmware-1.1.0-prealpha.bin?

-how does the 16Loader work? Do i need to load the default.b file on the Sd card? or the prog00-15.b? Do i need to modify each of this prog00.b with the sketches i want to load? How do i browse trough the 0-15?

Thanks!!!
scottwilson
The easiest way to update to 1.1 is as you describe. (Assuming you have OS X mavericks or greater)

Updating firmware:
1. Download the programmer and download the firmware version. Unzip both
2. Connect your computer to the 'b via the programming port.
3. Run bossa-nw2s
4. Select the arduino port from the dropdown
5. Select the 1.1 bin file that you downloaded
6. Click "Write"
7. give it a minute and it will confirm when it's programmed successfully.

So once it's programmed and reset, it will always load "default.b". As shipped, I configured default.b to run the Turing Machine algorithm. It's a good default as it is capable of a large number of analog and digital outs for quick plug and play.

If you want your own program to just load automatically, you can replace the contents of "default.b" with your own program.

If, however, you want it to prompt to load, then you'll want to do the following:

Set up the 16Loader:

1. replace the contents of 'default.b' with the following:
Code:

{
   "loader" :    
   {
      "mode" : "default"
   }
}


This tells the firmware that you want to be prompted to load a program from one of 16 files.

2. Place the progXX.b files in the same folder (Most are empty right now, which is fine... fill them in as you see fit) Make sure at least one has something in it that you can use - They are all grid-based for now... I need to create a few banks of presets for grid and non-grid use

3. Replace the sd card and hit the reset button.

4. When in 16Loader mode, you will be able to use Analog 1 to scroll through 16 values as indicated by the clock display. It's a bit confusing (my mistake) that clock 1 loads prog00 and clock 10 load prog09, etc.

5. When you've selected the program you want to load, hit toggle 1.

6. If you want to load another, hit reset and you'll be back in 16Loader mode.
djthopa
Thanks for the detailed reply Scott.

Where are this files located, so i can upload them to the b? Do i upload them with the ide?


OtoGrid
Scanner Darkly's Game of Life
Grid Trigger Sequencer (incl Probabilistic mode)
Grid Note Sequencer
Slide Rule (Euclidean pattern generator, Grid support version)
Stop trigger (all clocked devices can be paused with a toggle)
Looper Glitch mode (glitches two samples similar to Shapeshifter)
Ringmod mode in looper (one sample modulates another)
Toggle mode in looper (iterate over a number of loops with trigger)
Density control (looper will randomly mute on glitch trigger)


Thanks!
scottwilson
If you're using the SD-based firmware, then you won't need to upload anything new via the IDE or the Programmer.

The benefit of the SD-based firmware is that everything is set up using the SD card as JSON files. All of the programs that I'm talking about now should be on the SD card in the /programs folder.

To run the Game of Life from SD, place the following code in one of the progXX files:

Code:

{
   "program" :    

   {
      "name" :          "Game Of Life",
         
      "clock" :

      {
         "type" : "FixedClock",
         "tempo" : 120,
         "beats" : 16         
      },

      "devices" : [
         
         {
            "type" : "GameOfLife",
            "division" : "sixteenth",
            "columns" : 16,
            "rows" : 16,
            "varibright" : true,
            "deviceType" : "grids"
         }               
      ]
   }
}



I started with that one cause it's the easiest to set up. Obviously, you'll want to customize this file with the size of your grids. Another customization is to use a variable tempo clock instead of a fixed clock or even to use an external clock instead of the internal.

If you want to try to OtoGrid, you can use this code as a starting point... it's a bit more complicated cause you can configure all of the notes that each of the four sides will trigger.

Code:

{
   "program" :    

   {
      "name" :          "OtoGrid Grids 256",
         
      "clock" :

      {
         "type" : "FixedClock",
         "tempo" : 120,
         "beats" : 16         
      },

      "devices" : [
         
         {
            "type" : "OtoGrid",
            "division" : "sixteenth",
            "columns" : 16,
            "rows" : 16,
            "deviceType" : "grids",
            "d0" : 1,
            "a0" : 1,
            "notes0" : [
               
               [1,1], [1,3], [1,5], [1,1],
               [1,3], [1,5], [1,1], [1,5],
               [2,1], [2,3], [2,5], [2,1],
               [2,3], [2,5], [2,1], [2,5]               
            ],
            
            "d1" : 2,
            "a1" : 2,
            "notes1" : [
               
               [1,1], [1,3], [1,5], [1,1],
               [1,3], [1,5], [1,1], [1,5],
               [2,1], [2,3], [2,5], [2,1],
               [2,3], [2,5], [2,1], [2,5]               
            ],
            "d2" : 3,
            "a2" : 3,
            "notes2" : [
               
               [1,1], [1,3], [1,5], [1,1],
               [1,3], [1,5], [1,1], [1,5],
               [2,1], [2,3], [2,5], [2,1],
               [2,3], [2,5], [2,1], [2,5]               
            ],
            "d3" : 4,
            "a3" : 4,
            "notes3" : [
               
               [1,1], [1,3], [1,5], [1,1],
               [1,3], [1,5], [1,1], [1,5],
               [2,1], [2,3], [2,5], [2,1],
               [2,3], [2,5], [2,1], [2,5]               
            ]

         }               
      ]
   }
}



Again, you'll want to change the size... potentially set up a variable clock instead of a fixed clock or even external clock.

When configuring notes, they are given as [octave, degree].

If you want to switch to a variable clock, try swapping out the clock node with something like this:

Code:

      "clock" :
      
      {
           "type" : "VariableClock",
           "minTempo" : 30,
           "maxTempo" : 240,
           "tempoInput" : 1,
           "beats" : 16           
      },


Start there, let me know if you have some specific questions and then we'll move on to some of the other things you've noted in your earlier post.

s
dadek
thanks for this. i'm also at the same stage, and needing all these very specific instructions. Guinness ftw!
Riggar
Hi there - just enquiring re status of firmware 1.1? shall I go with the pre alpha version on the website?
scottwilson
Riggar wrote:
Hi there - just enquiring re status of firmware 1.1? shall I go with the pre alpha version on the website?


Sorry for the delay getting back to you on this. Summer was getting away from me and I'm back into full production/coding mode now.

For now, keep using the 1.1 firmware. I will draw a line in the sand soon - I just got too ambitious with functionality, so once I get USB midi support finished, then I will be migrating some of the code that is intended to be shared b/b2/dsp code that will be a wavetable-based CV/modulation source.

Getting there! Thanks for your patience.

s
Riggar
No probs - I'm sure you're busy! Thanks for info - will get that organised.
djthopa
Hi Scott!

Any news on the update?

Cheers
MUFF WIGGLER Forum Index -> nw2s  
Page 1 of 1
Powered by phpBB © phpBB Group