Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
Playback Speed.

wampir
Guest
Quote
2009-01-25 21:55:38

hello. i use c# and irrKlang (Dot.NET 2.0). and i have problem with playback speed. i have one slider (max: 100; min: -100) actual value 0. i put a code i my cs file:

private void faderleftvol(object sender, RoutedEventArgs e)
        {
            if (currentlyPlayingSound != null)
            {
                currentlyPlayingSound.PlaybackSpeed = (float)faderleft.Value / 100f;
            }
        }

pitch doesnt work good. when i move to up (+) song speed is very very fast even i change value for 1. when i move to down (-) song speed doesnt change even i change slider value to -100. can anybody help me?


niko
Moderator
Quote
2009-01-26 17:37:47

The playback speed may not be negative, that's one problem. And I think the playbackspeed only may have values between 0 and something like 5


wampir
Guest
Quote
2009-01-26 23:36:30

hmmmm... maybe you fix this "problem" in next release? ;) you know.. pitch should be +10/-10 ;) thanks for your request


niko
Moderator
Quote
2009-01-27 16:21:46

What problem? Pitch is between -1.0 and 1.0, not -10 and +10.


ero
Guest
Quote
2009-01-27 16:31:48

aaaaaaaa... :D now is ok :) thanks.


cal
Registered User
Quote
2009-01-27 16:32:14

lol


ero
Guest
Quote
2009-01-27 16:50:03

pitch is <0;2> if value is <1 sound playing slowly if 1> sound playing faster. it is no 1;-1


Thomas
Guest
Quote
2020-08-20 23:15:52

Lol


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inter?ational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact