Author Topic: Import sample (*.ogg, *.mp3)  (Read 20510 times)

Offline psishock

  • Extreme artist
  • *****
  • Posts: 1,296
  • Gender: Male
  • Operating System: win8(64)
Import sample (*.ogg, *.mp3)
« Reply #15 on: October 01, 2008, 14:49:09 »
Quote from: "LPChip"
Perhaps its just best to buy a new harddisk. They're very cheap nowadays."

*cough* Lets try not to miss the point here =)
We could also rent an orchestra for a few hours, to to record our samples in the possible best quality for us, but we're talking about program features/optimizations here.
I'm as calm as a synth without a player.  (Sam_Zen)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,252
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Import sample (*.ogg, *.mp3)
« Reply #16 on: October 01, 2008, 15:18:42 »
well, as said, the first step to lossless compression would be compressed .it files. modplug can load them, but it saves them uncompressed.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline locctr

  • Shy artist
  • Posts: 5
questioner reply
« Reply #17 on: October 01, 2008, 16:20:54 »
Questioner reply :

If enable import *.ogg, *.mp3...
It's so convenient MIXING from another music.

Offline Sam_Zen

  • Extreme artist
  • *****
  • Posts: 3,689
    • http://www.xs4all.nl/~samzen/
Import sample (*.ogg, *.mp3)
« Reply #18 on: October 02, 2008, 02:30:14 »
Quote
but it saves them uncompressed

Maybe this is the crucial stage : saving the file. With lossless compression.
The ability to open a compressed file always can be solved by a converter first.
Quote
It's so convenient mixing from another music.

It's not the main purpose of MPT to function as a mixer. It's a tool to compose something.
0.618033988

Offline Relabsoluness

  • OpenMPT Developers
  • *****
  • Posts: 707
Import sample (*.ogg, *.mp3)
« Reply #19 on: October 02, 2008, 08:57:53 »
Quote from: "Jojo"
well, as said, the first step to lossless compression would be compressed .it files. modplug can load them, but it saves them uncompressed.

I wonder how good a job it-compression does with sampledata for example compared to flac; any idea?

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,252
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Import sample (*.ogg, *.mp3)
« Reply #20 on: October 02, 2008, 16:30:11 »
afaik it's some kind of ZIP compression, so it's not as good as flac.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,252
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Import sample (*.ogg, *.mp3)
« Reply #21 on: October 02, 2008, 20:33:13 »
Quote from: "[url
http://www.users.on.net/~jtlim/ImpulseTracker/update.txt[/url]"]  - IT215 file format saving. Note that this is an alternative compression
      format and is often better, but not always. Public releases of IT214
      Patch 1 and Patch 2 can read IT215 compressed files. There is also a
      version of MikIT that can read IT215 compression.

The modplug code should have a decompression routine. i don't know how complicated it would be to add compression.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline psishock

  • Extreme artist
  • *****
  • Posts: 1,296
  • Gender: Male
  • Operating System: win8(64)
Import sample (*.ogg, *.mp3)
« Reply #22 on: October 02, 2008, 21:51:26 »
We could snach it from the Impulse Tracker code, it's already done there. ^_^
I'm as calm as a synth without a player.  (Sam_Zen)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,252
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Import sample (*.ogg, *.mp3)
« Reply #23 on: October 02, 2008, 22:17:05 »
IT is still closed source.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.

Offline psishock

  • Extreme artist
  • *****
  • Posts: 1,296
  • Gender: Male
  • Operating System: win8(64)
Import sample (*.ogg, *.mp3)
« Reply #24 on: October 02, 2008, 23:09:09 »
implement any open source method? ::) FLAC would be perfect for the job imo, the other informations (beside the samples) from the module could be also zipped.
I'm as calm as a synth without a player.  (Sam_Zen)

Offline Sam_Zen

  • Extreme artist
  • *****
  • Posts: 3,689
    • http://www.xs4all.nl/~samzen/
Import sample (*.ogg, *.mp3)
« Reply #25 on: October 02, 2008, 23:35:54 »
So, in the meantime, I like to point to an efficient bidirectional converter of WAV - FLAC : Flacdrop
0.618033988

Offline psishock

  • Extreme artist
  • *****
  • Posts: 1,296
  • Gender: Male
  • Operating System: win8(64)
Import sample (*.ogg, *.mp3)
« Reply #26 on: October 03, 2008, 00:09:53 »
Also, this feature could be linked with one of Skaven's topic, the "Revised IT Project (.ITP) functionality":
http://forum.openmpt.org/index.php?topic=2515.0
All the informations can remain in the module data, but samples could be referred to via relative paths (and be in FLAC format =), so the orientation and the work would be even more simpler. This way, the sample data could be (de)compressed separately and the other module data will stay zipped example. If a lot of songs are using the same samples over and over, this also can be a huge space saver.

(my own song folder takes about 6.3gig space, got about 900+ songs that are "uncompressed" and many of them are sharing the same sample data, in fact many of them are just variations of the same "theory", i just like to have them separated so i can more easily manage and search amongst them. Backuping example would be a lot lesser bother, if the whole folder would take much lesser space =)
I'm as calm as a synth without a player.  (Sam_Zen)

Offline bvanoudtshoorn

  • Extreme artist
  • *****
  • Posts: 1,053
  • Gender: Male
    • Barryvan
Import sample (*.ogg, *.mp3)
« Reply #27 on: October 03, 2008, 01:01:54 »
I think that it's important to bear a couple of things in mind when dealing with compressed samples.

1. If you don't decompress them, OpenMPT might start to chug when there are lots playing simultaneously - a lot of on-the-fly decoding isn't that easy.
2. If you do decompress them, it's going to do two things:
  a. Increase the load times for files *dramatically*;
  b. Increase the memory footprint for each file, particularly at load time.

To my mind, the second of these two options is the preferred, but really, I have to agree with LPChip about getting a bigger hard-drive. It sounds facetious, I know, but the fact of the matter is that one of the benefits of using OpenMPT is its speed and its small memory footprint. Compressing the samples will compromise one or both of these benefits.

Of course, I use Kontakt for all my sample playback, so each track I write is only about 250KB in size. I should point out that Kontakt doesn't compress its samples at all...

Offline psishock

  • Extreme artist
  • *****
  • Posts: 1,296
  • Gender: Male
  • Operating System: win8(64)
Import sample (*.ogg, *.mp3)
« Reply #28 on: October 03, 2008, 01:42:53 »
Barry, using the compressed samples while working on the music is out of option imo. I don't mind if the loading speed would increase, like the memory usage also. Thats a normal, in fact i would very much prefer all my samples to be uncompressed and stored in memory after load, while i'm working, for the best speed.

Bare in mind that all these compressions would be a -choice- for people who will have benefits from it, and don't mind the "negative" sides of the process, not forced to every user of course.

I have 2gigs of memory and around 800gigs hdd space, fairly fast processor, so the space requirements does not bother me much also, but if i'm talking about backing up, song/sample management, it would be more better if they would use a lot lesser space. I'm not using any VST sampler, but the OMPT's own. If that would be the case, maybe i would see the situation differently.
I'm as calm as a synth without a player.  (Sam_Zen)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,252
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
Import sample (*.ogg, *.mp3)
« Reply #29 on: October 03, 2008, 09:49:34 »
Quote from: "psishock"
implement any open source method? ::)

Because I at least want modules that can be played with any other mod player as well? I know that you don't use samples and therefore don't care how you modules sound in XMplay or IT, but i do.
» No support, bug reports, feature requests via private messages - they will not be answered. Use the forums and the issue tracker so that everyone can benefit from your post.