Author |
Message |
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Wed Apr 04, 2018 11:55 am Post subject:
New to Aurdino: Idea's for project? |
|
|
Hey Guys,
Been messing with logic CMOS (lunetta) based noise makers for years (I love them dearly) and now I'm considering getting into ardiuno. Any one have any suggestions for a project for me to look into?
I love wild noises with lots of varied textures, soft and harsh. I like unpredictability, ala circuit bending, but some control is nice too.
Any suggestions or directions for me to check out? _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
Grumble
Joined: Nov 23, 2015 Posts: 1294 Location: Netherlands
Audio files: 30
|
Posted: Wed Apr 04, 2018 1:21 pm Post subject:
|
|
|
Check my signature, its an all arduino synth _________________ my synth |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Sun Apr 08, 2018 12:27 am Post subject:
|
|
|
I don't want to poo poo your work, cause it is awesome (and well played btw- very cool stuff on your channel)... BUT it is fairly similar to many things I've seen done with other/usual modular synth designs...
I guess I was hoping for a link to a completely outlandish noise maker using arduino. Something that sets it apart from using typical chips due to a digital (code) advantage. _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
electrotech
Joined: Apr 24, 2013 Posts: 38 Location: Ayrshire Scotland
|
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Tue Apr 10, 2018 11:38 am Post subject:
|
|
|
very cool, thanks for the share. _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Sun Apr 15, 2018 2:17 am Post subject:
|
|
|
quick question: if I was to send a clock signal from my lunetta which i typically run at 9v in my case... in order for that to work with arduino at 5v should i connect my clk input jack to a voltage regulator or should i just use an adequate resistor to bring it down? _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
electrotech
Joined: Apr 24, 2013 Posts: 38 Location: Ayrshire Scotland
|
Posted: Sun Apr 15, 2018 3:56 am Post subject:
|
|
|
Since the Arduino inputs are at high impedance and very little current is drawn, you just need to drop the signal voltage from 9V to 5V using two resistors in series which forms a potential divider. Try 18k and 22k with the bottom end going to 0V (GND) and the junction to the Arduino.
Andy |
|
Back to top
|
|
|
Grumble
Joined: Nov 23, 2015 Posts: 1294 Location: Netherlands
Audio files: 30
|
Posted: Sun Apr 15, 2018 5:59 am Post subject:
|
|
|
Or use a zener diode (4v7) with a resistor of ~10k _________________ my synth |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Sun Apr 15, 2018 12:10 pm Post subject:
|
|
|
thanks for the clarification mates. I'll bust out my multimeter and see what I get when I get started. _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
Grumble
Joined: Nov 23, 2015 Posts: 1294 Location: Netherlands
Audio files: 30
|
Posted: Sun Apr 15, 2018 11:12 pm Post subject:
|
|
|
Grumble wrote: | Or use a zener diode (4v7) with a resistor of ~10k |
In fact, you could leave out the zener and just use a resistor, because of the input configuration of the (Atmel) processor itself.
See: http://electro-music.com/forum/topic-68022.html _________________ my synth |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
|
Back to top
|
|
|
Grumble
Joined: Nov 23, 2015 Posts: 1294 Location: Netherlands
Audio files: 30
|
Posted: Tue Apr 17, 2018 11:18 am Post subject:
|
|
|
if you are going from a lunatta output to an arduino input, just connect a 10kohm resistor between the two, the input circuit of the arduino does the rest. _________________ my synth |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Wed Apr 25, 2018 10:17 pm Post subject:
|
|
|
I'm not exactly sure what I want to do but I have started toying with some basic arduino sound synthesis..
I was able to whip up this little guy running some sample code in about 1 hour.
http://www.instructables.com/id/Using-Mozzi-Library-with-5-potentiometers/
Fun stuff, but mostly a starting point. It does get me thinking.
I do have a question about memory limitations as I'm theorizing a future project.
Lets say I have the arduino checking 4 pins to detect high/low in order to set a mode which changed the run code.
For example (this is crude I know, forgive me):
//reading state of digital pins
if (1,1,1,1,) //all are set set high
then
run this version of some code
if (1,1,1,0)
then
run some other weird thing
if(1,1,0,0)
then
run another some other code
If possible, I'd imagine I'd be able to reset any pots/analogue values I have connected to the analogue inputs for each loop of code... So if im running code block one (1,1,1,1) then pot 1 controls oscil freq and pot 2 controls an LPF. If i switch to code block 2 (1,1,1,0) then I could I reset analogue inputs to affect others things? (pot 1 now controls LPF value, pot 2 now controls a frequency value)
Is this possible? Would I simply run out of memory after loading in all the user code + the libraries? Can I not change what values the analogue inputs are associated to once the code executes? What If i considered using a teensy board? Would I still run into these limitations perhaps?
Thanks for the help... if there's a better place to ask these questions then please point me in a proper direction! _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
Grumble
Joined: Nov 23, 2015 Posts: 1294 Location: Netherlands
Audio files: 30
|
Posted: Wed Apr 25, 2018 11:17 pm Post subject:
|
|
|
Memory of the AtMega328P (the most used processor in the Arduino family):
– 32KBytes of In-System Self-Programmable Flash program Memory
– 1KBytes EEPROM
– 2KBytes Internal SRAM
So, in 32k you can put a lot of code in, and also there is the 1k Eprom where you might store wave-tables etc.
Maybe for you a good start is (if you are using the Arduino IDE) reading THIS and THIS _________________ my synth |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Thu Apr 26, 2018 10:01 am Post subject:
|
|
|
thanks for the resources...
I take it once the aurdino moves beyond the set up phase and once it gets into the loop section you can't modify values or settings in the setup based on user input in the void loop.
Thanks for the estimation on code size... I noticed the little project i worked with yesterday look up nearly 50% of the chip according to the IDE and got curious. _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Tue May 01, 2018 4:11 pm Post subject:
|
|
|
Still haven't done any coding yet but I did put something together with a sketch I found on the net using the mozzi library. Figured it would be a good start. 2 knock off nanos and 2 cmos 4046. The outputs of the nanos feed the 4046 vcos... One works spendedly and the other despite being rigged up exactly the same sounds alot less interesting. Fun none the less.
Description: |
|
Filesize: |
2.4 MB |
Viewed: |
341 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |
|
Description: |
|
Filesize: |
2.02 MB |
Viewed: |
324 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |
|
Description: |
|
Filesize: |
2.61 MB |
Viewed: |
332 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |
|
_________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
PHOBoS
Joined: Jan 14, 2010 Posts: 5591 Location: Moon Base
Audio files: 705
|
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Thu May 03, 2018 6:10 pm Post subject:
|
|
|
The output of the microprocessors are currently just slamming into pin 9 of the 4046s. The timing cap on the 2nd one I ended up wiring off board to a switch so one can select the range (basically a high and low). One 4046 responds great to the PWM output and gives me some nice weird noises while the other one... not so much. I'm not sure what the deal is. I'll have to try putting a cap in line or something. The 2nd switch is a glide which puts a 10uf on the input to the 4046 towards ground... funny thing is 1 arduino likes it and the other, the one I'm having trouble with, caused it to reset. (shrug) That's why I ended up wiring the switch intended for the glide on/off to change the timing cap instead.
The backside is still exposed as I figured I'd likely end up having to change something eventually.
The yellow knobs are basically mixers. The ones in the square formation wipe between the arduinos and the 4046s and the one on the far right wipes between the two outputs of the previously mentioned pots. I tend to enjoy blending different sources together to get a wider range of sounds - I prefer everything I build to basically have an endless amount of possibility.
As to what It sounds like, I'll have to record something. It's a fairly simple code set up from the mozzi library. I didn't write the code... still trying to figure that out. _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
stolenfat
Joined: Apr 17, 2008 Posts: 476 Location: Sunny Oakland California
Audio files: 1
|
Posted: Thu May 31, 2018 12:31 am Post subject:
|
|
|
Here's an example of 2 arduinos running freeware code... and 2x 4046 vcos fed from the same code and a bunch of blending pots can do.
Nothing world changing but definitely cool.
https://www.youtube.com/watch?v=ww1_4-4hzQg
...I promised I'd upload something _________________ home made noise and electronic ill-logic |
|
Back to top
|
|
|
|