atarionline.pl My POKEY note table - Forum Atarum

    Jeśli chcesz wziąć udział w dyskusjach na forum - zaloguj się. Jeżeli nie masz loginu - poproś o członkostwo.

    • :
    • :

    Vanilla 1.1.4 jest produktem Lussumo. Więcej informacji: Dokumentacja, Forum.

    1.  
      OK, I need help again with SAP-B

      This time, I am doing a double POKEY tune. My code is correct, but when I modify it for SAP-B as with earlier examples, it crashes. Anybody have ideas?
    2.  
      Just an update ... I am in the middle of writing out a documentation of what I have named $4x/$Cx mode. The setup is:

      AUDCTL=$40 (1.79 mhz on top of 64 khz clock)
      SKCTL=$8B (two-tone mode)

      Set distortion $4x in first channel
      Silence second channel or play $Cx distortion.

      There are at least 6 or 7 note tables to be had in this mode.
      Most produce distorted guitars.

      In this setting, you have to contend with frequencies in the mod 3 and mod 5 ranges (like C distortion) and also mod 15 and mod 31.

      If you store a mod 15 value in first channel and you put standard C distortion frequency in second channel, you get a fuzzy C distortion. The higher the modulation in channel 1, the fuzzier it sounds.

      If you store mod 5 (not 15) in 1, you put frequencies close to C distortion in 2, and it makes distorted guitars.
    3.  
      When I get this done, I want to write a document and put this setting on AtariWiki. It's too useful not to be up there ...
    4.  
      Byłem zajęty. Próbując nauczyć się języka polskiego, zagłębiłem się w dokumentację POKEY.

      Obecne ustawienie, nad którym pracuję, to SKCTL = $8B, AUDCTL = $41, 1,79 mhz + 15 kHz, AUDC1 = $4x ...

      Możesz przeczytać więcej tutaj, są 4 tabele nut, większość to rozmyte gitary. Jedno ustawienie oferuje zniekształcenie basu C bez konieczności polegania na polycounters.

      Po angielsku:

      ->link<-

      ->link<-

      Nie skończyłem jeszcze z tym ustawieniem. Zrobiono tylko około 1%.

      Przepraszamy za złą polską gramatykę. :)
      • 5:
         
        CommentAuthorjhusak
      • CommentTime18 Jun 2021 06:51
       
      Świetnie @Synthpopalooza, że uczysz się polskiego. Pamiętaj, że język polski = programowanie. Trzeba tylko wyodrębnić słowa kluczowe i ich parametry. Oraz nauczyć się wyjątków, bo ci, co spisywali kiedyś zasady, nie do końca wszystko rozpracowali.
    5.  
      Jeśli można nauczyć się języka asemblera, można nauczyć się polskiego. Oba są wyzwaniem.
      • 7:
         
        CommentAuthorKaz
      • CommentTime20 Jun 2021 21:50
       
      Synthpopalooza - imponujące! :)
    6.  
      Potrzebuję jeszcze tłumacza do kilku słów. Dziś od 346 dni robię polski na Duolingo!
    7.  
      So, new update ...

      We can now have a stable C distortion bass in 8-bit mode without using polycounters.

      ->link<-

      AUDCTL=%xxxxxxx1, 15 khz mode. Only has the three buzz tones. By changing which channel you play in, changes which tones you play.

      All three tones can now be stable, you don't have to play with the polycounter.
      • 10:
         
        CommentAuthorKaz
      • CommentTime8 Jul 2021 23:38
       

      Synthpopalooza:

      Potrzebuję jeszcze tłumacza do kilku słów. Dziś od 346 dni robię polski na Duolingo!


      Congratulation!... eeee.... means... Gratulacje! :D
      • 11:
         
        CommentAuthorMaW
      • CommentTime8 Jul 2021 23:44
       
      Amazing - this process of discernment and your increasing skills in Polish!

      @Kaz: We need a 'like' option to send our appreciations to threads writers.
    8.  
      Dzięki. Dziś mija rok odkąd zacząłem polski na duolingo. To zajmie trochę czasu. :)

      Przechodzę również 65 536 kroków na moim obecnym stole POKEY. SKCTL=$8B AUDC1=$4x AUDCTL=$41 1.79+15 ...
      • 13:
         
        CommentAuthorpirx
      • CommentTime9 Jul 2021 15:41
       
      POKEY table ==> tablica POKEY'a
    9.  
      Cześć!

      I documented part of a new setting. SKCTL=$8B two tone mode, distortion 2, AUDCTL=$40 1.79 clock. Play $2x distortion first channel, silence the second. It makes the $2x wave but with noise added. I have note table plus demo tune.

      This is also possible in 15 khz mode but not documented yet. Range is f#2 to a5
    10.  
      Cześć!

      I'm back. Still working on POKEY. Enlisting the help of Claude AI and aubiopitch to document AUDCTL=$40 two tone mode in distortion 4. I'm feeding claude sweeps of all 65,536 frequencies to try to get note tables. Wish me luck.
    11.  
      Also: Once I get this one, and also the 15khz one, documented, I'm going to write up a documentation on this, and send it off to people on here, maybe you can translate to Polish. This is a really complex POKEY setting that can generate dozens of note tables. I'm excited ...
    12.  
      The latest: I've enlisted the Claude AI to help me analyze and document this setting. Once it's done, I'm probably going to end up with AI generated note tables in this mode. That will be a first, I'm sure.
    13.  
      The latest: I've mapped out all note frequencies for all AUDF1 from $E0 to $FF in the above setting. 14 more blocks to go, then the fun stuff begins. :)
      • 19: CommentAuthoremkay
      • CommentTime14 Aug 2026 17:32 zmieniony
       
      As you try to do things using AI....

      We still need a tracker that allows to manage POKEY settings and musical commands at the same time (as dxRMT does already) Here are some tunes that could still be enhanced that way. I wonder what an AI could do better ....


      ->link<-
      • 20: CommentAuthortebe
      • CommentTime14 Aug 2026 18:11
       
      emkay? czy AI zostało wystarczająco zabezpieczone aby uniemożliwić Tobie korzystanie z niego, czy jesteś zwyczajnym pasożytem?
      • 21: CommentAuthoremkay
      • CommentTime14 Aug 2026 18:56
       
      @tebe You know, I could do a number one world hit, but Atari users dislike it, because it somehow done by emkay.
    14.  
      Once I'm done, this is going to be really complex. I can see dozens of note tables being generated using this setting alone. I just got done cataloging everything in this setting from AUDF1=$70 to $FF. Going to try to get $50 to $6F next.

      I'm also going to write a note table generator in BASIC, you will be able to go through the mapped out settings and construct your own note tables. Also possibly generate hex codes in the format ".dta $xx $xx ..." which could be hacked into RMT.

      Also: It will work for NTSC or PAL tunings.
    15.  
      Also: Once I've finished two tone $4x distortion, clock 1.79mhz + 64 khz, I am going to have to turn around and do it again for the 1.79 plus 15 mode (AUDCTL=$41) ... It also promises to be just as complicated.

      Then, there's the two tone $8x mode with 9-bit poly (AUDCTL=$C0 or $C1). Again, available in 1.79+64 or 1.79+15. I have looked at this and there are a lot of nice guitars here too.
    16.  
      Also: Everything will be tuned within 10 cents of target pitch. I promise. :)
      • 25: CommentAuthoremkay
      • CommentTime18 Aug 2026 22:06 zmieniony
       
      Where are some usable results ?

      Seems, there is no one able to do better music than me on POKEY.... neither AI...



    17.  
      Bardzo ciekawe. Podoba mi się to. Tylko zakończenie by się przydało jakieś przyzwoite, bo urywa się brutalnie.
    18.  
      Soon. Once I have everything mapped out. Maybe in a week.
    19.  
      One step closer on two tone $4x distortion 1.79 plus 64. All the sweeps are done, and I have now HTML tables for PAL and NTSC. It only remains for me to go through these by ear, isolate all the swirling guitar tones, then compile new master note tables. All notes are within 10 cents of target pitch.

      Categories are:

      non/non ... neither AUDF1 nor AUDF2 have a modulus
      non/3 ... AUDF1 no mod, AUDF2 is mod 3
      non/5+15 ... as above, AUDF2 is mod 5.

      3/non ... AUDF1 is mod 3, AUDF2 no mod
      3/3 ... both AUDF1 and AUDF2 are mod 3
      3/5+15 ... as above, but AUDF2 is mod 5

      5/non ... AUDF1 is mod 5, AUDF2 no mod

      Missing are 5/3 and 5/5+15. 5/3 is $4x/$Cx mode, where AUDF2 roughly follows standard C distortion but AUDF1 adds a guitar modulation. I have this mostly documented.

      5/5+15 needs special handling. They produce intermittent notes or silence, and the sweeps did not get them all.
    20.  
      Oh and after all this is done: A proper demo tune to show off all the modes and settings available in $4x two tone 1.79+64 ...
    21.  
      So the latest: I have come to a pool of frequencies that can be used in this mode. The categories are:

      Non mod in AUDF1 and AUDF2
      non mod in AUDF1 and mod 3 in AUDF2
      Non mod in AUDF1 and mod 5 in AUDF2
      Mod 3 in AUDF1 and non mod in AUDF2.

      Still to do: 3/3, 3/5, and 5/non.

      Attaching .dat files for the 4 groups. To play them, run the TurboBASIC program picker.tur and load them, and use arrows to page through the frequencies.

      The range is missing some notes, what is present is tuned to within 15 cents of target pitch.

      The .dat files are for NTSC and PAL tunings. PAL has better tunings. Range in both is about A0 up to about the third octave before tuning errors happen and notes get dropped. Also there is a jump up to C4, F4, and C#5 as well.
    22.  
      Some tunes from projects I am working on. All 3 are from a forthcoming 7800 game called Odyssey. They use some of the techniques I've been playing with. Emkay: The Hades uses 15 Khz. :)
      • 32: CommentAuthoremkay
      • CommentTime17 Sep 2026 18:15
       
      Overworld uses 15kHz... ;)
      Sadly the PAL replay causes nausea....
      Hades is more problematic, Underworld is better ...

      In NTSC everything is fine.
    23.  
      I'm pretty sure that is an RMT E style bass in overworld, which is 64 khz. But yes, Hades is 15khz.

      I'm planning also tunes for the forest and Mount Olympus levels. That forest is going to use the two-tone pan flute setting in gen 2. It can be used in either 15 or 64 khz, so I may try 15 on it to pair it with that nice C bass.
      • 34: CommentAuthoremkay
      • CommentTime18 Sep 2026 08:49
       
      Hm .....
      1 Hades 30 sec



      2 underworld

      (some windows recording clitches included ...)
      • 35: CommentAuthoremkay
      • CommentTime18 Sep 2026 23:37 (7 dni temu) zmieniony
       
      Still ... in my opinion....

      Filter PWM is the most powerful ability of POKEY....

      You can tickle one channel with the base frequency and the other with the used PWM setting...

      And....please don't underestimate that PAL is more a problem than NTSC in the replay, caused by the main clocking.

      One example of PERFECT filter PWM on a stock PAL machine using one POKEY...



      And, if you have got a working tune in PAL, it won't sound off in NTSC ...
      • 36: CommentAuthorSynthpopalooza
      • CommentTime19 Sep 2026 03:12 (7 dni temu) zmieniony
       
      two of those use the PWM, just atop a 2 distortion: overworld and underworld... the other one, Hades, uses Reverse 16 bit on $8x with 9 poly to get the guitars
    24.  
      This one uses Distortion 4, two tone mode, 1.79+15. It's the evil church music from L'Abbaye Des Morts. The last channel is left blank for game sfx. It uses:

      AUDCTL=$41
      SKCTL=$8B

      0 - $4x distortion
      1 - silent
      2 - $Ax square wave

      At first, 0 plays the bass using a setting called Fuzzy C. It's standard C distortion with a fuzzbox effect. This happens if you play 15khz C distortion in channel 1, while 0 gets a mod 15 value. 2 plays $Ax for the lead.

      It then switches. 2 takes over the bass in $Ax while 0 plays guitar modulations.