I’ll be adding tutorials about coding for the TB2 as I find time.
Here’s a first small tutorial about using the TB2’s LCD display.
I’ll be adding tutorials about coding for the TB2 as I find time.
Here’s a first small tutorial about using the TB2’s LCD display.
Thanks for the suggestion shiftr.
It seems to be a common issue with the Arduino Due that after uploading firmware perfectly normally for a while, the computer suddenly can’t find the COM port for the Arduino Due anymore. It had me tearing out my hair at the start, but I think I’ve got it figured out.
First off, check which port is available in the Tools/Port drop down menu of the Arduino IDE, and see if it’s selected (on my machine the port sometimes changes). If there’s nothing there, try the following: if you’ve been using the programming port, try plugging the usb cable into the native port (or vice versa). It should pick it up on a different com port. Just remember to select the different board type from the drop down list at Tools/Board – Arduino Due (Programming Port) vs Arduino Due (Native USB Port). And also make sure the port is selected in theTools/Port drop down menu.
Uploading firmware seems to jog the Due’s memory, so once you’ve uploaded the firmware using the different port, you should be able to go back to the port you used before if you prefer. I always use the native port since I don’t need serial communications with the PC and uploading is much faster. The only downside is that you often have to reset the board manually – you can hit the reset switch without removing the board (it’s next to the contrast trimmer for the LCD), so it’s not a big problem.
I’ve been using Adventure Kids awesome collection of single cycle waveforms (AKWF) to use with the TB2. His collection is so extensive that I haven’t really bothered to make my own. It turns out that rolling your own is really simple. Here’s how to go about it in Audacity (chosen here because it’s free and cross-platform).
The basics requirements for a single cycle waveform to use with the TB2 are as follows:
To generate a tone, do so at a frequency of 73.4Hz, or D2. Adventure Kid calls this D2 + 2, but I’m not sure what the +2 is for.
Here’s how to do it in Audacity step-by-step:
The TB2 is coming along nicely and is still on track to be released in December. I’ve been working on the latest version of the hardware. Notice the header on the right side, providing access to the unused analog and digital pins of the Arduino Due. As well as another tactile switch in the top row on the right, – these function as increment and decrement buttons.
There are a couple more headers on the left edge for 5V, as well as the TX/RX pins for serial ports 0 and 3.
And some of you will be happy to see that the TB2 now sports a 1/4″ jack. The SD card slot has moved to the other side of the PCB, and cards are now inserted upside down – it’s not a biggy after all.
The PCB design is now final, but the last change I want to make is to go back to the larger style caps for the tactile switches that I used on the previous prototype. The small ones are hell on the fingers!
On the firmware side, I implemented the arpeggiator on the weekend, and it’s working sweetly!
Here’s a more complete preview of the synth side of the TB2 (the arpeggiator and sequencer are still being written). I expect the TB2 to become available in December 2014.
With two more weeks left before I leave for Rome to show off the TB2 and other Groovesizers at the European Maker Faire, it’s non-stop work at the moment.
Here are two more TB2 demos:
And this one with reverb and delay:
Here’s a first taste of the TB2 – the Arduino Due synth shield that I’m working on and hope to show off at the Maker Faire in Rome. I’m working on the synth side first (with a sequencer to follow). The TB2 features a 4-voiced paraphonic synth with two oscillators per voice. In addition to the usual suspect wave shapes (Sin, Triangle, Saw, Square, Noise), the TB2 can also load additional waveforms from SD card – I’m currently playing with a smaller set of 2000+ waveshapes from the Adventure Kid library. Right now I’m coding the modulation options (prominent in this patch is LFO to oscillator1 octave – sounds a bit like an arpeggiator). As for the LFO, you can choose any of the basic waveforms, but also any of the waveforms off the SD card – some of the Adventure Kid waveforms deliver really interesting results when used as the LFO shape.