123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|279|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Music App

Sun, 11 Jun 2017, 20:21
hardcoal22
Ok. lets see how stuff work here..
I got a question..
Im working on a music editing and Ive built a keyboard.
Now I want when I load a sample that the keyboard will play it..

what are the pitches gaps that I need to do in order to get the whole musical ladder.. Do Re Me Fa.. etc..

TY
Mon, 12 Jun 2017, 01:25
GfK
There's no correct answer as it depends on the original sample. Plus most synths use multiple samples rather than the same one played at different frequencies, as the further you get from the original frequency, the less real it sounds.
Mon, 12 Jun 2017, 01:50
cyangames
Correct me if I'm wrong but isn't it a certain percentage over the previous value, A4 being 440Hz.

There should be a look-up table somewhere that'll do the job.

Aha, here we go -->

www.phy.mtu.edu/~suits/notefreqs.html

If you were to switch between certain samples at frequency limits you could achieve something more real sounding than by using 1 sample, but it's cool to play around with!

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Mon, 12 Jun 2017, 02:14
hardcoal22
Great Man.. Im starting to like this forum
Mon, 12 Jun 2017, 03:12
cyangames
haha, cool. I don't code in Blitz myself but theres a lot of language cross-over at least in principle, best of luck with the music-me-do!

-=-=-
Web / Game Dev, occasionally finishes off coding games also!
Mon, 12 Jun 2017, 04:48
hardcoal22
I wish you could give likes on this forum
one like for rychan
Mon, 12 Jun 2017, 05:00
Jayenkai
You also want to beware your timings, too.
A standard 60fps might appear to be perfectly synchronised, but if you start to use it to do music timings, it very quickly sounds wrong!!!




It'll still be "slightly" off, but nowhere near as bad as if you're using frames to count.

-=-=-
''Load, Next List!''
Mon, 12 Jun 2017, 05:08
hardcoal22
Thanks Jayenkai.. That really helps..
In the sound field I need lots of help to make it happen..
Tue, 27 Jun 2017, 13:27
hardcoal22
I just found out again that my way of thinking is pretty cool and correct

I found an application that actually does what i had on my vision about how a music Editor should be..

they did exactly the same as I intended to do..
They did little chunks of recording that can be moved from location to location..

here is a video to prove that https://youtu.be/nDSoLEBpDAM