I have no idea what could be causing this because the resource manager clearly shows that the sound is already in memory.Ģ. There still a ~400-800 ms delay for me upon playing a clip for the first time. Unfortunately, there are still two issues (both exclusive to Windows):ġ.
#Pencil 2d sound not working windows
If this is the issue, then I have started to hack together a possible solution, but I will wait until after v0.6.3 and after we do some more testing to determine if that is the actual issue.Ī follow up on this PR: I have tested this on Windows and it does improve audio playback. The only thing I can think of right now is that maybe the buffer doesn't start to get filled until the playback begins (or it has to refill because of a position seek), which would be much more noticeable on a slower hard drive. I'm leaning towards the latter option right now.
So it could be platform specific (particularly related to the media backend), or could be a difference in system specs. There's only about a 1-2 frame difference in audio synchronization between Pencil2D and the exported video for me. In your video you can tell that the sound is starting somewhere around 12-16 frames later than it should in Pencil2D, but I'm not experiencing that myself.
This is not an issue with the exporter, since the sound is staring in export roughly where it should be. I've looked at the file and there doesn't seem to be anything in particular wrong with it. One option you have is to syncronize your audio in Pencil2D, and then after exporting use a video editor to correct the delay of the audio. This appears to be different from the other audio issues we've encountered so far, so it could be a while before this gets fixed. even if they just imported the sound file, although normally one would at least draw or delete a drawing before trying to quit hehe.Thank you for sharing your file, it is helpful for narrowing down the issue. The second issue, I agree this should be a feature request because importing media should trigger the save flag so Pencil2D can warn the user to save their work. Please have in mind that you can only import WAV and MP3 files, any other file is not currently supported like OGG or AAC (which in due time we should be able to)Īlso, even if you are importing a file that displays as either WAV or MP3, be sure to check it's enconding information, sometimes if WAV files are not properly signed as 16bit audio files, they will not work (just had this issue with Davinci Resolve last week), you should be able to check this information with Audacity, VLCPlayer or even with a video Editor like KDEnlive I too get the following warning when trying to import any other sound to the same "frame"īut this is just a precaution so you don't inadvertedly overwrite your sounds by mistake. I take the same steps you outlined (and edited), and I can import the file and play it normally on the timeline.
HUION GT185 think there's some information that you need to provide such as Nightly Build version and the filetype for the audio sample you are using.Īs for me, I am using Pencil2D September 23rd 2017 build, on Windows 7, I can't reproduce the initial issue. I think this can be preventing by showing the pop-up warning window] -System Information. When adding a new sound layer, and importing a sound file and playing back with it and then decide to close Pencil2D, it will not ask for saving the actual changes and will close immediately. [ANOTHER ISSUE, I rather to have it in just one post: Now go to the Sound Layer and ADD a NEW FRAME : RESULT: A pop-up window will open asking to chose the sound file and it will be imported and now Pencil2D will be able to play it with sound. When hitting the playing button there is no sound. Pencil2D will show a Sound Layer on the time line. Create one and then select the sound file. A pop-up window will ask to "create sound layer". Ready to playback the sound file as soon as it is imported -Steps to reproduce. Importing a sound file will not be correctly imported until a frame is present on its Sound Layer -Expected Results. Sound file will not be added successfully to its Sound Layer until there is at least one frame -Actual Results