Become a Site Supporter and Never see Ads again!

Author Topic: Batch SHN -> FLAC?  (Read 4585 times)

0 Members and 1 Guest are viewing this topic.

Offline Bri

  • Complaint Dept.
  • Trade Count: (0)
  • Needs to get out more...
  • *****
  • Posts: 3240
  • Gender: Male
  • There is nothing you can hold, for very long.
Batch SHN -> FLAC?
« on: June 03, 2009, 10:53:22 AM »
New to taper section, looks like a neat forum...

Looking to convert a ton of folders to FLAC from SHN and have not come across a good app yet... dbPowerAmp times out, and I cant seem to make command line arguments in Foobar2k to delete the source file. Is there another app out there that will process subfolders and overwrite the source?

Thanks much in advance!

Bri

Offline Craig T

  • Trade Count: (10)
  • Needs to get out more...
  • *****
  • Posts: 4353
    • LMA
Re: Batch SHN -> FLAC?
« Reply #1 on: June 03, 2009, 10:56:27 AM »
Trader's Little Helper?
http://tlh.easytree.org/
Schoeps cmc6/4v / Beyer mc950 / Line Audio CM3, OM1 / ADK A51 / Church Audio CA-14
Naiant Tinybox v2.2 / NBox(P) / Church Audio ST9200 / CA-UGLY
Sony PCM-M10 / Zoom F3 / Zoom F6

Offline Bri

  • Complaint Dept.
  • Trade Count: (0)
  • Needs to get out more...
  • *****
  • Posts: 3240
  • Gender: Male
  • There is nothing you can hold, for very long.
Re: Batch SHN -> FLAC?
« Reply #2 on: June 03, 2009, 11:05:07 AM »
I'll have to give that one a spin! Thanks Craig!

Offline SmokinJoe

  • Trade Count: (63)
  • Needs to get out more...
  • *****
  • Posts: 4212
  • Gender: Male
  • "75 and sunny"... life is so much simpler.
    • uploads to archive.org
Re: Batch SHN -> FLAC?
« Reply #3 on: June 03, 2009, 11:43:10 AM »

I think this would work.... if you like commandline stuff.

put all the shn files in a directory, make a file "shn2flac.cmd" and put it in C:\windows (in your path)

mkdir flacs   // create a directory named flacs
for %i in (*.shn) do shorten -x %i %i.wav   // at this point you have gd1970-01-01d1t01.shn.wav
move *.wav flacs           // move the decompressed wave files to flac
cd flacs                        // change to that directory
rename *.wav   *.         // now you have a "flacs directory" of WAVE files wrongly named .shn
rename *.shn *.wav      // correct filenames
for %i in (*.wav) do flac %i
remove *.wav
cd ..

optionally add:
move flacs\*.flac .
remove *.shn
rmdir flacs

Mics: Schoeps MK4 & CMC5's / Gefell M200's & M210's / ADK-TL / DPA4061's
Pres: V3 / ST9100
Decks: Oade Concert Mod R4Pro / R09 / R05
Photo: Nikon D700's, 2.8 Zooms, and Zeiss primes
Playback: Raspberry Pi > Modi2 Uber > Magni2 > HD650

Offline Bri

  • Complaint Dept.
  • Trade Count: (0)
  • Needs to get out more...
  • *****
  • Posts: 3240
  • Gender: Male
  • There is nothing you can hold, for very long.
Re: Batch SHN -> FLAC?
« Reply #4 on: June 03, 2009, 12:22:20 PM »
problem is, I do not want to lose the hierarchy... Thanks tho :)

Offline vanark

  • TDS
  • Trade Count: (29)
  • Needs to get out more...
  • *****
  • Posts: 8856
  • If you ain't right, you better get right!
    • The Mudboy Grotto - North Mississippi Allstar fan site
Re: Batch SHN -> FLAC?
« Reply #5 on: June 03, 2009, 12:25:54 PM »
I would guess someone has a shntool batch file that can do what you want.  I'd have to look around to see if I can find some of my old ones, but I haven't used them for years so I'd have to test them.

edit:

This is what I pulled from my archives.  Probably needs to be tweaked.

shntool conv -o cust ext=flac "{" flac -8 -o %%f - "}" *.shn
« Last Edit: June 03, 2009, 12:31:15 PM by vanark »
If you have a problem relating to the Live Music Archive (http://www.archive.org/details/etree) please send an e-mail to us admins at LMA(AT)archive(DOT)org or post in the LMA thread here and we'll get on it.

Link to LMA Recordings

Link to Team Dirty South Recordings on the LMA

Mics: Microtech Gefell M21 (with Nbob actives) | Church Audio CA-11 (cards) (with CA UBB)
Pres: babynbox
Recorders: Tascam DR-60D | Tascam DR-40 | Sony PCM-A10 | Edirol R-4

dorrcoq

  • Guest
  • Trade Count: (0)
Re: Batch SHN -> FLAC?
« Reply #6 on: June 03, 2009, 12:37:30 PM »
New to taper section, looks like a neat forum...


HUH????? :)

I've always used foobar, never worried about it over-writing the existing SHN"s, just manually deleted them later.

Offline F.O.Bean

  • Team Schoeps Tapir that
  • Trade Count: (126)
  • Needs to get out more...
  • *****
  • Posts: 40703
  • Gender: Male
  • Taperus Maximus
    • MediaFire Recordings
Re: Batch SHN -> FLAC?
« Reply #7 on: June 03, 2009, 08:20:58 PM »
Schoeps MK 4V's & MK 41V's & 250|0 KCY's ->
Naiant +60v & +48v Low Noise PFA's ->
DarkTrain Right Angle Stubby XLR's ->
Sound Devices MixPre-6 & MixPre-3

https://archive.org/details/@diskobean
http://bt.etree.org/mytorrents.php
http://www.mediafire.com/folder/j9eu80jpuaubz/Recordings

Offline Bri

  • Complaint Dept.
  • Trade Count: (0)
  • Needs to get out more...
  • *****
  • Posts: 3240
  • Gender: Male
  • There is nothing you can hold, for very long.
Re: Batch SHN -> FLAC?
« Reply #8 on: June 03, 2009, 08:27:24 PM »
Welcome to www.taperssection.com ;)

thanks Bean! Wow you have alot of posts! ;)

Well, I almost got it, looks like Fubar2K is the best option. I found a place where you can add arguments to the flac exec, just need to sort it out ;)

"--delete-input-file -8 - -o %d" not working deleting input file for some raisin. :?

Offline scotchman 732

  • Trade Count: (0)
  • Taperssection Newbie
  • *
  • Posts: 6
Re: Batch SHN -> FLAC?
« Reply #9 on: June 04, 2009, 06:46:42 PM »
NCH Software Sound File Converter.   What it doesn't do is, overwrite the shn and just leaves the flac.  After all files have been converted, you will need to manually delete the shn's.  The simple trick to this is to sort all the files. Go to the last file after Flac and they should all be shn'.  Highlight and delete.

You can try the beta software at https://secure.nch.com.au/cgi-bin/register.exe?software=recordpad&svar=SSon

Hope this helps   ::)

 

RSS | Mobile
Page created in 0.061 seconds with 34 queries.
© 2002-2025 Taperssection.com
Powered by SMF