Autor Beitrag
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: Sa 28.05.05 16:32 
Hallo,

ich lasse mit mit Hilfe der Bass.dll die Frequenzen eines Songs ausgeben.
Das Problem ist, dass durch (schätzungweiße) Störgeräusche, die Frequenzen immer anders sind.

ausblenden onClick
1:
2:
Channel := BASS_StreamCreateFile(FALSE, PChar('C:\Test.mp3'), 0, 0, 0);
BASS_ChannelPlay(Channel, False);


ausblenden onTimer
1:
BASS_ChannelGetData(Channel, @FFTData, BASS_DATA_FFT1024);					


Sind das Störgeräusche, die die Frequenzen jedes mal anders sein lassen?
Kann ich die Störgeräusche entfernen, unterdrücken, etc?

Danke schonmal.

Moderiert von user profile iconChristian S.: Delphi-Tags angepasst

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

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 28.05.05 16:39 
Versuch mal das Flag für die DirectX8 effekte zu sezten, vllcht gehts dann

_________________
Programmers never die, they just GOSUB without RETURN
GTA-Place Threadstarter
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: Sa 28.05.05 16:45 
Wo soll ich das setzen?

@Christian: Sry :oops:

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

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Sa 28.05.05 16:52 
bei Bass_StreamCreateFile
schau nochmal in der Bass Hilfe nach dem Namen des Flags nach

_________________
Programmers never die, they just GOSUB without RETURN
GTA-Place Threadstarter
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: Sa 28.05.05 16:58 
Zitat:
BASS_SAMPLE_FX
Enable the old implementation of DirectX 8 effects. See the DX8 effect implementations section for details. Use BASS_ChannelSetFX to add effects to the stream.


Wenn du das meinst, dann hats nichts gebracht...

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
GTA-Place Threadstarter
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: Sa 28.05.05 17:21 
Mit folgendem Flag hör ich zwar nix mehr, aber es bleibt immer gleich:
ausblenden Delphi-Quelltext
1:
BASS_STREAM_DECODE					

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)