Author Topic: BASS_FX and Multiple Speaker  (Read 5537 times)

albertos

  • Posts: 29
BASS_FX and Multiple Speaker
« on: 12 May '03 - 02:18 »
is it possible to have a stream "passing" through BASS_FX and then played in FRONT speakers???

i used this...

Code: [Select]

STRM = BASS_StreamCreateFile(BASSFALSE, sFilename, 0, 0, BASS_SPEAKER_FRONT + BASS_STREAM_DECODE)
...
...
...
BASS_StreamPlay BASS_FX_PitchGetResampledHandle(STRM), BASSFALSE, 0


it plays both on front and back speakers. before i used BASS_FX, it worked just fine... any ideas?

VB sp5,WinXP Pro, SB Live 5.1,DX 8.1

(: JOBnik! :)

  • Posts: 1080
Re: BASS_FX and Multiple Speaker
« Reply #1 on: 12 May '03 - 07:26 »
Hi ;D

I'm not sure, I'll take a look, but for now, you should change '+' with 'Or' :)

STRM = BASS_StreamCreateFile(BASSFALSE, sFilename, 0, 0, BASS_SPEAKER_FRONT Or BASS_STREAM_DECODE)

Have fun!

8) JOBnik! 8)
« Last Edit: 12 May '03 - 07:28 by JOBnik »

albertos

  • Posts: 29
Re: BASS_FX and Multiple Speaker
« Reply #2 on: 12 May '03 - 10:13 »
hmmmm.... seems that its more complicated than i first thought. In BASS manual says that when a channel is decoded, the flag SPEAKER_xxxx is ommited.

PS. "Or" didn't work (expected)

Ian @ un4seen

  • Administrator
  • Posts: 26222
Re: BASS_FX and Multiple Speaker
« Reply #3 on: 12 May '03 - 17:14 »
Quote
hmmmm.... seems that its more complicated than i first thought. In BASS manual says that when a channel is decoded, the flag SPEAKER_xxxx is ommited.

Yep. The SPEAKER flags determine which speaker(s) the channel is played on, but decoding channels are not played, so the SPEAKER flags don't apply.

What you need is to be able to pass the SPEAKER flags to the BASS_FX function, to use when it creates the stream that actually plays the data from your decoding channel. Should be simple for Jobby to add that option :)

albertos

  • Posts: 29
Re: BASS_FX and Multiple Speaker
« Reply #4 on: 12 May '03 - 19:35 »
thnks in advance...

(: JOBnik! :)

  • Posts: 1080
Re: BASS_FX and Multiple Speaker
« Reply #5 on: 12 May '03 - 20:08 »
Hi ;D

Sure no problem ;D

I actually removed all the BASS_FX_Pitch... functions, and there're new ones BASS_FX_Tempo...

I'll just add there a - flags - parameter and it will be just fine :)

* If you want I could send you a TEMPO example to play with?  :idea:

Have fun!

8) JOBnik! 8)

albertos

  • Posts: 29
Re: BASS_FX and Multiple Speaker
« Reply #6 on: 13 May '03 - 00:40 »
sure why not...

albertos@softhome.net

(: JOBnik! :)

  • Posts: 1080
Re: BASS_FX and Multiple Speaker
« Reply #7 on: 14 May '03 - 08:55 »
Hi ;D

I'll just make some more improvements in BASS_FX and will send it to you at weekend :)

Have fun!

8) JOBnik! 8)

Chris

  • Posts: 2221
Re: BASS_FX and Multiple Speaker
« Reply #8 on: 14 May '03 - 17:22 »
@ JOBnik
interesting
please can you sent me too the new Bass_FX 1.2 ???
Thanks
Chris

dj-chris.t@gmx.de
« Last Edit: 14 May '03 - 17:23 by Chris »

little_jay

  • Posts: 15
Re: BASS_FX and Multiple Speaker
« Reply #9 on: 15 May '03 - 16:15 »
How about a public 1.2beta?

(: JOBnik! :)

  • Posts: 1080
Re: BASS_FX and Multiple Speaker
« Reply #10 on: 18 May '03 - 21:30 »
Hi ;D

I'll take your advice and hope to release the BASS_FX v1.2 (beta) very soon :)

Have fun!

8) JOBnik! 8)