AudioPlayer.setup

Permalink Browser Info Environment
hi, on the wpaudioplayer site they talk about configuration:

<script type="text/javascript">  
    AudioPlayer.setup("http://yoursite.com/path/to/player.swf", {  
        width: 290,  
        initialvolume: 100,  
        transparentpagebg: "yes",  
        left: "000000",  
        lefticon: "FFFFFF"  
    });  
</script>


I was interested in the initialvolume setting. By default it is 60 I need to be at 100. I there a place to add that setting?
Thanks

Type: Discussion
Status: New
pvernaglia
View Replies:
jameshuckle replied on at Permalink Reply
jameshuckle
I may add this in as a configurable option later but a 'default' volume setting seems academic.

As a matter of interest, why must the player be set at full volume for you?
pvernaglia replied on at Permalink Reply
pvernaglia
I'm re-designing a site for a group called Plangent Processes, they restore old audio recordings. They do a lot of work in the film and music industry. Big stuff, like the Close Enounters of the Third Kind blue ray release, the Grateful Dead catalog, etc.

They are very particular about audio and want the default volume maxed to be sure there's no decimation errors due to reduced volume at the codec. (multiplying by some scaling factors sounds bad).

I just want to deliver what they ask for, the clients always right!

Something else they are asking for is a scrub bar on the player. Any possibility of adding something like that? I didn't see that option in the wp docs.

Thanks

Peter
weblicating.com
jameshuckle replied on at Permalink Reply
jameshuckle
I'm not sure that increasing the volume of the player will affect how the recording sounds - isn't this more to do with how the file was encoded in the first place?

Anyway, you could change the viewing php file to set '&initialvolume=100' in the Flash Vars. Use a '&' to concatonate vars in the usual way.

The player doesnt have a scrub bar as far as I know. You could check the Nightingale player used on freesound.org. The complication with that one is that it requires both a waveform and spectograph to present properly, both of these tricky in PHP. The freesound.org project uses Python. I have integrated this one with SilverStripe (but removed subsequently in favour of the WordPress Audio Player) but the Python rendering is done 'offline'.

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.