Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 37

Thread: Howto/Script: Cuesheet Splitter for Lossless Audio files

  1. #11
    Join Date
    Jul 2007
    Location
    Long Beach, CA
    Beans
    8
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    Works fine. Thank you for the script, Ariel.

    Are you going to rewrite the script to output to FLAC?

  2. #12
    Join Date
    Jul 2005
    Beans
    369

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    Quote Originally Posted by atomicscissors View Post
    Works fine. Thank you for the script, Ariel.

    Are you going to rewrite the script to output to FLAC?

    Well I have the idea to rewrite the script in Python for far better maintenability, one day.

    For now, if you need to output flac, you can try the changes below (note that I haven't tested them, so this has a fair bit of guessing):

    Where it says:

    Code:
    shntool split -f "$1" -o 'cust ext=ogg oggenc --quiet -q 6 - -o %f' -t "%n - %t" -d "$temp_folder" "$lossless_filename" \
    Try changing to:

    Code:
    shntool split -f "$1" -o 'cust ext=flac flac --quiet - -o  %f' -t "%n - %t" -d "$temp_folder" "$lossless_filename" \
    And where it says:

    Code:
    cuetag cuesheet-split.cue *.ogg
    Try:

    Code:
    cuetag cuesheet-split.cue *.flac
    Let me know if it does the trick.

  3. #13
    Join Date
    Apr 2009
    Beans
    44
    Distro
    Ubuntu

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    Hello, ariel.

    Currently there are quite a vacuum in the area of GUI .cue splitters in GNU/Linux, at last I was unable to find one, and I put some effort into finding them.

    Your script offers the best functionality around, but still needs some manual editing to work, and could be configured only manually.

    Could you please write a GTK interface for this tool?

    This would help to create a useful app with functionality no yet implemented with GUI.

  4. #14
    Join Date
    Jul 2005
    Beans
    369

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    Quote Originally Posted by vaul View Post
    Hello, ariel.

    Currently there are quite a vacuum in the area of GUI .cue splitters in GNU/Linux, at last I was unable to find one, and I put some effort into finding them.

    Your script offers the best functionality around, but still needs some manual editing to work, and could be configured only manually.

    Could you please write a GTK interface for this tool?

    This would help to create a useful app with functionality no yet implemented with GUI.
    Well I agree a GUI is needed and that is included in the future plans, as part of a python / pygtk rewrite. It's been in the in my TODO list since I learnt some python/pygtk last year but I didn't find the time to get that done or even started. Part of the "problem" is that the bash script + nautilus integration still does the job well (for me) even with the latest and greatest ubuntu. One of the niceties of using linux I guess.

  5. #15
    Join Date
    Apr 2009
    Beans
    44
    Distro
    Ubuntu

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    That sounds quite reasonable.

    Maybe it's worth an effort to make a package for the official Ubuntu repository that would include this script and its dependencies?

    Software Center is certanly most obvious place to look for tools like this, and there are packages that include Nautilus scripts already.

  6. #16
    Join Date
    Jul 2005
    Beans
    369

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    Update: complete rewrite of the script using python/pyGTK - with a GUI, batch processing and ID3v2.4 support.

    See the first post for the latest version.

  7. #17
    Join Date
    Apr 2009
    Beans
    44
    Distro
    Ubuntu

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    That's just great, thank you!

  8. #18
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    I have written a script for converting APE/FLAC album-length files into FLAC track-length files en masse:

    http://www.soundunreason.com/InkWell/?p=2485
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

  9. #19
    Join Date
    Apr 2009
    Beans
    44
    Distro
    Ubuntu

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    That is great, thank you, jamessin.

    What about an idea of integration of those two scripts?

    For instance, I would have liked Cue Splitter not only split cuesheet files, but also have a checkbox for conversion of resulting audio tracks into the FLAC, or OGG if they are in APE or MP3, if option were availiable.

    Besides, ariel, have you though about taking your script into the Ubuntu repositories? If you do not want to bother with packaging and all that stuff I think you would want to contact Masters of Universe on the Launchpad or elsewere.

  10. #20
    Join Date
    Jun 2008
    Location
    Ballard
    Beans
    2,409
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Howto/Script: Cuesheet Splitter for Lossless Audio files

    @vaul - Thanks. Glad you like my script.

    [RANT]Never convert from a lost format (mp3, ogg, aac, &c) into anything. Converting lost to lost compounds loss while converting lost to lossless creates a lie. The only way to preserve quality is by using FLAC (or some other lossless format) from the original source. The lost formats are, in a word, disposable.[/RANT]
    "We're all in this together, kid." --H. Tuttle (a.k.a. H. Buttle)
    "Maybe it's a layer 8 problem." --thatguruguy
    A High-Tech Blech!

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

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