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, Steve E., Simon, mossboss, Aussie0zborn, tragwag

Arduino Pitch Controller

Unread postby 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
Anderson
User avatar
Babooino
 
Posts: 95
Joined: Thu Aug 29, 2013 6:24 pm


Re: Arduino Pitch Controller

Unread postby Sillitoe » Thu Mar 26, 2015 12:34 pm

Hey Babooino check out the links in my thread...

viewtopic.php?f=15&t=5470

http://www.maxuino.org/video
Sillitoe
 
Posts: 408
Joined: Wed Apr 30, 2014 8:30 pm

Re: Arduino Pitch Controller

Unread postby 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
Sillitoe
 
Posts: 408
Joined: Wed Apr 30, 2014 8:30 pm

Re: Arduino Pitch Controller

Unread postby Babooino » Thu Mar 26, 2015 2:41 pm

Great links! thanks! :D
Anderson
User avatar
Babooino
 
Posts: 95
Joined: Thu Aug 29, 2013 6:24 pm

Re: Arduino Pitch Controller

Unread postby juniorkain » Fri Mar 27, 2015 10:24 am

It looks it can be extended to control other aspects and functions, this is great!
juniorkain
 
Posts: 3
Joined: Wed Apr 16, 2014 1:28 pm
Location: Sao Paulo - BRAZIL

Re: Arduino Pitch Controller

Unread postby 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.
Bahndahn
 
Posts: 241
Joined: Mon Jul 28, 2014 8:27 pm
Location: Montréal, Canada

Re: Arduino Pitch Controller

Unread postby 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, 320 Diamondsi & Stereo Feedback Cutterheads Soon!
Cutterhead Repair: Recoiling, Rewiring, Cleaning, Cloning of Screws, Dampers & More.
www.DeepGroovesMastering.com
User avatar
opcode66
 
Posts: 2590
Joined: Sun Nov 08, 2009 11:56 pm
Blog: View Blog (2)

Re: Arduino Pitch Controller

Unread postby Sillitoe » Thu Apr 02, 2015 5:47 am

Update viewtopic.php?f=15&t=5470&start=20 you're welcome 8)
Sillitoe
 
Posts: 408
Joined: Wed Apr 30, 2014 8:30 pm

Re: Arduino Pitch Controller

Unread postby audiosteam » Sun Feb 04, 2018 6:15 pm


It looks like the topic disspeared?
audiosteam
 
Posts: 34
Joined: Fri Sep 16, 2016 6:18 pm

Re: Arduino Pitch Controller

Unread postby petermontg » Sun Feb 04, 2018 6:34 pm

It sure has, I was searching for it also.

Shame.

Best
Peter
Peter Montgomery
+353(0)894926271
info(at)chrmastering.com
petermontg
 
Posts: 579
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Unread postby audiosteam » Mon Feb 05, 2018 8:09 am

Or was removed?
audiosteam
 
Posts: 34
Joined: Fri Sep 16, 2016 6:18 pm

Re: Arduino Pitch Controller

Unread postby Sillitoe » Mon Feb 05, 2018 8: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
Sillitoe
 
Posts: 408
Joined: Wed Apr 30, 2014 8:30 pm

Re: Arduino Pitch Controller

Unread postby audiosteam » Mon Feb 05, 2018 9:27 am

ok thanks
audiosteam
 
Posts: 34
Joined: Fri Sep 16, 2016 6:18 pm

Re: Arduino Pitch Controller

Unread postby chaosbc » Tue Feb 13, 2018 9: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@N ... 396669506/
User avatar
chaosbc
 
Posts: 139
Joined: Sun May 20, 2012 11:35 am
Location: Paris

Re: Arduino Pitch Controller

Unread postby petermontg » Tue Feb 13, 2018 6: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
info(at)chrmastering.com
petermontg
 
Posts: 579
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Unread postby chaosbc » Wed Feb 14, 2018 11: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@N ... 396669506/
User avatar
chaosbc
 
Posts: 139
Joined: Sun May 20, 2012 11:35 am
Location: Paris

Re: Arduino Pitch Controller

Unread postby petermontg » Wed Feb 14, 2018 12:13 pm

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
info(at)chrmastering.com
petermontg
 
Posts: 579
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Unread postby petermontg » Wed Feb 14, 2018 12:53 pm

Okay I see how you implement the analog switching.
Peter Montgomery
+353(0)894926271
info(at)chrmastering.com
petermontg
 
Posts: 579
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Unread postby petermontg » Wed Feb 14, 2018 5: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
info(at)chrmastering.com
petermontg
 
Posts: 579
Joined: Sat Jun 26, 2010 7:51 am
Location: Ireland.

Re: Arduino Pitch Controller

Unread postby chaosbc » Sun Feb 18, 2018 5: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@N ... 396669506/
User avatar
chaosbc
 
Posts: 139
Joined: Sun May 20, 2012 11:35 am
Location: Paris

Next

Return to Experimenters' & Innovators' forum

Who is online

Users browsing this forum: No registered users and 2 guests