Results 1 to 10 of 10

Thread: How exactly do I use an shn audio file?

  1. #1
    Join Date
    Dec 2020
    Location
    Beverly, Ohio, USA
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How exactly do I use an shn audio file?

    I downloaded Nassau Day 4 and it is in shn format. How exactly do I use that on my phone?

  2. #2
    Join Date
    Oct 2008
    Posts
    20
    Thanks
    301
    Thanked 0 Times in 0 Posts

    Default

    You can decode SHN files with Trader's Little Helper.

    http://tlh.easytree.org/

  3. #3
    Join Date
    Sep 2006
    Location
    Near The End
    Posts
    5,741
    Thanks
    2,262
    Thanked 50,481 Times in 1,403 Posts

    Default

    Never had the problem, but I think that how exist programs that can read shn with windows10, can exist app for smartphone, try to check.

    I found this for example (first search with google) : https://play.google.com/store/apps/d...er&hl=it&gl=US

    Pink Floyd Audio and Video
    Roger Waters Audio and Video
    David Gilmour Audio and Video
    Syd Barrett Audio and Video
    Nick Mason Audio and Video
    Richard Wright Audio and Video

  4. #4
    Join Date
    Dec 2020
    Location
    Beverly, Ohio, USA
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by withnail View Post
    You can decode SHN files with Trader's Little Helper.

    http://tlh.easytree.org/
    I wonder if tlh works in Wine on Linux.

  5. #5
    Join Date
    Oct 2007
    Location
    Indiana, U.S.
    Posts
    2,036
    Thanks
    158
    Thanked 1,050 Times in 42 Posts

    Default

    FWIW, SHN format is nothing more than an (outdated) lossless compression format for ordinary WAV files.
    FLAC has essentially replaced it as the lossless compression of choice, but there are lots of utilities that can decompress SHN files or play them directly without decompressing them.
    One of the most popular programs that can directly play these files is Foobar200, found here - https://www.foobar2000.org/
    You already have a link to Trader's Little Helper to decompress SHN files, but you can (if you're like me and prefer to have a command line option for a variety of reasons), you can download the actual original Shorten program here - http://shnutils.freeshell.org/shorte...rten-3.6.1.zip
    btw...my personal recommendation for your SHN files is to decompress, then recompress with FLAC, at least as long as you don't have a need to seed the original files without conflicts with old torrents for those.
    "I don't know; I was really drunk at the time." - Henry McCullough

  6. #6
    Join Date
    Oct 2007
    Location
    Indiana, U.S.
    Posts
    2,036
    Thanks
    158
    Thanked 1,050 Times in 42 Posts

    Default

    Quote Originally Posted by daemonspudguy View Post
    I wonder if tlh works in Wine on Linux.
    I haven't tried that, but I'm certain that it would work with Virtualbox.
    Also, if you want to be able to decompress your SHN files directly on Linux, you're in luck!
    This is the command line only program, but it allows you to work on files in batches, so there are advantages over a GUI program.
    The source code for Shorten is available, and it still compiles using GCC on Linux very easily.
    Here is a direct link to the source code - http://shnutils.freeshell.org/shorte...n-3.6.1.tar.gz
    If you don't know how to compile it, here are the steps, in order.
    1) Open an Xterm window
    2) Go to the directory where shorten-3.6.1.tar.gz is, i.e. "cd Downloads"
    3) Use this command to unpack the source code: "tar -xvf shorten-3.6.1.tar.gz"
    4) Use this command: "cd shorten-3.6.1"
    5) Use this command: "./configure"
    6) Use this command: "make"
    7) Use this command: "make install"
    8) Allow the program to be usable immediately with this command: "rehash"
    Now, you can see how to use the newly compiled and installed program showing you its command line options (compress/decompress, and other options) by typing "shorten -h"
    Good luck to you.
    "I don't know; I was really drunk at the time." - Henry McCullough

  7. #7
    Join Date
    Feb 2013
    Posts
    356
    Thanks
    210
    Thanked 49 Times in 3 Posts

    Default

    Quote Originally Posted by daemonspudguy View Post
    I downloaded Nassau Day 4 and it is in shn format. How exactly do I use that on my phone?
    Find some software on your desktop platform of choice that transcodes the Shorten audio compression format directly into a more modern / better format supported by your phone (by the way, you haven't mentioned what kind of phone so it's difficult to advise). Either that, or convert to WAV format and convert that to your desired target format. Shorten is very old and although lossless, there are much better lossless formats around these days.

    withnail has given you an example of the transcoding software you can look for. Since you mention Linux in a later post, I found this link: https://askubuntu.com/questions/1175...read-data-from which claims "Current versions of ffmpeg or avconv support the shorten format" so you could try those.

    Edit: it looks like some better info has been posted while I was typing up my response. In particular, thank you oldpink for a current link to a site hosting the source code. FWIW, I compliled my own command line version of shorten for macOS years ago and routinely convert anything containing .shn files straight to FLAC.
    Last edited by snagu; 2021-01-02 at 02:02 PM.

  8. #8
    Join Date
    Jul 2006
    Location
    Bristol, UK
    Posts
    1,102
    Thanks
    624
    Thanked 2,394 Times in 43 Posts

    Default

    Quote Originally Posted by daemonspudguy View Post
    I wonder if tlh works in Wine on Linux.
    TLH works fine in Wine. I use it on a Mac in Wine without problems.
    Foobar2000 with the SHN plugin also runs fine in Wine. It's easy to transcode in Foobar if you want to.
    xACT on the Mac decodes SHN natively though. I don't know about other native options for Linux though.

    Personally, for my phone, I run a Subsonic server, and use play:Sub on iOS as a Player. Subsonic transcodes SHN on the fly. Plays fine on the Phone using play:Sub.

    Other Subsonic apps: http://www.subsonic.org/pages/apps.jsp

  9. #9
    Join Date
    Jul 2006
    Location
    Paris suburbs (sort of)
    Posts
    198
    Thanks
    319
    Thanked 204 Times in 3 Posts

    Default

    Hi daemonspudguy and all,

    I suppose you have a Linux PC...
    Personally, I use a bash script to convert files form .shn to .flac
    Quite simple with minimal requirement : only ffmpeg

    bash script should looks like:

    #!/bin/bash
    #
    # Script de convertion du format audio 'shorten' (.shn) vers
    # le format 'Flac' [Free Lossless Audio Codec] (.flac)
    # utilisant le programme ffmpeg
    #
    # ffmpeg -i input.shn ---->> output.shn.flac

    for f in *.shn; do ffmpeg -i "$f" "${f%.shn}.flac"; done


    That's all.
    Run the script in the current directory where are your .shn files in.
    Hope that helps.

    Cheers,
    PE
    We are always, in all ways, nowhere - now, here.

  10. #10
    Join Date
    Dec 2020
    Location
    Beverly, Ohio, USA
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I find it awesome that this forum site has tech nerds as well.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •