Giter Site home page Giter Site logo

Comments (4)

electronoora avatar electronoora commented on June 27, 2024

Hmm, I think I copied them directly from the Gravis Ultrasound S3M player I wrote in 1996-97. The same error can already be seen there:

https://github.com/electronoora/s3mlib-gus/blob/master/s3mcore.asm#L1523

I suspect that back then, I probably had a simple typo in the tool which calculated the full table and printed out the data in assembly-includable format. It's likely that I used the formulas from S3M.TXT which again, has the correct values in the table for 4th octave:

https://github.com/lclevy/unmo3/blob/master/spec/s3m.txt

Kinda funny how a typo from over 20 years ago comes back to haunt me. :D

from webaudio-mod-player.

electronoora avatar electronoora commented on June 27, 2024

Interestingly, though - if we use the ratio between semitones (2^(1/12) or approximately 1.05946), we can calculate the following values for 4th octave if our period for C4 is 1712.00:

1712.00, 1615.92, 1525.23, 1439.64, 1358.84, 1282.57, 1210.60, 1142.65, 1078.52, 1017.99, 960.86, 906.93

from webaudio-mod-player.

marcel303 avatar marcel303 commented on June 27, 2024

Ah hey sorry I didn't get back to you for almost a year!

It's interesting to hear the backstory. Yeah, sometimes typos go unnoticed for long periods of time. I went over some old code of mine recently, and I found the reflection of some meta blobs wasn't rendered correctly. Incorrect normals, sphere mapping messed up. Shock! Horror! ;-)

from webaudio-mod-player.

marcel303 avatar marcel303 commented on June 27, 2024

By the way, I kinda gave up on writing my own routines, and instead decided to resurrect a really old library, that I was using back in the day, called jgmod. I know it's not the best player in the world. DUMb being better/more precice, but it has easy access to track/channel data. Which is interesting for me, since I'm interested in reinterpreting the channel data (volume, panning, pitch) as a creative experiment. I added some basic IT support to jgmod, and got at least the loading part working, and pitch slides are now correct (linear vs amiga). Downside is jgmod was never built to support NNA (no virtual voices or consideration for them throughout the code base), so I will settle on having only basic IT support. Many IT files play fine without NNA, often don't even use it.

from webaudio-mod-player.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.