electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
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 
Live streaming at radio.electro-music.com

  host / artist show at your time
  Muied Lumens Frequencies
Please visit the chat
 Forum index » DIY Hardware and Software » Arduino
Arduino Midi to CV
Post new topic   Reply to topic
Page 1 of 1 [5 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: 34
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: 37
Location: Russia, Zhukovsky
Audio files: 11

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: 34
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: 470
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: 34
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
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [5 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
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


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