Split mp3 or text files into chunks

Miscellaneous tools
Post Reply
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Split mp3 or text files into chunks

#1 Post by don570 »

I have written an right-click option app to split mp3 files
or text files into chunks. The size of each chunk is set by user
using a GUI.

Here's how it would be used.

Use baconrecorder to record overnite radio broadcast in
mp3 format, therefore little diskspace is used.
Here's the baconrecorder thread.
http://murga-linux.com/puppy/viewtopic.php?t=69237

Let's assume you chose mp3 mono to make the file as small as possible.

Instructions: Right click on a mp3 file ( or text file)
and split option will be on menu list

split-file default settings (a length of 3600 kilobytes) will split
the file into 30 minute chunks (aproximate).

A folder is created called split that will have the numbered
chunks inside. You can use your audio player to listen to a chunk.

Notes:

1) Exact times are difficult to know with mp3 format.

2) It also works on text files.

3) This program just puts a GUI around the 'split' command

____________________________________________________



___________________________________________-
Attachments
split-file-1.3.pet
split mp3 and text files into chunks
(2.4 KiB) Downloaded 477 times
Last edited by don570 on Mon 30 Apr 2012, 16:16, edited 2 times in total.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#2 Post by nooby »

Cool thanks. I remember that you told us how many MB
that a speech recording will need.

Will it place it on the HD continuously or does it fill the RAM until it crash?
I have only 1GB RAM a small Netbook
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#3 Post by don570 »

Most versions of puppy linux won't crash if you fill up the
hard drive completely with a recording but it's not a good practise.

Several versions of Puppy can't save the Rox file manager settings.
This makes Puppy hard to use. Best thing to do is save your
work to another partition and reboot .

I assume that Baconrecorder will record continuously for many hours
until the hard drive if filled up. This only happened to me once
as an accident. :oops:

When I record with mhwaveedit crashes are more common
than baconrecorder, so I'm using baconrecorder nearly
all the time now.

____________________________________________
__________________________________________

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#4 Post by nooby »

The solution is easy for me. Instead of recording at a night
I can record from early morning and after 8 hours I will know
much many MB or GB it needs. Super easy. I only need to
find a good mike. I know it should be somewhere in the room
but it seens to be in a plastic bag inside another such so not
easy to find. Too lazy at the moment to comb the whole apartment.
Thanks for sharing your ideas
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#5 Post by RSH »

nooby wrote:The solution is easy for me. Instead of recording at a night
I can record from early morning and after 8 hours I will know
much many MB or GB it needs. Super easy. I only need to
find a good mike. I know it should be somewhere in the room
but it seens to be in a plastic bag inside another such so not
easy to find. Too lazy at the moment to comb the whole apartment.
Thanks for sharing your ideas
Hey nooby,

do you already know: to record voices of people without having their permission or agreement is illegal action in Germany (even if you use open source software :lol: ) - isn't it in sweden as well?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#6 Post by nooby »

Ooops don't tell that to Don then he needs to add a loud Beep
to every voice recording and a message saying. This is the Swedish
Authorities. We approve of this recording. Say something Thanks You!

Haha.

My snoring at night recorded using Bacon will be very illegal.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version 1.2

#7 Post by don570 »

new version 1.2

-Fixed a mistake with megabytes

-Added warning message when a null file (empty) or
hidden file detected. These would give confusing results.

_________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#8 Post by don570 »

New version 1.3

There are different versions of the split command used in
Puppy linux.

I only discovered this when I tried to use version 1.2 on slacko
and it wouldn't work. It has split version 6.9

whereas other puppies have version 8.0

So I had to make a change for compatibility.

Post Reply