Skip to content

umjammer/vavi-sound-nsf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Java CI CodeQL Java

vavi-sound-nsf

nes logo© Nintendo

NSF Java Sound SPI powered by nsf and festalon (wip)

chips (fetalon)

name status comment
AY
FDS
MMC5
N106
OPLL
VRC6
VRC7

Install

Usage

AudioInputStream ais = AudioSystem.getAudioInputStream(Paths.get(nsf).toFile());
Clip clip = AudioSystem.getClip();
clip.open(AudioSystem.getAudioInputStream(new AudioFormat(Encoding.PCM_SIGNED, 44100, 16, 1, 2, 44100, false, props), ais));
clip.loop(Clip.LOOP_CONTINUOUSLY);

system property

  • vavi.sound.sampled.nsf.festalon ... use festalon engine or not. default false

properties for target AudioFormat

  • track ... specify track # in the file to play, 1 origin
  • maxPlaySecs ... specify max play time in [sec] ⚠️ nsf engine only

References

TODO

  • improve decoding speed (i7 imac)
    • on m2 ultra mac no problem
  • use jpl instead of jul
  • festalon
    • spi
    • fidlib

About

🔊 NSF (NES Sound File) Java sound SPI powered by nsf, festalon

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages