Skip to content

Latest commit

 

History

History
29 lines (29 loc) · 1.14 KB

README.md

File metadata and controls

29 lines (29 loc) · 1.14 KB

soundcplay

Play SNG(YM) file in Raspberry Pi using SoundCortex

This program can play SNG(converted YM) file on SoundCortex using Raspberry Pi
compile with "gcc soundcplay.c"
https://github.com/toyoshim/SoundCortex
Please connect with I2C
if you using LPC812, sometime SoundCortex will disappear in i2cdetect
if it happened, pull up Pin 04(SCK) while power on


Wiring in LPC812
RPi Pin01(3v3) 03(SDA) 05(SCL) 06(GND)
to
LPC Pin15(3v3) 19(SDA) 04(SCL) 16(GND) and 5(SoundOut, connect 3k3 and 10uf)

How to generate SNG file from YM file?
use this ...
https://github.com/internalregister/AY-3-8910/blob/master/ymConverter.py

How to Convert AY/PT3/Other format to YM?
use AYEmul

Also, It has PSG-SCC Register redirection feature...
set mode 1 will enable
Playback example with PSGSCC(Doorbellsplosion by Kulor)

Problem: Timing is inaccurate, PSGSCC has no noise, PSGSCC has freq limit(narrower than AY?)
Also SoundCortex doesn't support Envelope, so many YM files will sound quirk