Autor Beitrag
Darnus
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mo 23.10.06 12:20 
Habe einen equilizer da ssind die werte etwas falsch .. oben ist ein niedriger wert unten der höchste! Also oben leise unten laut! Wie mache ich das es normal ist also Oben laut und unten leise?

THX
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Mo 23.10.06 12:25 
Also 1. heißt das Ding Equalizer und 2. musst du uns schon sagen, was und woher du diesen Equalizer hast. Ist das eine Komponente? Ist das eine Unit? Link?

Meine Glaskugel ist gestern ausm Fenster gefallen...

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 23.10.06 12:26 
inversion geht so:
ausblenden Delphi-Quelltext
1:
  wert := maxwert - jetziger wert;					


mfg
Darnus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mo 23.10.06 13:26 
Eine ganz normale Trackbar via Delphi... volumen Steuern damit sonst nix!
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Mo 23.10.06 13:48 
ja die lösung hast du ja jetzt ;)
Darnus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Di 24.10.06 13:07 
Joa habe es verstanden Der zieht beim regeln von der max position was ab und "wert" gibt er weiter an BassDllPlayer.Volume als ergebnis functioniert auch.

ich habe nun so gemacht:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.TrackBar12Change(Sender: TObject);
var wert:integer;
begin
wert:= Trackbar12.Max - Trackbar12.Position;
BassdllPlayer1.Volume := wert;
end;


THX!
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Di 24.10.06 13:10 
aber das ist dann ja kein equalizer, sondern ein volume regler :?
Darnus Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Di 24.10.06 20:53 
RichtiG!
Jetzt brauche ich das nochmal für den EQ

habe das mal mit einen regler vom EQ gemacht:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
Bar1:=trackbar1.Max -trackbar1.Position;
 if CheckBox1.Checked then
 BassdllPlayer1.UpdateEQ(
 bar1,
 trackbar2.Position,
 trackbar3.Position,
 trackbar4.Position,
 trackbar5.Position,
 trackbar6.Position,
 trackbar7.Position,
 trackbar8.Position,
 trackbar9.Position,
 trackbar10.Position);


geht nicht daher wieder so:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
if CheckBox1.Checked then
 BassdllPlayer1.UpdateEQ(
 trackbar1.Position,
 trackbar2.Position,
 trackbar3.Position,
 trackbar4.Position,
 trackbar5.Position,
 trackbar6.Position,
 trackbar7.Position,
 trackbar8.Position,
 trackbar9.Position,
 trackbar10.Position);


Kann mir jemand helfen???
Mister X-Ray
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41

Win XP, Win 2000
D7 Pers, D2005 Pers
BeitragVerfasst: So 29.10.06 12:39 
du musst das umkehren bei allen trackbars machen, nicht nur bei einer ...

Gruß
Mister X-Ray

_________________
Wissen ist Macht, aber nichts wissen macht nichts !