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
Arduino Midi to CV
Post new topic   Reply to topic
Page 1 of 1 [10 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Project_2501



Joined: Jan 31, 2018
Posts: 68
Location: Los Angeles

PostPosted: Tue Mar 06, 2018 6:54 pm    Post subject:  Arduino Midi to CV
Subject description: Stripboard,veroboard layout???
Reply with quote  Mark this post and the followings unread

I glanced the previous threads on Arduino MIDI to CV builds and was wondering if anyone has an up and running one to share with a stripboard layout, or even a breadboard example for testing, before I beginner like myself try to build one easily Smile

Just got into the world of DIY synth, Slowly but surely. Was looking into buying a kit for MIDI to CV for my ever ending dream of modules to play with. Arduino looks fun, and CHEAPER!

Thanks once again for an helpful forum, any help at all would be greatly appreciated.
Back to top
View user's profile Send private message
Hammer



Joined: Mar 13, 2018
Posts: 72
Location: Russia, Zhukovsky
Audio files: 23

PostPosted: Sun Mar 25, 2018 10:54 am    Post subject: Reply with quote  Mark this post and the followings unread

The most cheapest decision: https://janostman.wordpress.com/cheap-diy-usb-midi-to-cv-interface/
Back to top
View user's profile Send private message
Project_2501



Joined: Jan 31, 2018
Posts: 68
Location: Los Angeles

PostPosted: Tue Mar 27, 2018 1:56 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you a million! Can't wait to make one. Very Happy
Back to top
View user's profile Send private message
LFLab



Joined: Dec 17, 2009
Posts: 497
Location: Rosmalen, Netherlands

PostPosted: Wed Mar 28, 2018 1:51 am    Post subject: Reply with quote  Mark this post and the followings unread

By all means make it yourself, don't order it from DSPsynths, not a lot of positive experiences ordering stuff from Jan Ostman (although the two times I myself ordered something, I eventually got what I paid for).
Back to top
View user's profile Send private message
Project_2501



Joined: Jan 31, 2018
Posts: 68
Location: Los Angeles

PostPosted: Mon Jun 11, 2018 5:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

About to code Janost's DSP MIDI2CV DIGISPARK thingy, but I'm a novice to programming.

https://janostman.wordpress.com/cheap-diy-usb-midi-to-cv-interface/

Has anyone have the completed code ready for upload??? It would help out a lot or even better help figure out the author's notes to complete the programming. Here are the notes to add to the provided code. I'll link the code below.

To be able to receive MIDI from the host, the file DigiMIDI.h requires some modification.

Add this to the function usbFunctionWriteOut:

void usbFunctionWriteOut(uchar * data, uchar len) {

uint8_t note=data[2]; //Get note for key on/off
if (note<36>60) note=60; //If note is higher than C7 set it to C7
if (data[1] == 0x90) { //If note on
digitalWrite(5, HIGH); //Set Gate HIGH
OCR1A = note<<2; //Multiply note by 4 to set the voltage (1v/octave)
}
if (data[1] == 0x80) { //If note off
digitalWrite(5, LOW); //Set Gate LOW
OCR1A = note<<2; //Multiply note by 4 to set the voltage (1v/octave)
}

}

And this is the MIDI2CV.INO sketch:

#include <DigiMIDI>

DigiMIDIDevice midi;

void setup() {
pinMode(1,OUTPUT); //Pitch is output
pinMode(5, OUTPUT); //Gate is output
//Setup Timer1 to do PWM DAC for Pitch
TCCR1 = _BV(PWM1A) | _BV(COM1A1) | _BV(CS10);
GTCCR = 0;
OCR1C = 239;
OCR1A = 0; //Set initial Pitch to C2
digitalWrite(5,LOW); //Set initial Gate to LOW;
}

void loop() {
midi.update(); //Check if any MIDI data is received
}



Code File: https://github.com/heartscrytech/DigisparkMIDI/blob/master/DigiMIDI.h
Back to top
View user's profile Send private message
MapacheRaper



Joined: Feb 15, 2018
Posts: 166
Location: Spain

PostPosted: Thu Sep 13, 2018 1:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Hi,

Im in the same boat as you. Did you built it? It worked?
Back to top
View user's profile Send private message
Project_2501



Joined: Jan 31, 2018
Posts: 68
Location: Los Angeles

PostPosted: Sun Sep 16, 2018 8:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

I have not completed it but here is the code for the ATtiny85 chip, Thankfully an other member sent me this code.

Life gets away from building my dream synth. Happens, but moving forward. One piece of the puzzle at a time Very Happy

Code is attached, Enjoy Twisted Evil


midi to cv code.txt
 Description:

Download
 Filename:  midi to cv code.txt
 Filesize:  18.58 KB
 Downloaded:  615 Time(s)

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



Joined: Feb 15, 2018
Posts: 166
Location: Spain

PostPosted: Sun Sep 16, 2018 11:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cool. Thanks!!

I have found a project in case someone find it useful. Its a kit with 4 gates, 4cv outs and costs around 30USD:

http://midimuso.co.uk/forums.html/cv-12/

I have been talking with the designer and he claims it has a 5 cents of pitch of precision, which seems ok, isn´t?. Or it is not enought? Not really sure
Back to top
View user's profile Send private message
gabbagabi



Joined: Nov 29, 2008
Posts: 652
Location: Berlin by n8
Audio files: 23

PostPosted: Sun Sep 16, 2018 11:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

I was almost hitting the "BUY" Button,
then i saw: only one pcb in stock!

This is for you, hurry up Smile
I can wait.

Usually iam quite against buying SDIY, but for this price and the given functionality....
It would be really interesting if someone can beat that!
Back to top
View user's profile Send private message
MapacheRaper



Joined: Feb 15, 2018
Posts: 166
Location: Spain

PostPosted: Mon Sep 17, 2018 3:12 am    Post subject: Reply with quote  Mark this post and the followings unread

That´s really considerated... Thanks!

So I have ordered one.

However, there´s at least another one in stock in ebay, and I think I saw more in tindie, so don´t hesitate to order!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [10 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