Git Product home page Git Product logo

libkss's People

Contributors

gcielniak avatar okaxaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

libkss's Issues

Volume from separate channels

It would be amazing if I can create an equalizer for every separate channel in the music. The player obviously delivers 2 audio channels, so that's not the way to go, I don't think I can currently have this data? Can you please shed some light on this?

VGM exporter

Maybe it would be nice to have a VGM exporter in Libkss. It could function similar to the way OpenMSX does things using a TCL script; by writing all data the emulated audio registers receive to disk. Here's a link to the script and some info.

A new KSSPLAY interface method for separate channel output

The current KSSPLAY does not provide any interface for separate channel output of each devices. Separate channel output is very useful for a lot of purpose, for example, per-channel filtering, volume control, spectrum analysis and so on. I will implement the interface soon.

kss2wav: make it possible to output to stdout

I would like to send the wave data into Lame straight away by using the pipe. Would be a nice feature to have. I've seen programs use the '-' sign as output filename to activate this feature, but since you can't specify the wave file name with kss2wav it might be best to add a flag.

PSG emulation could be improved

First off: very cool you moved your stuff to Github, and still are actively working on this, much appreciated! ๐Ÿ˜Ž

There are some PSG tunes that not quite sound as they should, having some distortion & crackles, e.g:

Vampire Killer

  • Out of Time
  • Wicked Child
  • Game Over

Penguin Adventure

  • Shop 3 - Angry Fisher
  • Cold Ocean
  • ??? (short tune with bells as in 'The Map')

Debugging KSS files

We've been discussing this via Twitter direct message; your latest reaction on this was this:

How to debug KSS file is frequency asked, but there has been no good solution for the several decades. If you do not mind to some programming effort, my personal recommendation is to trap Z80 I/O access.

I was thinking about this however; with this I still wouldn't know what is going on when the I/O is not happening and I expected it would. What about giving the option to dump all the z80 register stuff and a few lines of code from before and after to a txt file every time when a certain memory address is hit? With this setting I could compile my asm file to a kss file and check if parts of the code are reached and if so on that moment has the values in memory I expected? I could also do the I/O thing with this.

OPLL Volume setting doesn't work for all channels it seems

My implementation of libkss has a function:

int crSetVolumes(void *context, int sccVolume, int psgVolume, int opllVolume)
{
    kssContext *kss = (kssContext*)context;
    KSSPLAY_set_device_volume(kss->kssplay, 0, psgVolume);
    KSSPLAY_set_device_volume(kss->kssplay, 1, sccVolume);
    KSSPLAY_set_device_volume(kss->kssplay, 2, opllVolume);
    KSSPLAY_set_device_volume(kss->kssplay, 3, opllVolume);
}

This works fine for PSG and SCC, but for OPLL it seems some channels are being ignored. So if some FMPAC tune is playing and I change the volume some channels stay at normal volume. That's why I tried to set OPL volume as well, but that's MSX Audio, that obviously didn't work either. :)

Am I doing something wrong?

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.