MP3 Splitter

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: MP3 Splitter

Re:

by BionicRooster » Tue Feb 18, 2014 5:48 pm

Steegy wrote:Ahaaaaaaaaaaa!!!

Finally found (back) what I was looking for: mp3DirectCut ( http://www.mpesch3.de/ )

Small & fast (not in Java :D)
It only supports mp3 (all layers, so also mp2).

Install it to folder "C:\Program Files\mp3DirectCut" and use the following Auto-script from within MediaMonkey
(how to install scripts?: http://faq.mediamonkey.com/index.php?ac ... artlang=en )

Mp3Splitter.vbs (for the Scripts\Auto folder):

Code: Select all

Option Explicit

Sub onStartUp 

   Dim CMIArray
   CMIArray = Array(SDB.UI.Menu_Pop_TrackList, SDB.UI.Menu_Pop_NP, SDB.UI.Menu_Pop_Tree)
   
   Dim i, MI
   For i = 0 To UBound(CMIArray)
	  SDB.UI.AddMenuItemSep CMIArray(i), 0, 0
	
	  Set MI = SDB.UI.AddMenuItem(CMIArray(i), 0, 0) 
	  MI.Caption = "Split this mp3"
	  MI.OnClickFunc = "RunSplitter" 
	  MI.UseScript = Script.ScriptPath 
	  MI.IconIndex = 38
   Next

End Sub 

Function RunSplitter(arg) 

  Dim WShell, Result, Command

  Command = """C:\Program Files\mp3DirectCut\mp3DirectCut.exe"" " & SDB.SelectedSongList.Item(0).Path 

  Set WShell = CreateObject("WScript.Shell") 
  Result = WShell.Run(Command, 1, 0)

End Function 
It adds "Cut this mp3" to the track's context menu.

mp3splt is kind of big and slow, but might be the alternative if mp3DirectCut is not good enough. mp3splt gui doesn't seem to take any command line options.

Other program suggestions are welcome.

Cheers
Steegy
Steegy,
Thanks for sharing this script. I have the MM 4.1 release and I cannot get it to work. The install script link you have seems to have expired so I cannot see it. I installed this in the Auto directory but it does not add to a menu and does not run if I try to manually add it to scripts.ini. Can you help?
Thanks
BionicRooster

Re: MP3 Splitter

by bsoudouf » Fri Mar 02, 2012 10:58 am

Shrikant if you are still alive please share your vbs, many people like me are searching this option .

Re: MP3 Splitter

by SLowrAM » Thu Mar 03, 2011 11:05 am

I was just looking for a split feature in MediaMonkey and ran across this thread, here's another vote for this feature to be added to core product. Thanks for the scripts for the time being.

Re: MP3 Splitter

by Eyal » Sat Nov 20, 2010 7:36 pm

Don't forget this External Tools script: ExternalTools v1.3 [MM2+3], also by Steegy.

Re: MP3 Splitter

by Shrikant » Mon Nov 15, 2010 9:40 pm

Great! I used the above code to add a "Send to Bluetooth!"

by steve0 » Thu Mar 20, 2008 2:52 am

"put an MP3 Splitter into Media Monkey. "It is a good idea.When could i hear those songs?

Generic version of Steegy's script...

by tj_junk » Tue Nov 28, 2006 12:30 pm

The following is a generic version of Steegy's script. It can be easily modified to open a selected file into any external app using MediaMonkey's right-click context menu.

To use:
1) Create a new textfile in the "...\MediaMonkey\Scripts\Auto" folder.
2) Copy the code below into the new textfile.
3) Modify the "myAppPath" and "myMenuOption" constants as desired.
4) Save the new file with your desired VBS filename.
(I chose "RunAppFromContextMenu.vbs".)
5) (Re)Start MediaMonkey.

Code: Select all

'*******************************************************************************
'  RunAppFromContextMenu - 
'     Add a context menu option to open a selected track in an external application.
'
'  To use:
'     1)  Create a new textfile in the "...\MediaMonkey\Scripts\Auto" folder.
'     2)  Copy the code below into the new textfile.
'     3)  Modify the "myAppPath" and "myMenuOption" constants as desired.
'     4)  Save the new file with your desired VBS filename. 
'         (I chose "RunAppFromContextMenu.vbs".)
'     5)  (Re)Start MediaMonkey. 
'
'  Note:  This generic script was created from Steegy's more specific "Mp3Splitter.vbs"
'         (see "http://www.mediamonkey.com/forum/viewtopic.php?p=46830#46830")
'*******************************************************************************
Option Explicit 

Const myAppPath    = "C:\Apps\Music\Edit\Mp3trim\mp3Trim PRO.exe"
Const myMenuOption = "MP3Trim"
'*******************************************************************************

'*******************************************************************************
Sub onStartUp 

   Dim CMIArray 
   CMIArray = Array(SDB.UI.Menu_Pop_TrackList, SDB.UI.Menu_Pop_NP, SDB.UI.Menu_Pop_Tree) 
    
   Dim i, MI 
   For i = 0 To UBound(CMIArray) 
     SDB.UI.AddMenuItemSep CMIArray(i), 0, 0 
    
     Set MI = SDB.UI.AddMenuItem(CMIArray(i), 0, 0) 
     MI.Caption = myMenuOption 
     MI.OnClickFunc = "RunApp" 
     MI.UseScript = Script.ScriptPath 
     MI.IconIndex = 38 
   Next 

End Sub 
'*******************************************************************************

'*******************************************************************************
Function RunApp(arg) 

  Dim WShell, Result, Command 

  Command = Chr(34) & myAppPath & Chr(34) & " " & Chr(34) & SDB.SelectedSongList.Item(0).Path & Chr(34) 

  Set WShell = CreateObject("WScript.Shell") 
  Result = WShell.Run(Command, 1, 0) 

End Function 
'*******************************************************************************
By the way, I highly recommend MP3Trim. It is a very simple, yet highly effective program for editing mp3 files (e.g., removing silence, fade in/out, etc). Check it out at http://www.mptrim.com/.

by Steegy » Sun May 14, 2006 7:21 pm

Well, I must say mp3DirectCut is very easy to use, if you take a minute or 2.

I just made a cue file and splitted a mp3 file to test.
I also let the program automaticly split a fullcd using the "auto-detect silence" function. It's great, it's split the fullcd mp3 file in the correct places and I could store the splitted tracks that way.

For people who want to split a fullcd mp3 file (that has silence between the songs):
- Right-click the song and click "Split this mp3"
- menu Edit > Silence Detection...
- push the Start button and wait.
- push the close button. your cue points are indicated
-- menu File > Save split (to save the splitted parts in one folder)
-- menu File > Save cue sheet (to save the cue sheet for the fullcd mp3)

For songs_to_split that don't have silences, you'll have to split manually, which is very easy. You can navigate very fast and play to preview the song piece. If you want to create a cue point, just click on the graph place and push the "Cut" button. You can remove the cue point with the "Edit" button.
Already made cue/split points are acessible from the "List" menu, or from the "graphical trackbar" under the graphical sound display.


Anyone saying this is a difficult program:
- menu ? > Manual
- just test it with a test file, using the buttons on the front form (no menu entries are needed directly)
- read the above explanation to use the program very fast

Cheers
Steegy

by Bex » Sun May 14, 2006 6:53 pm

Splitting audio files seems not to be so straight forward as one can think.
http://www.hydrogenaudio.org/forums/ind ... opic=35654
There are more threads...

I dont know if the program provided in the link can be used.

/Bex

by Steegy » Sun May 14, 2006 5:33 pm

Ahaaaaaaaaaaa!!!

Finally found (back) what I was looking for: mp3DirectCut ( http://www.mpesch3.de/ )

Small & fast (not in Java :D)
It only supports mp3 (all layers, so also mp2).

Install it to folder "C:\Program Files\mp3DirectCut" and use the following Auto-script from within MediaMonkey
(how to install scripts?: http://faq.mediamonkey.com/index.php?ac ... artlang=en )

Mp3Splitter.vbs (for the Scripts\Auto folder):

Code: Select all

Option Explicit

Sub onStartUp 

   Dim CMIArray
   CMIArray = Array(SDB.UI.Menu_Pop_TrackList, SDB.UI.Menu_Pop_NP, SDB.UI.Menu_Pop_Tree)
   
   Dim i, MI
   For i = 0 To UBound(CMIArray)
	  SDB.UI.AddMenuItemSep CMIArray(i), 0, 0
	
	  Set MI = SDB.UI.AddMenuItem(CMIArray(i), 0, 0) 
	  MI.Caption = "Split this mp3"
	  MI.OnClickFunc = "RunSplitter" 
	  MI.UseScript = Script.ScriptPath 
	  MI.IconIndex = 38
   Next

End Sub 

Function RunSplitter(arg) 

  Dim WShell, Result, Command

  Command = """C:\Program Files\mp3DirectCut\mp3DirectCut.exe"" " & SDB.SelectedSongList.Item(0).Path 

  Set WShell = CreateObject("WScript.Shell") 
  Result = WShell.Run(Command, 1, 0)

End Function 
It adds "Cut this mp3" to the track's context menu.

mp3splt is kind of big and slow, but might be the alternative if mp3DirectCut is not good enough. mp3splt gui doesn't seem to take any command line options.

Other program suggestions are welcome.

Cheers
Steegy

by Bex » Sun May 14, 2006 4:57 pm

Perhaps this one could be used?
http://mp3splt.sourceforge.net/mp3splt_page/home.php
Supports mp3 and ogg.

/Bex

by Steegy » Sun May 14, 2006 3:59 pm

As suggested by Steegy and Trixmoto above, I suggest we all look for a suitable external mp3 splitter with command line support.
Once it's found, it can easily be used together with MM.

Cheers
Steegy

Re: MP3 Splitter

by rmfinch95616.myrealbox.co » Sun May 14, 2006 3:22 pm

Robgwilliams wrote:Hi,
Is there any chance we can put an MP3 Splitter into Media Monkey.
I am a DJ and record all my mixes onto my computer.
It would be really helpful if there was Mp3 Splitter.
Thanks
Rob
I'll second this request, and not at a low priority. Sometimes I get large mp3 which really are multiple tracks in one big file; an obvious chore for MM to split apart. Or at least give a clue as to which specialized splitters will work and how to set them up with MM.

by trixmoto » Sun May 14, 2006 4:36 am

If you found an MP3 Splitter application that could recieve the appropriate command line arguements, a script could be written to interface between MM and this application.

by Steegy » Sat May 13, 2006 1:34 pm

What's the mp3 splitter program that you currently use?

Top