Arduino Pitch Controller
Moderators: piaptk, tragwag, Steve E., Aussie0zborn
Arduino Pitch Controller
Arduino Uno lazy newbie here..
Is there someone willing to share Code and instructions to control my overhead with the Arduino Boad, so i can star experimenting?
Cheers
Is there someone willing to share Code and instructions to control my overhead with the Arduino Boad, so i can star experimenting?
Cheers
Re: Arduino Pitch Controller
Hey Babooino check out the links in my thread...
http://www.lathetrolls.com/viewtopic.php?f=15&t=5470
http://www.maxuino.org/video
http://www.lathetrolls.com/viewtopic.php?f=15&t=5470
http://www.maxuino.org/video
Re: Arduino Pitch Controller
Here's a vid of very simple arduino pwm control of brushless motor and esc setup via % with code.
https://www.youtube.com/watch?v=i0GLYLqTWuw&list=FLTB_rM-cKDmxyrjiD2HoTHA&index=7
https://www.youtube.com/watch?v=i0GLYLqTWuw&list=FLTB_rM-cKDmxyrjiD2HoTHA&index=7
Re: Arduino Pitch Controller
Great links! thanks!
- juniorkain
- Posts: 3
- Joined: Wed Apr 16, 2014 1:28 pm
- Location: Sao Paulo - BRAZIL
Re: Arduino Pitch Controller
It looks it can be extended to control other aspects and functions, this is great!
Re: Arduino Pitch Controller
I am slowly getting into the arduino world for this purpose, here are my plans:
To create an standalone arduino pitch computer:
-Create a little half-wave rectifier [possibly an incorrect term?!] and/or RMS circuit – something to average out the amplitude.
-'Read' that analog value via an analog input pin on the arduino 16 times per revolution [as suggested by opcode66 based on his observation of various pitch computers]
-Calculate groove distance based on that amplitude reading.
I dont understand the details of calculating groove distance, this is where the pro's must chime in!
I have been working on smoothly accelerating and decelerating motor speed with the arduino for my platter motor, just for aesthetics basically so it doesnt 'burn out' on startup. Acceleration and deceleration between speeds is probably a good idea for pitch control.
To create an standalone arduino pitch computer:
-Create a little half-wave rectifier [possibly an incorrect term?!] and/or RMS circuit – something to average out the amplitude.
-'Read' that analog value via an analog input pin on the arduino 16 times per revolution [as suggested by opcode66 based on his observation of various pitch computers]
-Calculate groove distance based on that amplitude reading.
I dont understand the details of calculating groove distance, this is where the pro's must chime in!
I have been working on smoothly accelerating and decelerating motor speed with the arduino for my platter motor, just for aesthetics basically so it doesnt 'burn out' on startup. Acceleration and deceleration between speeds is probably a good idea for pitch control.
Re: Arduino Pitch Controller
Well, you have to know a number of things. The difference between the Left and Right Preview inputs plus the L from the Program (what is currently being sent to the head). Program is Preview on a Delay.
Left and Right Preview tell you how much lateral space the upcoming rotation will need. Of course, the amount of excursion given the input level is different for different cutterheads. So, this must be known. The difference between L and R will tell you the Lateral movement for the vertical motion. 45/45 systems have vertical movement for out of phase audio. Vertical movement with a cutting tip that is shaped like a downward pointing triangle means a wider or more narrow groove is being cut depending on the severity of the phasing. Knowing the base depth of cut as well is obviously also something that must be known. Now you have LL (lateral for lateral) and LV (lateral for vertical), that is all you need for pitch control. Those two values combined with the base pitch and feedback give you the speed you need to be turning currently. Vertical or V is what is needed for controlling depth. That's it. Simple right? Ha. You also need to account for things like sustained bass taking up more lateral than higher frequencies, and viceversa. So, it is not just level that drives very well designed p/d computers. Things like Zuma and the p/d on a VMS80 take this into account and can interweave frequencies in neighboring grooves instead of allotting more space than is necessary for the loudest part of the rotation segment.
Left and Right Preview tell you how much lateral space the upcoming rotation will need. Of course, the amount of excursion given the input level is different for different cutterheads. So, this must be known. The difference between L and R will tell you the Lateral movement for the vertical motion. 45/45 systems have vertical movement for out of phase audio. Vertical movement with a cutting tip that is shaped like a downward pointing triangle means a wider or more narrow groove is being cut depending on the severity of the phasing. Knowing the base depth of cut as well is obviously also something that must be known. Now you have LL (lateral for lateral) and LV (lateral for vertical), that is all you need for pitch control. Those two values combined with the base pitch and feedback give you the speed you need to be turning currently. Vertical or V is what is needed for controlling depth. That's it. Simple right? Ha. You also need to account for things like sustained bass taking up more lateral than higher frequencies, and viceversa. So, it is not just level that drives very well designed p/d computers. Things like Zuma and the p/d on a VMS80 take this into account and can interweave frequencies in neighboring grooves instead of allotting more space than is necessary for the loudest part of the rotation segment.
Cutting, Inventing & Innovating
Groove Graphics, VMS Halfnuts, MIDI Automation, Professional Stereo Feedback Cutterheads, and Pesto 1-D Cutterhead Clones
Cutterhead Repair: Recoiling, Cleaning, Cloning of Screws, Dampers & More
http://mantra.audio
Groove Graphics, VMS Halfnuts, MIDI Automation, Professional Stereo Feedback Cutterheads, and Pesto 1-D Cutterhead Clones
Cutterhead Repair: Recoiling, Cleaning, Cloning of Screws, Dampers & More
http://mantra.audio
Re: Arduino Pitch Controller
Update http://www.lathetrolls.com/viewtopic.php?f=15&t=5470&start=20 you're welcome
- audiosteam
- Posts: 104
- Joined: Fri Sep 16, 2016 6:18 pm
- Location: Brno, CZ
Re: Arduino Pitch Controller
It looks like the topic disspeared?Sillitoe wrote:Update http://www.lathetrolls.com/viewtopic.php?f=15&t=5470&start=20 you're welcome
- petermontg
- Posts: 611
- Joined: Sat Jun 26, 2010 7:51 am
- Location: Ireland.
Re: Arduino Pitch Controller
It sure has, I was searching for it also.
Shame.
Best
Peter
Shame.
Best
Peter
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
- audiosteam
- Posts: 104
- Joined: Fri Sep 16, 2016 6:18 pm
- Location: Brno, CZ
Re: Arduino Pitch Controller
Or was removed?
Re: Arduino Pitch Controller
Hi guys, thanks for the interest!
Early on I asked Steve to combine two of my threads ("SP10MK2 Lathe" & "Sillitoe Studio Lathe") into the "Sillitoe Lathes" thread to avoid the sprawl of information on the site.
So all the info is still there but I removed the videos a while ago (they didn't show any setup details anyway ).
Now I post mainly on Instagram, but I'm a millennial capitalist so it's mainly my bikini pics!
Love you all guys!
https://www.instagram.com/p/BdhjAd6Fv3q/?taken-by=sillitoe_audio_technology
Cheers
James
Early on I asked Steve to combine two of my threads ("SP10MK2 Lathe" & "Sillitoe Studio Lathe") into the "Sillitoe Lathes" thread to avoid the sprawl of information on the site.
So all the info is still there but I removed the videos a while ago (they didn't show any setup details anyway ).
Now I post mainly on Instagram, but I'm a millennial capitalist so it's mainly my bikini pics!
Love you all guys!
https://www.instagram.com/p/BdhjAd6Fv3q/?taken-by=sillitoe_audio_technology
Cheers
James
- audiosteam
- Posts: 104
- Joined: Fri Sep 16, 2016 6:18 pm
- Location: Brno, CZ
Re: Arduino Pitch Controller
ok thanks
Re: Arduino Pitch Controller
Hi,
I coded a pitch controller using an arduino wired to a L298N motor driver shield.
The code is designed for a DC motor using PWM.
It uses also midi signals with added midi to usb dongle (the module can be used with buttons only without midi if you don't need it)
You will need to modify values to adapt them to your own motor (variables mentioned from line 10 to 18) I use a MFA DC Motor
buttons wiring is described from line 21 to 26.
Information are sent to a small 0.96" oled screen (problably a bit too small)
I did not uploaded the schematic of the arduino to the L298N shield because of my laziness coupled to a lack of time but it is pretty much standard....
If people ask for it I can consider moving my ass and use Fritzing
enjoy.
https://github.com/Benjamin-Carette/REMachine/blob/master/source.ino
for midi implementation, I used this method : http://www.instructables.com/id/Send-and-Receive-MIDI-with-Arduino/
I coded a pitch controller using an arduino wired to a L298N motor driver shield.
The code is designed for a DC motor using PWM.
It uses also midi signals with added midi to usb dongle (the module can be used with buttons only without midi if you don't need it)
You will need to modify values to adapt them to your own motor (variables mentioned from line 10 to 18) I use a MFA DC Motor
buttons wiring is described from line 21 to 26.
Information are sent to a small 0.96" oled screen (problably a bit too small)
I did not uploaded the schematic of the arduino to the L298N shield because of my laziness coupled to a lack of time but it is pretty much standard....
If people ask for it I can consider moving my ass and use Fritzing
enjoy.
https://github.com/Benjamin-Carette/REMachine/blob/master/source.ino
for midi implementation, I used this method : http://www.instructables.com/id/Send-and-Receive-MIDI-with-Arduino/
------------------------------------------------------
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/
- petermontg
- Posts: 611
- Joined: Sat Jun 26, 2010 7:51 am
- Location: Ireland.
Re: Arduino Pitch Controller
Wow! Fantastic work chaosbc.chaosbc wrote:Hi,
I coded a pitch controller using an arduino wired to a L298N motor driver shield.
The code is designed for a DC motor using PWM.
It uses also midi signals with added midi to usb dongle (the module can be used with buttons only without midi if you don't need it)
You will need to modify values to adapt them to your own motor (variables mentioned from line 10 to 18) I use a MFA DC Motor
buttons wiring is described from line 21 to 26.
Information are sent to a small 0.96" oled screen (problably a bit too small)
I did not uploaded the schematic of the arduino to the L298N shield because of my laziness coupled to a lack of time but it is pretty much standard....
If people ask for it I can consider moving my ass and use Fritzing
enjoy.
https://github.com/Benjamin-Carette/REMachine/blob/master/source.ino
for midi implementation, I used this method : http://www.instructables.com/id/Send-and-Receive-MIDI-with-Arduino/
I also am a Arduino newbie. Trying to get my head around this.
On line 12 we have time value and 13 is fast. Is it just keeping in thinking of the Neumann controller buttons as standard? I have a project that this could be implemented well.
Again thank you for sharing.
Best
Peter
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
Re: Arduino Pitch Controller
Thanks for the kind words Peter.
I have seen some photos of the control panel of a neumann on the internet....I indeed tried to copy that.
I was not even sure someone will find this of interrest but when I will have time I will do the schematics because I did all the wiring by experimenting and if I had to to it again I would probably spend hours to make this work.
Plus maybe it can be useful for other trolls...
I have seen some photos of the control panel of a neumann on the internet....I indeed tried to copy that.
I was not even sure someone will find this of interrest but when I will have time I will do the schematics because I did all the wiring by experimenting and if I had to to it again I would probably spend hours to make this work.
Plus maybe it can be useful for other trolls...
------------------------------------------------------
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/
- petermontg
- Posts: 611
- Joined: Sat Jun 26, 2010 7:51 am
- Location: Ireland.
Re: Arduino Pitch Controller
I have an old Scully here that would benefit from new controller.
Schematic would be fantastic when you have the time. Can you analog control the functions with pushbuttons?
I don't see a value for base pitch??
Best
Schematic would be fantastic when you have the time. Can you analog control the functions with pushbuttons?
I don't see a value for base pitch??
Best
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
- petermontg
- Posts: 611
- Joined: Sat Jun 26, 2010 7:51 am
- Location: Ireland.
Re: Arduino Pitch Controller
Okay I see how you implement the analog switching.
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
- petermontg
- Posts: 611
- Joined: Sat Jun 26, 2010 7:51 am
- Location: Ireland.
Re: Arduino Pitch Controller
I think it needs to implement some millis() tags to make the button functions controllable. ie you can set your time button control to 1 sec or 2 sec.
If the int playvalue=75; was changeable in analog we could use this as base pitch adjustment.
I see you have .
analogWrite(motorpin, i);delay (steps);}level=timevalue;prevlevel=level; delay(delai);
Is the delay (steps) can we change the (steps) for the time value or am I barking up the wrong tree.
Starting to get my head around it.
If the int playvalue=75; was changeable in analog we could use this as base pitch adjustment.
I see you have .
analogWrite(motorpin, i);delay (steps);}level=timevalue;prevlevel=level; delay(delai);
Is the delay (steps) can we change the (steps) for the time value or am I barking up the wrong tree.
Starting to get my head around it.
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
+353(0)894926271
peter(at)petermontgomerymastering.com
Stereo cutter head wanted. Send email or smoke signals.
Re: Arduino Pitch Controller
This is correct.
Actually contrary to what the comment might suggest "+variable pitch tentative"
This was only the version I was using to try to implement it ...but actually I never did it.
Your assumption is correct. Need to find a way to convert the audio input (in advance of the engraving source of few (milli?) seconds) so the playvalue speed will vary.
I don't think this is something that difficult to do ....record engineers did not have arduinos back then and they used to make this system works ! but....once again....so little time
Actually contrary to what the comment might suggest "+variable pitch tentative"
This was only the version I was using to try to implement it ...but actually I never did it.
Your assumption is correct. Need to find a way to convert the audio input (in advance of the engraving source of few (milli?) seconds) so the playvalue speed will vary.
I don't think this is something that difficult to do ....record engineers did not have arduinos back then and they used to make this system works ! but....once again....so little time
------------------------------------------------------
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/