Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > C64 Coding > Playroutine coding: A new way to represent pitch
2015-03-30 20:49
lft

Registered: Jul 2007
Posts: 369
Playroutine coding: A new way to represent pitch

Introducing the 9-bit pitch technique:

http://www.linusakesson.net/programming/9bitpitch/index.php
 
... 24 posts hidden. Click here to view all posts....
 
2015-04-02 18:52
Hein

Registered: Apr 2004
Posts: 965
Quote: Compared to 2 tones, lets say D and D#, will this give another tone that isnt possible with detune of D ?

else, what use is it ?


Time wasting? ;)

I think mainly speed, compared to regular 16-bit frequency calculations.

As for detune: If the detune is on the instrument, you'd be having a hard time creating proper intervals on the arpeggios. If your base instrument note is tuned a quarter tone up, all your scale notes are. The 9-bit method can be used to create immediate quarter (or half of that) tone interval arpeggios without an additional detune routine.
2015-04-02 20:05
lft

Registered: Jul 2007
Posts: 369
Hein: Hey, you're right! I can intonate the arpeggios any way I like using my current tools. Didn't think of that before!

SIDwave: The point of the 9-bit technique is that the player can work with linear pitch values really fast. And linear pitch values means that e.g. your glides and vibratos sound the same in the bass and the treble. Also, vibrato becomes a special kind of arpeggio, and this simplifies the playroutine.
2015-04-02 20:20
chatGPZ

Registered: Dec 2001
Posts: 11523
you can have non-triangle like vibrato for free this way too. and while its running do a pitch slide that precisely stops at your target note... like :) mmmh is it accurate enough to compensate for pal/ntsc too? :)
2015-04-03 08:43
Soren
Account closed

Registered: Dec 2001
Posts: 547
Burglar likes vibrators! ;)
2015-04-03 16:28
Hein

Registered: Apr 2004
Posts: 965
Quote: Burglar likes vibrators! ;)

How would you know?
2015-04-03 16:56
Burglar

Registered: Dec 2004
Posts: 1137
Quoting Soren
Burglar likes vibrators! ;)
wtf haha, you edited ur post! (and it was soren who likes vibratos)
2015-04-03 17:33
Hein

Registered: Apr 2004
Posts: 965
Quote: Quoting Soren
Burglar likes vibrators! ;)
wtf haha, you edited ur post! (and it was soren who likes vibratos)


Yeh, I thought so..
It was like 'What is this thread about?'
Editeditedit 'Vibrators!' :)
2015-04-03 20:07
SIDWAVE
Account closed

Registered: Apr 2002
Posts: 2238
Question: will it make ANY player faster ? :)
2015-04-03 20:13
Hein

Registered: Apr 2004
Posts: 965
Quote: Question: will it make ANY player faster ? :)

ANY! I double dare you!
2015-04-10 18:52
lft

Registered: Jul 2007
Posts: 369
Quoting Groepaz
mmmh is it accurate enough to compensate for pal/ntsc too? :)


Nah, unfortunately not. That turns out to be approximately a 2.5 microtone difference. With three fractional bits we would get:

ntsc/pal = 1022727/985248 = 1.03804...
2^(1/(12*8))^5 = 1.03676...
Previous - 1 | 2 | 3 | 4 - Next
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
andym00
Holy Moses/Role
REBEL 1/HF
Didi/Laxity
zscs
Britelite/Dekadence
iAN CooG/HVSC
Guests online: 203
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Codeboys & Endians  (9.7)
4 Mojo  (9.6)
5 Coma Light 13  (9.6)
6 Edge of Disgrace  (9.6)
7 Signal Carnival  (9.6)
8 Wonderland XIV  (9.5)
9 Uncensored  (9.5)
10 Comaland 100%  (9.5)
Top onefile Demos
1 Nine  (9.7)
2 Layers  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.5)
6 Scan and Spin  (9.5)
7 Onscreen 5k  (9.5)
8 Grey  (9.5)
9 Dawnfall V1.1  (9.5)
10 Rainbow Connection  (9.5)
Top Groups
1 Artline Designs  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Performers  (9.3)
5 Censor Design  (9.3)
Top Crackers
1 Mr. Z  (9.9)
2 OTD  (9.8)
3 Antitrack  (9.8)
4 Fungus  (9.8)
5 S!R  (9.8)

Home - Disclaimer
Copyright © No Name 2001-2025
Page generated in: 0.046 sec.