Turning a hard drive into a turntable controller

If you require help or assistance with anything then please post here

Moderators: electrogear, exonerate

Re: Turning a hard drive into a turntable controller

Postby nix on Sun Feb 05, 2012 8:39 pm

Maybe try opening a .wav with the sample picker,
SM doesn't load MP3s.
hmm, it sounds like it is wired up properly.
I'll try in fruity myself
User avatar
nix
smaniac
 
Posts: 1173
Joined: Wed Nov 02, 2005 11:25 am
Location: Australia

Re: Turning a hard drive into a turntable controller

Postby alphanimal on Sun Feb 05, 2012 8:46 pm

Do you get the dry HDD signal into FL?

Read this to learn about how to get FL ready for external inputs:
http://www.image-line.com/support/FLHel ... _audio.htm

here is the FLP I have been working with
https://rapidshare.com/files/4212022739 ... cher_3.rar

(which also contains a recording of my HDD signal in Edison to test with, hence the file size is too big for the forum)

you'll have to tweak it to your personal environment of course (configure your ASIO sound card driver, select the right input ...)

good luck!
cheers
alphanimal
essemer
 
Posts: 42
Joined: Mon Jun 01, 2009 12:57 am

Re: Turning a hard drive into a turntable controller

Postby rozle on Sun Feb 05, 2012 11:41 pm

Hey Guys! Thanks for the fast answer!!! I will test your solutions tomorrow, and post the results!
By the way, i have seen alphanimal uses the Terratec DMX6 sound interface, wich got Audio-In over Cinch. By my E-MU 0404 i only got two Mic/Instrument/Line channels, iam not sure but when iam right this doesnt matter? or iam wrong? , and the Onboard Realtek HD Audio Soundcard its not Kompatible(able) with the HDD Turntable?

I will see what i will get tomorrow, maybe i got a bug in the Audio Configuration @ ASIO or somethin else...

btw. someone of ya who speaks german?

good n8 and thx!!!
rozle
essemer
 
Posts: 4
Joined: Sun Feb 05, 2012 6:52 pm

Re: Turning a hard drive into a turntable controller

Postby rozle on Mon Feb 06, 2012 1:41 am

Yeah i have solved the problem, it was an Fruity Loops Audio Configuration setting problem made by my self. Thank you very much for ya help! Servus Rozle
rozle
essemer
 
Posts: 4
Joined: Sun Feb 05, 2012 6:52 pm

Re: Turning a hard drive into a turntable controller

Postby nix on Mon Feb 06, 2012 3:17 am

sweet, have fun!
I am trying to get 14 & 144 tooth gears 4 the turntable
User avatar
nix
smaniac
 
Posts: 1173
Joined: Wed Nov 02, 2005 11:25 am
Location: Australia

Re: Turning a hard drive into a turntable controller

Postby philter5 on Mon Feb 06, 2012 3:26 am

hey rozle welcome to the forum and have fun with your HDD controller ;)
and, yes, i speak german so if you like you can PM me and i hope i can help you :)
---Yes, a piece of software CAN be your best friend---
User avatar
philter5
smaniac
 
Posts: 1495
Joined: Thu Jan 04, 2007 7:52 pm
Location: Germany

Re: Turning a hard drive into a turntable controller

Postby rozle on Mon Feb 06, 2012 3:44 pm

Thx @ all!

@ philter5, good to know it ;-)

For next i want to pimp my wireing and figure out what can i do next with the controller! Special THX to Alphanimal and the other Coders like nix & Philter5!!! Very cool Synthmaker solutions you have made!
rozle
essemer
 
Posts: 4
Joined: Sun Feb 05, 2012 6:52 pm

Re: Turning a hard drive into a turntable controller

Postby alphanimal on Mon Feb 06, 2012 3:51 pm

I speak German too (am from Lower Austria)

@nix how's your setup with the turntables? how do you plan to use those gears? can you post some pics?

cheers
Daniel
alphanimal
essemer
 
Posts: 42
Joined: Mon Jun 01, 2009 12:57 am

Re: Turning a hard drive into a turntable controller

Postby nix on Mon Feb 06, 2012 8:14 pm

It's alright,
the setup with the turntable.
It fluxes 3% or so when free,
and when u scratch, it's possible to
sort of throw the HDD servo.
So the little wheel slips. If I increase the pressure of the wheel,
it affects the flux amount badly.
I'll up a drawing of the gears one soon,
I'll just roughly chuck the rest of the parts in there.
So what I'm going to do is couple the DC motor directly to
the HDD motor, put the little gear on that coupling/shaft,
and mesh that to the 144 tooth gear which will be the turntable.
I'm looking forward to trying it,
it's difficult to find a supplier for these Martin gears,
is the problem now.
Cheers Daniel,
Nick 8D
User avatar
nix
smaniac
 
Posts: 1173
Joined: Wed Nov 02, 2005 11:25 am
Location: Australia

Re: Turning a hard drive into a turntable controller

Postby alphanimal on Mon Feb 06, 2012 8:28 pm

this could be a nice application for a planet gear
alphanimal
essemer
 
Posts: 42
Joined: Mon Jun 01, 2009 12:57 am

Re: Turning a hard drive into a turntable controller

Postby nix on Tue Feb 07, 2012 1:43 am

http://en.wikipedia.org/wiki/Epicyclic_gearing
a planetary gearbox, like?
hmm, yeah.
I guess I could use plastic instead of steel maybe,
but getting the dies cut would still be costly.
Also freeness is desired,
there would be resistance in that style of gearbox.
I have a little Tamiya one, have tried spinning it.
Thanks for the idea, it would be sooo cool looking.
np rozle, ur welcome.
The 0 crossing counter was originally by oddson, have modded it a little,
but would be improper to take the credit.
I'll have a quick google for little plantary gearboxes.
The higher the ratio the better.
I have 10:1, 20:1 would be better I reckon, nice to spin the hdd drive up.
edit-
http://www.anaheimautomation.com/produc ... t=t&cID=30
I found this, it's $320 for upt 100:1 so far
here's another 1-
http://www.micromo.com/precision-gearhe ... heets.aspx
User avatar
nix
smaniac
 
Posts: 1173
Joined: Wed Nov 02, 2005 11:25 am
Location: Australia

Re: Turning a hard drive into a turntable controller

Postby alphanimal on Tue Feb 07, 2012 5:54 am

I think the resistance is not that bad.
Mainly I thought about these because they look cool.
And you can save space because it's in one axis maybe
alphanimal
essemer
 
Posts: 42
Joined: Mon Jun 01, 2009 12:57 am

Re: Turning a hard drive into a turntable controller

Postby nix on Tue Feb 07, 2012 6:03 am

It's a good idea,
coz 1:10 is really too small ratio I think.
We could build the case out of polycarbonate,
and display the steel gears!
hmm, I'm not sure that it really saves space though,
imagine you have the hdd motor at the bottom,
then DC motor, then gearbox, then plate-
stacked on top of each other,
it gets pretty deep, like 150mm or something.
It's a sweet device though,
coz it wouldn't work with a worm gearbox.
Cheers!
User avatar
nix
smaniac
 
Posts: 1173
Joined: Wed Nov 02, 2005 11:25 am
Location: Australia

Re: Turning a hard drive into a turntable controller

Postby nix on Mon Feb 13, 2012 1:53 am

If I want to make 2 decks,
it will be $1000.
hmm
there are 4 gears and 1 more power supplies + postage
User avatar
nix
smaniac
 
Posts: 1173
Joined: Wed Nov 02, 2005 11:25 am
Location: Australia

Re: Selecting a value depending on absolute value?

Postby basdec on Mon Jul 30, 2012 2:07 pm

alphanimal wrote:Here's the code! Enjoy!

Code: Select all
streamin l;
streamin r;
streamout pos;

float speed=0.5; //speed multiplier

float lvl, x, px, d; //Level, x, previous x, slope

hop(16)
{
   //x = ratio between L and R (gives tangens of disk position)
   x = r!=0 & (l/r);
   
   //calculate slope/direction (difference between previous and current value)
   d = (x-px);

   //ignore slope if it is steeper than 3, to compensate for jumps in tangens
   d = (d<3 & (d > -3)) & d;
   
   //calculate level
   lvl = l*l+r*r;
   
   //intergate position
   pos = pos + lvl * speed * ( 1 - (d<0) & (2));
   
   //store value for use as previous value in next cycle
   px = x;
   
}


Was a long way to go compared to the amound of code produced :)
Without comments that would have been like 2 hours of work for every line...


with which SM versions is this code compatible? thank you!
basdec
essemer
 
Posts: 1
Joined: Mon Jul 30, 2012 11:20 am

PreviousNext

Return to Help

Who is online

Users browsing this forum: Google [Bot] and 3 guests