Giter VIP home page Giter VIP logo

sndhtomp3's Introduction

sndhtomp3

converts SNDH files to mp3

if these tools look bizzare, well they are. This toolchain is part of the scripts used to create the Atari Undeground Chiptune Resistance podcast

sndhtomp3.sh

Main program, give it an sndh file and it spits out an mp3

Several options:

usage: [LOOPCOUNT=n] [SPECIAL={--sc68-asid}] /data/home/georges/bin/sndhtomp3.sh sndhfile [songname] [subtune] [starttrimseconds] [endtrim_milliseconds]
default LOOPCOUNT=0
endtrim_milliseconds=0 => do not try to detect loops and don't fade out
endtrim_milliseconds>0 => remove this much at the end
endtrim_milliseconds<0 => loop the song and add this much
if endtrim_milliseconds = 'nnn!' then do not fade at end

ste-sndh-grab.sh

This is an additional program which is called by sndhtomp3.sh if the path to the file contains /DMA/.

It runs hatari in fast mode in the background creating an mp3 as result. For this a whole lot of tools is used, which you need to have installed.

  • hatari (obviously needed)
  • hatari-prg-args (should be included with hatari)
  • sc68 (used to gather the track length)
  • readlink (should be already on your OS)
  • xdotool (apt install xdotool)
  • pacmd (pulseaudio, used to mute hatari while it's running in background. if you not running pulseaudio, well sorry)
  • ffmpeg (apt install ffmpeg)
  • sox (apt install sox)
usage: ste-sndh-grab.sh tune.sndh

This is the first release, and it's not yet well integrated

sndhtomp3's People

Contributors

gunstick avatar

Watchers

 avatar

sndhtomp3's Issues

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.