Skip to content

Play SNG(YM) file in Raspberry Pi using SoundCortex

Notifications You must be signed in to change notification settings

onpat/soundcplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Play SNG(YM) file in Raspberry Pi using SoundCortex

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages