Auduino, the Lo-Fi granular synthesiser by Peter Knight, Tinker.it http://tinker.it.
- Help: http://code.google.com/p/tinkerit/wiki/Auduino
- More help: http://groups.google.com/group/auduino
Midi additions and C++ support by Ilja Everilä saarni@gmail.com.
Add autoconf or some such method for setting up Makefile variables.
Clone the repo, git clone git://github.com/everilae/auduino.git
, then run:
cd auduino
make
Until autotools is up and running you have to set some variables in the Makefile to get things working:
# Base directories for Arduino
AVR_TOOLCHAIN = /opt/cross/avr/lib64/gcc/avr/4.7.0
ARDUINO_BASE = /usr/share/arduino-1.0.1/hardware/arduino
ARDUINO_CORE = $(ARDUINO_BASE)/cores/arduino
ARDUINO_VARIANT = $(ARDUINO_BASE)/variants/standard
# Fix PATH for correct toolchain
PATH := $(AVR_TOOLCHAIN)/bin:$(PATH)
Also set MCU variables (or provide them at the command line):
MCU = atmega328p
SIMMCU = atmega328
ISPMCU = m328p
If your processor frequency differs from 16MHz, set it with:
F_CPU = 16000000L
make simulate
or as gdbserver
make gdbserver &
avr-gdb
(gdb) target remote localhost:1212
(gdb) file auduino
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from /home/user/workspace/arduino/auduino/auduino...done.
(gdb) load
(gdb) continue
Debug build is useful with simulators and has some helper code for writing messages to stdout and reading from stdin.
make DEBUG=1
make upload