digital-sound-antiques / libkss Goto Github PK
View Code? Open in Web Editor NEWA player library for MSX music formats.
License: Other
A player library for MSX music formats.
License: Other
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?
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.
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.
Files converted using mus2kss don't play in lib kss (they load, but nothing happen or garbage sound). They are playing fine with libnezplug.
mus2kss here: http://msx.fi/nyyrikki/pc.html
mus files here: http://modland.com/pub/modules/FAC%20SoundTracker/
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:
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.
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?
Since 'm' library is not specified, kss2wav cannot be built with gcc or its variant.
Hi,
I noticed a bug following the latest emu8950 update (with the notesel change).
For some kss files, there's no output anymore. You can try with
http://ftp.modland.com/pub/modules/KSS/Crystal%20Score/callisto%27s%20theme.kss
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.