electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Arduino
New to Aurdino: Idea's for project?
Post new topic   Reply to topic
Page 1 of 1 [19 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Wed Apr 04, 2018 11:55 am    Post subject: New to Aurdino: Idea's for project? Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Wed Apr 04, 2018 1:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Check my signature, its an all arduino synth
_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Sun Apr 08, 2018 12:27 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
electrotech



Joined: Apr 24, 2013
Posts: 38
Location: Ayrshire Scotland

PostPosted: Sun Apr 08, 2018 3:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Have a look at this :- https://bleeplabs.com/store/nebulophone/
I made a DIY version for a pal of mine and we both think it sounds amazing.


DIY_Nebulophone.jpg
 Description:
Mainly stripboard
 Filesize:  561.7 KB
 Viewed:  434 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

DIY_Nebulophone.jpg


Back to top
View user's profile Send private message
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Tue Apr 10, 2018 11:38 am    Post subject: Reply with quote  Mark this post and the followings unread

very cool, thanks for the share.
_________________
home made noise and electronic ill-logic
Back to top
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Sun Apr 15, 2018 2:17 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
electrotech



Joined: Apr 24, 2013
Posts: 38
Location: Ayrshire Scotland

PostPosted: Sun Apr 15, 2018 3:56 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Sun Apr 15, 2018 5:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Or use a zener diode (4v7) with a resistor of ~10k
_________________
my synth
Back to top
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Sun Apr 15, 2018 12:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Sun Apr 15, 2018 11:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Tue Apr 17, 2018 9:51 am    Post subject: Reply with quote  Mark this post and the followings unread

I'm pretty sure I understand what your saying... so i doodled up a quick ms paint just to make sure. Set up connections like in this pictogram right?

All I gotta do is find the proper values.

-Cal


voltage diver.png
 Description:
 Filesize:  9.91 KB
 Viewed:  419 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

voltage diver.png



_________________
home made noise and electronic ill-logic
Back to top
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Tue Apr 17, 2018 11:18 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Wed Apr 25, 2018 10:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Grumble



Joined: Nov 23, 2015
Posts: 1294
Location: Netherlands
Audio files: 30

PostPosted: Wed Apr 25, 2018 11:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Thu Apr 26, 2018 10:01 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Tue May 01, 2018 4:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.


IMG_20180501_151509256.jpg
 Description:
 Filesize:  2.4 MB
 Viewed:  341 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

IMG_20180501_151509256.jpg



IMG_20180501_151451364.jpg
 Description:
 Filesize:  2.02 MB
 Viewed:  324 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

IMG_20180501_151451364.jpg



IMG_20180501_151446415.jpg
 Description:
 Filesize:  2.61 MB
 Viewed:  332 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

IMG_20180501_151446415.jpg



_________________
home made noise and electronic ill-logic
Back to top
View user's profile Send private message Visit poster's website
PHOBoS



Joined: Jan 14, 2010
Posts: 5591
Location: Moon Base
Audio files: 705

PostPosted: Wed May 02, 2018 2:31 am    Post subject: Reply with quote  Mark this post and the followings unread

nice panel Very Happy of course I am curious how it sounds,. and what are you feeding the vco's with from the nano's
as they don't have an analog output. (although you could do something with an LPF). Also, is there a timing
cap missing on one of the vco's ?

_________________
"My perf, it's full of holes!"
http://phobos.000space.com/
SoundCloud BandCamp MixCloud Stickney Synthyards Captain Collider Twitch YouTube
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Thu May 03, 2018 6:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
stolenfat



Joined: Apr 17, 2008
Posts: 476
Location: Sunny Oakland California
Audio files: 1

PostPosted: Thu May 31, 2018 12:31 am    Post subject: Reply with quote  Mark this post and the followings unread

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [19 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Arduino
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use