Page MenuHome

Audio does not Scrub, plays fully instead
Closed, ResolvedPublic

Description

--- Operating System, Graphics card ---
Mac Pro, Early 2008
OSX Mavericks 10.9
NVIDIA GeForce GTX 680 2GB RAM

Also occurs on MacBookPro, Mid-2010, OSX Mavericks 10.9 with a NVIDIA GeForce 330M

--- Blender version with error, and version that worked ---
Blender 2.68, Blender 2.69
Seems to be broken on all Blender versions

--- Short description of error ---
Attempting to scrub audio will play the entire audio file. Note that this does not play the animation, but if you were to hit Alt+A you would see the Timeline pointer stop further down the Timeline.

--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
1. In VSE, Add a Sound file
2. In Timeline, make sure Playback>Audio Scrubbing is checked on
3. Scrub the frames the sound file covers. Audio will play instead of scrubbing.
4. While the audio is playing (remember you are just scrubbing) hit Alt+A and you'll notice the Timeline pointer has moved farther down

I attached nonstop_audio.blend
Simply try and scrub the timeline in an OSX Mavericks environment and you should hear the problem.

Event Timeline

Cannot confirm that on Linux (Debian64 testing), here it works OK. Any Mac user to confirm the issue?

I had one other:
http://blenderartists.org/forum/showthread.php?316492-Blender-animators-beware-of-Mavericks

I have a MacBook Pro (2011 I think) and I have this exact same issue, but only after I installed OSX Mavericks.

Spent sometime on #blendercoders with jensverwiebe and found a possible workaround:
File> User Preferences. Go to System Tab, change 'Sound' to SDL.
or using OpenAL, change Mixing Buffer to 512

"The new OpenAL audio backend timestretches audio so it doesn't stutter"

Jens Verwiebe and I hunted the bug for 5 hours, thanks Jens! Fixed in revision 61196. Closing.

Joerg Mueller (nexyon) closed this task as Resolved.Nov 8 2013, 12:41 AM

Please open this bug again, because I can confirm this bug on my system too.
With the installation of the new OS Maverick 10.9.2 all my Blender versions have this problem, from 2.5 till 2.69.

I add a MP3 or WAV File (tried both) and set up playback with audio scrubbing only. When I click on the timeline the sound starts to play and does not stop anymore. The play Icon is still inactive. In order to stop it I click once on play then again on stop.

Anyway I tried the workaround and finally it works. But maybe then SDL should be set up as default?

@Peter Lux (LuxusPeter) I’m not 100% sure, but I’d bet r61196 is after 2.69 release. Please test with latest 2.70RC1 (or a build from http://builder.blender.org/download).

Hi mont29,

I've tried today 2.70 and the same problem appeared.

Additionally in 2.70 the textures are not visible in the viewport and in the rendered image too.
Are 2.69 and 2.70 not compatible?

But with the workaround I can work.

@Joerg Mueller (nexyon) or @jens verwiebe (jensverwiebe), can you please try to reproduce again?

@Peter Lux (LuxusPeter):

Additionally in 2.70 the textures are not visible in the viewport and in the rendered image too.
Are 2.69 and 2.70 not compatible?

Eeeh… this sounds like a whole other thing, please open a new report with precise info about it (OS, GPU, demo file...).

I retested with 2.70RC1 on OSX 10.9.2 and cannot reproduce the issue.
As i participated in fixing, i 'am 100% sure this cannot happen animore,
since we fixed a "buffer-looping" issue.

This bug including missing textures must be a complete different thing.
Please check over your setup.

Jens

I hope this commit will fix the problem. Maybe you can try it by building your own build? Otherwise you'll probably have to wait for 2.71 or it might get added to the final release of 2.70 in case there are more RCs.

Joerg Mueller (nexyon) edited this Maniphest Task.May 12 2014, 4:43 PM