Arduino Mozzi synthesizer vX.0 by e-licktronic

Here we talk about e-licktronic projects (hardware, software) like SquareSeq, Ablickton...

Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby e-licktronic » Mar 13th, '13, 17:07

Arduino Mozzi synthesizer is a 8bits mono (for now) syntheziser.
To build this you need:
-one Arduino
-one Midilickuino
-one or more Lickogic
-Mozzi library
-Midi Library
-PotMUX library
-and cable of course.
-The code Mozzi_synth_v1.0beta

First install libraries in your IDE.

Unfortunately we couldn't use Dilicktal because Mozzi library use Pin 9 of the Arduino like PWM output but we could modify SRIO library to use Dilicktal on the LCD connector. (next update).
On pin 9 of Arduino (this is the Pin14 of the IDC16 Midilickuino Board connector on ) connect one 270 ohm resistor in series and one 0.1uF capacitor in parallel like that. (to reduce aliasing at high frequencies)
Image
Then connect Boards together and upload the sketch Mozzi_synth_v1.0beta
That's it !! you're ready to play with your 8bits synthesizer, you could modify code to add parameters

If you need some help to edit the code. Here is the place
Best regards,
e-licktronic
User avatar
e-licktronic
Site Admin
 
Posts: 518
Joined: Feb 16th, '11, 13:36

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby Philippe » Mar 14th, '13, 11:46

Great, I'll test as soon as possible.
When using a MEGA 2560 it should be possible to use PWM for another pin that 9 ?
We can directly connect the output "Filtered Audio" on a mixer ?
Good job. :D
Philippe.
Ground control to Major Tom
User avatar
Philippe
 
Posts: 20
Joined: Feb 27th, '13, 20:08
Location: Yvelines (78) France

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby e-licktronic » Mar 15th, '13, 15:13

When using a MEGA 2560 it should be possible to use PWM for another pin that 9 ?


Have a look on the file "known_16bit_timers.h" in the Mozzi library, it's specified that you could use Pin 11, 12, 13 but we didn't test it.

We can directly connect the output "Filtered Audio" on a mixer ?

yes, you can.

e-licktronic
Best regards,
e-licktronic
User avatar
e-licktronic
Site Admin
 
Posts: 518
Joined: Feb 16th, '11, 13:36

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby Socram » Feb 1st, '15, 21:51

So, I am very interested in building a project similar to this one. I was wondering if there used to be more information in the post that is no longer present. It looks like there used to be an image?

I had a couple questions as well:

I was also wondering what you were using to trigger notes, or if it was just a constantly generated sound? Is there a way to send MIDI notes to the synth using the USB port, from say a computer or usb to midi keyboard?

How are you outputting the sound? It appears there is a line out?

On a separate note, how long do orders typically take to be processed and shipped to the US?
Socram
 
Posts: 2
Joined: Feb 1st, '15, 21:44

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby e-licktronic » Feb 2nd, '15, 07:22

Dear Socram,

Socram wrote:I was also wondering what you were using to trigger notes, or if it was just a constantly generated sound?

You can trig sound via MIDI with note ON, note OFF.
Is there a way to send MIDI notes to the synth using the USB port, from say a computer or usb to midi keyboard?

You can send note with the USB port using the serial/Midi converter. Have look on this tutorial http://www.e-licktronic.com/en/content/16-tutorial-dilicktal-usb. Unfortunetly you can't plug a USB/MIDI keyboard directly to Arduino.
How are you outputting the sound? It appears there is a line out?

We simple use a RC filter like this one
Image
But you can add a OPA like buffer to get line output.

Shipping process take one or two weeks to arrive in US.

Best regards,
e-licktronic
Best regards,
e-licktronic
User avatar
e-licktronic
Site Admin
 
Posts: 518
Joined: Feb 16th, '11, 13:36

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby Socram » Feb 23rd, '15, 18:50

Hello again! So I'm trying to expand on this project with some additional functionality, primarily by adding an LCD display and a barebones "sequencer" of sorts. I'm relatively new to the hardware world so bear with my confusion please haha.

The parts I ordered just arrived (Midilickuino, Lickogic, Cablick x2), and I still don't fully understand how I'm supposed to access digital pin 9 for making an audio out (I'm using a 3.5mm audio jack off spark fun). Upon further observation of the video it looks like you're using a cablick from the OUT of the lickogic, into a breadboard. From there, based off your post, you run Pin 14 through and RC filter and connect that to the audio jack. So for starters, please let me know if I got all of that correct.

Assuming I got all of that correct, I have a second question. I'm using both the cablicks I ordered for the LCD and Lickogic. I don't really have time to wait for international shipping AND pay 30 dollars to get just a single cable. Is the cablick a standard connector that I can buy in the US? How do you suggest I permanently access the pwm output of the arduino? This will eventually all be going inside an enclosure of some sort, so compactness would be nice. I also need to add a toggle switch, am I correct in assuming that this will be wired up in a similar way?

Thank you for your help and again I apologize if these questions are super newbie.
Socram
 
Posts: 2
Joined: Feb 1st, '15, 21:44

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby scass201 » May 26th, '16, 19:53

I've acquired the hardware for the Mozzi synth with the lickduino and lickogic board and am having trouble getting the code to work out using the libraries. I've altered the PotMUX library to use the mozziAnalogRead() function instead of the arduino analogRead() function and it seems I've lost control of my pots. Any suggestions on how to fix the problem?
scass201
 
Posts: 2
Joined: May 24th, '16, 14:56

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby nahuelmus » Dec 21st, '16, 18:08

Hello guys, Thanks for all the help given in this forum, I have a little problemita I speak Spanish and they cost me some translations I do not understand well, I have arduinos one r3 I want to put together a project like this, could you help me a little? , I already have the libraries, I just downloaded the code of mozzi synt_v1_0bbeta offered by Mr. e-licktronic.com, here another boy https://www.youtube.com/watch?v=0QQHI0fGqeU&t=241s made one with two arduinos One but it does not explain about the code about it and how to do it, I would love to make my own electronic synthesizer just that I am new with arduino, Thanks for all your help! pd I have also loved with an optocoupler to receive the midi signals, with other projects of simpler synthesizers I have worked well,

otra cosa,
the link -PotMUX library is down :( help me please

The code as it is tells me compilation terminated.

Code: Select all
C:\Users\musker\Downloads\Mozzi_synth_v1_0beta\Mozzi_synth_v1_0beta\Mozzi_synth_v1_0beta.ino:16:20: fatal error: PotMUX.h: No such file or directory

#include <PotMUX.h>

                    ^

compilation terminated.

ELLS = 512u; Unsignbeta \ Mozzi_synth_v1_0beta.ino: 19: 0:

C: \ Users \ musker \ Documents \ Arduino \ libraries \ Mozzi-1.0.2 / Oscil.h: 179: 7: note: void Oscil <NUM_TABLE_CELLS, UPDATE_RATE> :: setFreq (int) [with unsigned int NUM_TABLE_CELLS = 256u; Unsigned int UPDATE_RATE = 16384u]

  Void setFreq (int frequency) {

       ^

C: \ Users \ musker \ Documents \ Arduino \ libraries \ Mozzi-1.0.2 / Oscil.h: 197: 7: note: void Oscill <NUM_TABLE_CELLS, UPDATE_RATE> :: setFreq (float) [with unsigned int NUM_TABLE_CELLS = 256u; Unsigned int UPDATE_RATE = 16384u]

  Void setFreq (float frequency)

       ^

Mozzi_synth_v1_0beta: 109: error: call of overloaded 'setFreq (unsigned int &)' is ambiguous

   ALfo_saw.setFreq (speed_lfo); // update Lfo frequency

                             ^

C: \ Users \ musker \ Downloads \ Mozzi_synth_v1_0beta \ Mozzi_synth_v1_0beta \ Mozzi_synth_v1_0beta.ino: 109: 29: note: candidates are:

Mozzi_synth_v1_0beta \ Mozzi_synth_v1_0beta.ino: 19: 0: C: \ Users \ musker \ Downloads \ Mozzi_synth_v1_0beta \

C: \ Users \ musker \ Documents \ Arduino \ libraries \ Mozzi-1.0.2 / Oscil.h: 179: 7: note: void Oscil <NUM_TABLE_CELLS, UPDATE_RATE> :: setFreq (int) [with unsigned int NUM_TABLE_CELLS = 256u; Unsigned int UPDATE_RATE = 16384u]

  Void setFreq (int frequency) {
The codes have to be edited or are they ready to walk?
nahuelmus
 
Posts: 1
Joined: Dec 21st, '16, 17:54

Re: Arduino Mozzi synthesizer vX.0 by e-licktronic

Postby richardlawson1489 » Dec 30th, '16, 04:00

Great project. I am also interested in building project like this.
richardlawson1489
 
Posts: 31
Joined: Feb 18th, '15, 09:59
Location: Anaheim


Return to Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron