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 » Developers' Corner
PIC/ucontroller code examples for Synth?
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
loss1234



Joined: Jul 24, 2007
Posts: 1536
Location: nyc
Audio files: 41

PostPosted: Mon Apr 12, 2010 11:00 am    Post subject: PIC/ucontroller code examples for Synth? Reply with quote  Mark this post and the followings unread

I am trying to dive into the world of Pic's but have no idea where I might be able to look up some example code. I am interested in doing some very basic things and hope to one day be able to make an arppregiator.

thanks!

_________________
-------------------------------------------- check out various dan music at: http://www.myspace.com/lossnyc
http://www.myspace.com/snazelle
http://www.soundclick.com/lossnyc.htm http://www.indie911.com/dan-snazelle
Back to top
View user's profile Send private message
elmood



Joined: Sep 05, 2009
Posts: 22
Location: Toronto

PostPosted: Sun Apr 18, 2010 10:31 am    Post subject: Reply with quote  Mark this post and the followings unread

I have a (fairly old, but still usable) overview of basic PIC info on my website. It has gotten good responses from folks over the years:

Check out:

http://www.andrewkilpatrick.org/blog/?page_id=255

and also:

http://www.andrewkilpatrick.org/blog/?page_id=241

The only difference now is that there are some excellent newer PICs to choose from. I've been having a lot of fun with the PIC16F690 which is cheap and very simple to use. Also, I highly recommend the PICKit3 programmer which is low cost and works very well.

In terms of doing synth stuff, there are so many possibilities. If you want to start by making some sound, you can make quite good digital oscillators. I've done a number of different configurations and would be pleased to offer some help based on what you'd like to do.

I think the most important part of getting into micros or any sort of "embedded" electronics is to understand the speed and capabilities of the system. Once you can get your head around what's possible in terms of timing, processing power, storage, etc. you'll start to imagine uses and potential projects that you never thought possible before! There is also nothing wrong with using more than 1 PIC in a circuit... treating it more like a custom chip than an actual computer. For $2 you can make some pretty impressive "special purpose" chips for your projects. Smile

Cheers!
Back to top
View user's profile Send private message Visit poster's website
cloudscapes



Joined: Feb 09, 2004
Posts: 100
Location: Montreal

PostPosted: Wed Apr 21, 2010 4:34 am    Post subject: Reply with quote  Mark this post and the followings unread

I prefer the more-than-one-micro-per-circuit route myself!

although pics/avrs can make nice oscillators (using DDS), it consumes quite a bit of resources. especially if you're going for a nice smooth sine or triangle. doesn't leave much for LFOs, other oscillators, the brains, etc. however, remove the oscillator and a single pic/avr has more than enough power to do several LFOs, ADSRs, MIDI, brains, all at once. those other things don't require constant thinking every nanosecond like an oscillator does.

_________________
Sonic Crayon DIY effects lab
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: DrJustice
Page 1 of 1 [3 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 » Developers' Corner
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