Arduino Pitch Controller

Anything goes! Inventors! Artists! Cutting edge solutions to old problems. But also non-commercial usage of record cutting. Cost- effective, cost-ineffective, nutso, brilliant, terribly fabulous and sometimes fabulously terrible ideas.

Moderators: piaptk, tragwag, Steve E., Aussie0zborn

Babooino
Posts: 101
Joined: Thu Aug 29, 2013 6:24 pm

Arduino Pitch Controller

Post: # 34276Unread post Babooino
Thu Mar 26, 2015 11:26 am

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? 8)

Cheers

User avatar
Sillitoe
Posts: 421
Joined: Wed Apr 30, 2014 8:30 pm

Re: Arduino Pitch Controller

Post: # 34277Unread post Sillitoe
Thu Mar 26, 2015 12:34 pm


User avatar
Sillitoe
Posts: 421
Joined: Wed Apr 30, 2014 8:30 pm

Re: Arduino Pitch Controller

Post: # 34278Unread post Sillitoe
Thu Mar 26, 2015 12:42 pm

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

Babooino
Posts: 101
Joined: Thu Aug 29, 2013 6:24 pm

Re: Arduino Pitch Controller

Post: # 34279Unread post Babooino
Thu Mar 26, 2015 2:41 pm

Great links! thanks! :D

User avatar
juniorkain
Posts: 3
Joined: Wed Apr 16, 2014 1:28 pm
Location: Sao Paulo - BRAZIL

Re: Arduino Pitch Controller

Post: # 34286Unread post juniorkain
Fri Mar 27, 2015 10:24 am

It looks it can be extended to control other aspects and functions, this is great!

User avatar
Bahndahn
Posts: 241
Joined: Mon Jul 28, 2014 8:27 pm
Location: Montréal, Canada

Re: Arduino Pitch Controller

Post: # 34331Unread post Bahndahn
Wed Apr 01, 2015 2:01 am

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.

User avatar
opcode66
Posts: 2700
Joined: Sun Nov 08, 2009 10:56 pm
Contact:

Re: Arduino Pitch Controller

Post: # 34332Unread post opcode66
Wed Apr 01, 2015 3:14 am

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.
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


User avatar
audiosteam
Posts: 104
Joined: Fri Sep 16, 2016 6:18 pm
Location: Brno, CZ

Re: Arduino Pitch Controller

Post: # 49229Unread post audiosteam
Sun Feb 04, 2018 5:15 pm

It looks like the topic disspeared?

User avatar
petermontg
Posts: 610
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Post: # 49230Unread post petermontg
Sun Feb 04, 2018 5:34 pm

It sure has, I was searching for it also.

Shame.

Best
Peter
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com

Stereo cutter head wanted. Send email or smoke signals.

User avatar
audiosteam
Posts: 104
Joined: Fri Sep 16, 2016 6:18 pm
Location: Brno, CZ

Re: Arduino Pitch Controller

Post: # 49231Unread post audiosteam
Mon Feb 05, 2018 7:09 am

Or was removed?

User avatar
Sillitoe
Posts: 421
Joined: Wed Apr 30, 2014 8:30 pm

Re: Arduino Pitch Controller

Post: # 49233Unread post Sillitoe
Mon Feb 05, 2018 7:39 am

Hi guys, thanks for the interest! :D

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 :wink: ).

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

User avatar
audiosteam
Posts: 104
Joined: Fri Sep 16, 2016 6:18 pm
Location: Brno, CZ

Re: Arduino Pitch Controller

Post: # 49234Unread post audiosteam
Mon Feb 05, 2018 8:27 am

ok thanks

User avatar
chaosbc
Posts: 144
Joined: Sun May 20, 2012 11:35 am
Location: Paris

Re: Arduino Pitch Controller

Post: # 49311Unread post chaosbc
Tue Feb 13, 2018 8:28 am

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/
------------------------------------------------------
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/

User avatar
petermontg
Posts: 610
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Post: # 49331Unread post petermontg
Tue Feb 13, 2018 5:59 pm

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/
Wow! Fantastic work chaosbc.
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.

User avatar
chaosbc
Posts: 144
Joined: Sun May 20, 2012 11:35 am
Location: Paris

Re: Arduino Pitch Controller

Post: # 49352Unread post chaosbc
Wed Feb 14, 2018 10:34 am

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...
------------------------------------------------------
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/

User avatar
petermontg
Posts: 610
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Post: # 49354Unread post petermontg
Wed Feb 14, 2018 11:13 am

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
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com

Stereo cutter head wanted. Send email or smoke signals.

User avatar
petermontg
Posts: 610
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Post: # 49355Unread post petermontg
Wed Feb 14, 2018 11:53 am

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.

User avatar
petermontg
Posts: 610
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Post: # 49361Unread post petermontg
Wed Feb 14, 2018 4:22 pm

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.
Peter Montgomery
+353(0)894926271
peter(at)petermontgomerymastering.com

Stereo cutter head wanted. Send email or smoke signals.

User avatar
chaosbc
Posts: 144
Joined: Sun May 20, 2012 11:35 am
Location: Paris

Re: Arduino Pitch Controller

Post: # 49397Unread post chaosbc
Sun Feb 18, 2018 4:18 pm

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 :-(
------------------------------------------------------
http://www.flickr.com/photos/49941863@N04/sets/72157632396669506/

Post Reply