Lastly, and sorry for the flood, but I easily noticed the difference between 880/890, and personally I find even a 10 cent difference noticeable. It's especially grating to me with synthesized music where you can have extremely fine-tuned control over the exact frequency you play each tone at. I get that both your motor and controller dictate the exact frequencies you're capable of playing, but why not take that into account and scale up until you reach high enough that it's less of an impact?
@usernameunave0 Yes, the difference between 880 Hz and 890 Hz is noticeable and bothersome to everyone. BUT, if one of those two notes came at you surrounded by others in the context of the mario video, you probably wouldn't have noticed (for several reasons, many of which have nothing to do with your ear).
Your question is an intelligent one and is serving as inspiration to make another video (maybe even today). The idea you've got is the right one but there are some practical problems. :)
@cmhiekses Interesting, I can't wait to see it when you're finished. I assume, at least in the context of using floppy drives, that one might be the fact that when you move the motor forward or back a step, you're actually moving the read/write head, which can only move so far before needing to reverse direction like a violin's bow? I have seen videos of people "playing" 3.5" drives with the tops removed, and there seems to be a noticeable change in sound between one direction and another.
Also, holy crap. Although it's been ages since I seriously played anything, I like to tinker with the piano roll in FL Studio to make little mini-arrangements and stuff, and when you mentioned A4 there, I found myself instinctively whistling it, then you played that 440 Hz tune, and I was almost spot-on. Guess some things you never un-learn huh?
@usernameunave0 Pitch identification is something you can actively work on and practice. If there were any pitch you'd know by heart, I'd expect it to be A4 (people with a band background can usually summon up an F or a Bb without too much difficulty as well).
Heh, I have a pitifully short (~8 years playing various instruments from 6y/o) and for a second there when you mentioned "knowing the difference between an F# and a G" I thought you were pulling some kind of fast one like "the difference between E# and F", and then had to spend a few minutes seeing if there was some kind of high-level music theory that actually differentiated those.
@usernameunave0 There actually is a difference between an E# and an F and, yes, it is a high-level music theory explanation for a different time. I do encourage you to go look it up on your own, though. The mathematics of harmony are really fascinating.
I'll start with something that will probably be ugly with PC-Speakers, then i'll play with an CNC set with 5 steppers directly plugged on a parallel port.
Hey, i'm planning on doing something alike. Can you publish the code with the information about how long you wait for each note to end, and the frequency or the period of each note?
It looks like you've done an excellent job on that, much better than all those engineers that knows a lot about CNCs and how to get good torque with steppers but nothing about music and polyphony.
This really helps me with what I'm doing which is kinda sorta (not really) close to stepper music. I'm making pc beeper music in QBasic but the hard way. No Play command for me! I was digging all over the net for this info. Thank you!
this video is bufferfucked, aka. even with a 10 meg connection it doesn't load but 20 seconds of video in 10 min. might want to re upload or contact you tube on this one
how well can you do portamento and vibrato with these motors? i'm curious about the physical limitations of using motors like this, but i'm not familiar with them. thanks!
The biggest limitation on these motors is acceleration. Without the right kind of hardware to provide current the motors properly, they will lock up if you try to jump them from zero up to some very high rpm.
Portamento and vibrato would be difficult. The only real control you have over the motors is the timing of the steps. In general, there is no way to control dynamics. These motors are essentially frequency actuators.
440 MHz is what the ISO adopted as a standard. It was different during the baroque era. they used a meantone temperament, which was the basis for the picardy 3rd. because due to the temperament V- I cadance sounded more in tune than a V-i cadance.
This is very good and rare info. the 12th root of 2 is describing just intonation.
if you are majoring in music i wanna know what ur major is. I'm an acoustican. i wanna study this cause it makes me happy. and what i'm studying now barely does that.
Wouldn't a certain amount of timbre/amplitude control be possible by stepping and quickly counter stepping (somewhat like the quarter tracking of floppy drives that was used in some of the copy protection schemes of the early '80s, and, for that matter, timbre control of the Apple II's flip-flop driven speaker)?
Thanks for this video... while I have no intention of ever making music with stepper motors, I did want to code my own little crude sound library for fun! This explanation clarifies a lot of the problems I would have had to work out, so again thank you!
Excellent video and explanation of how you are generating music with steppers. I have been looking for some information about this topic for months. Thank you.
A few of the strange sounding notes are due to the motors buzzing on the table at certain frequencies. What I really need is a sheet of aluminum that I can screw the brackets into.
I thought the intonation sounded kind of funny on the Mario video, but that added to the charm for me. Kind of like the low frequency resolution of Atari 400/800 music. Do you use a lookup table for the note periods?
Yes. On that particular video I was running a timer interrupt every 40 microseconds and then deciding whether or not it was time to step each motor. This means that my note period resolution was only 40 microseconds.
If you speed up the interrupt, your resolution improves, but the interrupt starts to take up too much time in general and the timing suffers. The atmega328 on the arduino starts to have trouble when I get close to 25 microseconds on the timer interrupt.
Lastly, and sorry for the flood, but I easily noticed the difference between 880/890, and personally I find even a 10 cent difference noticeable. It's especially grating to me with synthesized music where you can have extremely fine-tuned control over the exact frequency you play each tone at. I get that both your motor and controller dictate the exact frequencies you're capable of playing, but why not take that into account and scale up until you reach high enough that it's less of an impact?
usernameunave0 2 months ago
@usernameunave0 Yes, the difference between 880 Hz and 890 Hz is noticeable and bothersome to everyone. BUT, if one of those two notes came at you surrounded by others in the context of the mario video, you probably wouldn't have noticed (for several reasons, many of which have nothing to do with your ear).
Your question is an intelligent one and is serving as inspiration to make another video (maybe even today). The idea you've got is the right one but there are some practical problems. :)
cmhiekses 2 months ago
@cmhiekses Interesting, I can't wait to see it when you're finished. I assume, at least in the context of using floppy drives, that one might be the fact that when you move the motor forward or back a step, you're actually moving the read/write head, which can only move so far before needing to reverse direction like a violin's bow? I have seen videos of people "playing" 3.5" drives with the tops removed, and there seems to be a noticeable change in sound between one direction and another.
usernameunave0 2 months ago
Also, holy crap. Although it's been ages since I seriously played anything, I like to tinker with the piano roll in FL Studio to make little mini-arrangements and stuff, and when you mentioned A4 there, I found myself instinctively whistling it, then you played that 440 Hz tune, and I was almost spot-on. Guess some things you never un-learn huh?
usernameunave0 2 months ago
@usernameunave0 Pitch identification is something you can actively work on and practice. If there were any pitch you'd know by heart, I'd expect it to be A4 (people with a band background can usually summon up an F or a Bb without too much difficulty as well).
cmhiekses 2 months ago
Heh, I have a pitifully short (~8 years playing various instruments from 6y/o) and for a second there when you mentioned "knowing the difference between an F# and a G" I thought you were pulling some kind of fast one like "the difference between E# and F", and then had to spend a few minutes seeing if there was some kind of high-level music theory that actually differentiated those.
usernameunave0 2 months ago
@usernameunave0 There actually is a difference between an E# and an F and, yes, it is a high-level music theory explanation for a different time. I do encourage you to go look it up on your own, though. The mathematics of harmony are really fascinating.
cmhiekses 2 months ago
That's great explain!
Hi, I performed dance”AKB48” at wedding party.
AKB48 is very famous idol in Asia.
I succeed to please guests.
AKB48 has something attractive.
Please search by the key words ”hattentojou”and ”AKB48” in YouTube’s site.
Thank you.
hattentojou 5 months ago
You look like my band teacher :3
acealexander702 9 months ago
Waiting for the next part :>
Jakub1POLSKAnew 11 months ago
CLARINET HERO!
MusicGaming1 1 year ago 2
Excellent tutorial !!!
Thanks !!!
jcayer2 1 year ago
I'll start with something that will probably be ugly with PC-Speakers, then i'll play with an CNC set with 5 steppers directly plugged on a parallel port.
rbertoche 1 year ago
Hey, i'm planning on doing something alike. Can you publish the code with the information about how long you wait for each note to end, and the frequency or the period of each note?
It looks like you've done an excellent job on that, much better than all those engineers that knows a lot about CNCs and how to get good torque with steppers but nothing about music and polyphony.
rbertoche 1 year ago
sod the maths.....just look at this chart i found. w w w phy mtu edu / ~ suits / notefreqs (take out the spaces)
denimslugs 1 year ago
dude u rock ...
KoMaHu3aM 1 year ago
AAWWWWW you put part one up but not part two!?!?!?!?!?
com3t 1 year ago
will be more parts to this tutorial?
jimday666 1 year ago
Wow. Quite the informative video. Very interesting!
irontiger444 1 year ago
Classic Engineer egg head, thinks all life is a math equation.
Give us a link to a freq chart of the keyboard and forget the formula.
tsport100 1 year ago
Great vid and good luck on your PhD!
Zombunist 1 year ago
iv never noticed how much math there was in music... thanks for pointing this out ^^;
danz409 1 year ago
This really helps me with what I'm doing which is kinda sorta (not really) close to stepper music. I'm making pc beeper music in QBasic but the hard way. No Play command for me! I was digging all over the net for this info. Thank you!
Bp1033 2 years ago 5
this video is bufferfucked, aka. even with a 10 meg connection it doesn't load but 20 seconds of video in 10 min. might want to re upload or contact you tube on this one
danz409 2 years ago
o.o i almsot passed out brain fry
darky10121987 2 years ago
6 months have passed....
Where is the next video? :(
AlonTavor 2 years ago
Sorry! Working on my PhD has sort of taken over my free time. I'll try to get a new video up soon.
cmhiekses 2 years ago
@cmhiekses 16 months have passed. No pressure :) but how's part 2 coming along?
konayasai 1 year ago
@konayasai Expect another video in February (after I've finished my PhD).
cmhiekses 1 year ago
*waits on next video*
djguyndai 2 years ago
how well can you do portamento and vibrato with these motors? i'm curious about the physical limitations of using motors like this, but i'm not familiar with them. thanks!
explodingPSYCH 2 years ago
The biggest limitation on these motors is acceleration. Without the right kind of hardware to provide current the motors properly, they will lock up if you try to jump them from zero up to some very high rpm.
Portamento and vibrato would be difficult. The only real control you have over the motors is the timing of the steps. In general, there is no way to control dynamics. These motors are essentially frequency actuators.
cmhiekses 2 years ago
440 MHz is what the ISO adopted as a standard. It was different during the baroque era. they used a meantone temperament, which was the basis for the picardy 3rd. because due to the temperament V- I cadance sounded more in tune than a V-i cadance.
This is very good and rare info. the 12th root of 2 is describing just intonation.
if you are majoring in music i wanna know what ur major is. I'm an acoustican. i wanna study this cause it makes me happy. and what i'm studying now barely does that.
barnumeffect5 2 years ago 2
@barnumeffect5 I am not majoring in music. I am working on my PhD in Aerospace Engineering. I am a rocket scientist.
cmhiekses 1 year ago 2
lol owned
XdontUworryX 1 year ago
then you have the right to say "duh...its not rocket science" lol
invisiblegecko 1 year ago
@barnumeffect5 440MHz is standard for birds and dogs, humans are ok with 440Hz :)
stolevole 1 year ago
Wouldn't a certain amount of timbre/amplitude control be possible by stepping and quickly counter stepping (somewhat like the quarter tracking of floppy drives that was used in some of the copy protection schemes of the early '80s, and, for that matter, timbre control of the Apple II's flip-flop driven speaker)?
ueberRegenbogen 1 year ago
Thanks for this video... while I have no intention of ever making music with stepper motors, I did want to code my own little crude sound library for fun! This explanation clarifies a lot of the problems I would have had to work out, so again thank you!
PokeParadox 2 years ago
Interesting shit, I'd like to know more about the calculations myself.
LinkinParkGameFan 2 years ago
Excellent video and explanation of how you are generating music with steppers. I have been looking for some information about this topic for months. Thank you.
bgriggstwcny 2 years ago
Way awesome explaination! I love the Clarinet Hero shirt too! I want one!
homogeneousally 2 years ago
wow, a little physics, music theory, and algebra all rolled up into one; thanks mr. stepper motor man.
counterfeitcoin 2 years ago 9
Its much clearer now, I finally understand how it works...
clubpenguin1help 2 years ago
i'm no musician but i have a good sense of pitch. i also need to pay more attention to my math wotk :o
linuxlove4004 2 years ago
A few of the strange sounding notes are due to the motors buzzing on the table at certain frequencies. What I really need is a sheet of aluminum that I can screw the brackets into.
cmhiekses 2 years ago
I thought the intonation sounded kind of funny on the Mario video, but that added to the charm for me. Kind of like the low frequency resolution of Atari 400/800 music. Do you use a lookup table for the note periods?
pdmillar 2 years ago
Yes. On that particular video I was running a timer interrupt every 40 microseconds and then deciding whether or not it was time to step each motor. This means that my note period resolution was only 40 microseconds.
If you speed up the interrupt, your resolution improves, but the interrupt starts to take up too much time in general and the timing suffers. The atmega328 on the arduino starts to have trouble when I get close to 25 microseconds on the timer interrupt.
cmhiekses 2 years ago