Auduino port feasible?


#1

not sure if it is the right section, but since one solution could be to run this on pwm outputs as on the arduino...

is it theoretically possible to port the auduino code to axoloti? auduino is a synth project for arduino that uses some low-level stuff to generate a grain-synth. the sounds coming from it are quite powerful.

here is some info:

so someone with more knowledge of the lower level stuff on the axoloti, can pwm output be changed this way?

or alternatively could we get close to that with "normal" audio out?


#2

PWM output is only used because the Arduino has no dedicated DAC. I'm sure the synthesis engine could be ported to Axoloti.

a|x


#3

sure? i know the arduino (uno that is) has no dedicated dac, but is the auduino not only sounding and acting the way it is because it is output via pwm? the sound only like it is because of the 8bit resolution, etc...


#4

i would be very happy if this could be made work on the axoloti.


#5

Can't remember who (either Mark or Johannes) I asked, but I once asked about the possibility to have an option in Axoloti to set the project bit-depth and sample-rate preferences of a sketch. I specifically wanted an 8-bit environment running at a lower sample rate thinking that it would barely use any resources of an Axoloti, and provide a genuine 8-bit processing environment.

They never said it was impossible, but if I recall, it would not be an easy thing to implement. I hear you though, I'd love to be able to create Axoloti patches in a sort of official 8-bit mode. We'd be able to create proper 8-bit samplers and huge chiptune synth/sequencer sketches if we could.

This limitation is one of only three notable issues I have with Axoloti, which are:

1 - I wish I could set the Bit Depth and Sample Rate of a Sketch and have the board adapt to it.
2 - I wish the board itself were unpopulated, and instead, featured arduino-style headers.
3 - I wish there were some multi-track full-duplex record/playback objects.

For such a young product to have so few issues is pretty damn good in my book, but unfortunately for me, it's always one or more of those three issues that stop me in my tracks.


#6

as for me i am happy with the way the axoloti works. auduino output was on a ppm pin originally, so that could perhaps still be done on the axoloti, without even needing the dedicated audio outs...


#7

You can create 8 bit only objects, where all calculation is done at 8 bit resolution.

It’s also pretty easy to skip S-Rate cycles, effectively dividing the sample-rate.

a|x


#8

I started a thread a while back and got some info from Sputnki about it. I don't know if you mean the same as him, I can handle doing what he suggested, but I wouldn't have a clue how to make objects actually do their processing in 8-Bit.


#9

Isn’t it just a question of using 8-bit integers for all the values, in the objects?

Obviously, you’d need to do some bit-shifting to/from the standard 27-bits to get signals in the right range.

a|x


#10

It probably is, but I don't understand how to program objects.
I'm just a cable-connecting sorta guy!


#11

ok, port done :slight_smile: that was much easier than i thought... see here: https://sebiik.github.io/community.axoloti.com.backup/t/lokki-contributions/2169/57?u=lokki