Midi controlled square wave oscillator

Hello,

is it possible to build an square wave oscillator module,based on a pic,that generates its frequency based on the midi note received?

Sorry ,this may sound simple,but i’m new to pic programming…

thanks

Maneco

http://manecolooper.tripod.com

Well… just an idea:

18F running MIOS -> SPI interface with digital potentiometer (see AOUT example under MIOS downloads) -> simple 555 timer/oscillator circuit?

I think mios can do this just like that using a DOUT module. (“square” lfo = 1 or 0, with varying ON & OFF times, ie pulsewidth)

Will require some programming tho.

I think I know what You are after: Pitch shifting loops (or delays) with midi notes, Eh? (Went to your pages, and browser nearly stopped working, scale down those pictures, will Ya?)

I think timer with prescaler and table of diviners (for note frequencies) could be done pretty easily: check

http://chip.aeug.org/oct54all.asm

for reference. There are many examples for handling midi input on pics.

http://www.audiomulch.com/midipic/

is a good place to start.

Also, remember to respect copyrights (-lefts) if you’re planning to release midi enabled Deluxe Moneycolooper for $750 :wink: Of course, you could also release your project plans and designs for the grateful DIY community ;D

Bye, Samppa