Author Topic: 1.18.00.00 "Save as wave" never finishes  (Read 5712 times)

Offline Trancefreak

  • Active artist
  • *
  • Posts: 23
1.18.00.00 "Save as wave" never finishes
« on: April 07, 2010, 00:18:06 »
When I click "save as wave," it starts saving as normal, but when it reaches the end, it keeps on going. For example, a 5 minute song would reach 5 minutes, pass it, and keep going. I click stop, and the wave file turns out to be silent. I can hear the song when I play it using Modplug Tracker. This problem does not happen every time, but I found if it happens for one song, it will happen for another.
I have no sig—wait, what this?

Offline Rakib

  • Crazy artist
  • ****
  • Posts: 880
  • Operating System: win7x64
1.18.00.00 "Save as wave" never finishes
« Reply #1 on: April 07, 2010, 06:18:51 »
Have happened to me several times, but just try it again and it will work again.
^^

Offline jmkz

  • Workaholic artist
  • ***
  • Posts: 194
  • Gender: Male
    • jmkz Productions
  • Operating System: Windows Server 2012 R2
1.18.00.00 "Save as wave" never finishes
« Reply #2 on: April 07, 2010, 07:31:52 »
Check your song, verify the loop points of patterns and the restart pattern in the General tab, that is related with those things at least for me works. I used to add pattern loop events which causes this undesired effects when I render to wav.

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,129
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
1.18.00.00 "Save as wave" never finishes
« Reply #3 on: April 07, 2010, 10:06:28 »
djmakas, that won't help. I don't know why, but somtimes, MPT really just renders an infinite stream of silence. No complicated loop settings are needed, a simple one-pattern module with one note in it will be sufficient. After hitting play + stop, it will render OK again.
» 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 jmkz

  • Workaholic artist
  • ***
  • Posts: 194
  • Gender: Male
    • jmkz Productions
  • Operating System: Windows Server 2012 R2
1.18.00.00 "Save as wave" never finishes
« Reply #4 on: April 08, 2010, 05:28:09 »
Well some things like this happen to me, I am a litlle angry of this weird things, but anyway I dont which other actions I can do to avoid it, like a bug :?: when I open winamp and a song it corrupts the loading of some plugins for not say all.

Offline Harbinger

  • Extreme artist
  • *****
  • Posts: 1,136
  • Gender: Male
  • Operating System: Windows XP
1.18.00.00 "Save as wave" never finishes
« Reply #5 on: April 10, 2010, 17:50:53 »
I agree, it's a "bug" -- it shouldn't happen and we don't want it to happen. It's happened to me several times, and i always thought it was a memory-caching issue. I save the track, restart MPT, and export to wave and it works fine...but it definitely should be looked into at some point. :?

Offline Skaven

  • Workaholic artist
  • ***
  • Posts: 112
    • http://www.mikseri.net/skaven
1.18.00.00 "Save as wave" never finishes
« Reply #6 on: July 07, 2010, 16:52:39 »
I think I have a repro case here... I added an empty pattern to the end of a song, with only Noteoffs in its beginning, so that I could create a seamless loop by mixing the instrument tails to the start of the .wav.

When rendering that song to a wave, I got the endless rendering issue over and over again (restart didn't help). However, when I added a few notes (with zero volume) to the pattern, it rendered to .wav OK.

I'll try to repro it again today.. if it happens again, I can send the song project over for debugging, if you like.

Offline Skaven

  • Workaholic artist
  • ***
  • Posts: 112
    • http://www.mikseri.net/skaven
1.18.00.00 "Save as wave" never finishes
« Reply #7 on: July 07, 2010, 17:12:51 »
Quote from: "Skaven"
I'll try to repro it again today.. if it happens again, I can send the song project over for debugging, if you like.

Couldn't repro it again. :(  Oh well...  (I tried deleting the zero volume notes, then rendering to wav again, but it rendered just fine)

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,129
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
1.18.00.00 "Save as wave" never finishes
« Reply #8 on: July 07, 2010, 17:24:29 »
I'm not even sure if the bug is in the module renderer or if rather MPT files to allocate a mixing buffer or something. When I incorporate the new end of song detection code into the WAV renderer, time will show if it was indeed the module renderer which caused this operation to fail.
» 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 Trancefreak

  • Active artist
  • *
  • Posts: 23
1.18.00.00 "Save as wave" never finishes
« Reply #9 on: July 12, 2010, 23:18:03 »
I think that if I play the song and save it while it's still playing, and reopen the song, the wav will render correctly.
I have no sig—wait, what this?

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,129
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
1.18.00.00 "Save as wave" never finishes
« Reply #10 on: July 26, 2010, 13:22:12 »
While editing a tune, I just noticed that this might have something to do with using the "play row" button, but I couldn't reproduce it so far, so that might be a wrong lead. Can anyone confirm this?
» 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 phanoo

  • Active artist
  • *
  • Posts: 35
1.18.00.00 "Save as wave" never finishes
« Reply #11 on: September 12, 2010, 16:42:06 »
I often have this bug, I don't tried to find how to reproduce it, but I just have to click Play 2 times (sometimes the first click does noting :shock: ) then Stop and Save as Wave will work.
I wonder if this bug appears like when the subwindow of MPT loses focus
Sorry for my approximative english

Offline phanoo

  • Active artist
  • *
  • Posts: 35
1.18.00.00 "Save as wave" never finishes
« Reply #12 on: September 12, 2010, 16:46:10 »
I use a LOT OpenMPT (several hours/day) and it's the only major bug I have, so I think it should be a priority
Sorry for my approximative english

Offline Rakib

  • Crazy artist
  • ****
  • Posts: 880
  • Operating System: win7x64
1.18.00.00 "Save as wave" never finishes
« Reply #13 on: September 12, 2010, 18:07:22 »
I think it is a priority, most of modplug users have had this problem, the only problem is that the bug is not reprodusable.
^^

Offline Saga Musix

  • OpenMPT Developers
  • *****
  • Posts: 6,129
  • aka Jojo
    • Download music, samples, VST plugins: Saga Musix Website
  • Operating System: Windows 7 x64
1.18.00.00 "Save as wave" never finishes
« Reply #14 on: September 12, 2010, 18:09:18 »
In my eyes, a "priority" bug would be something that crashed the program or makes working with it impossible, but not something that can be fixed by using two shortcuts...
» 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.