Jump to content


Photo

BASS SOUND-VIDEO ENGINE ( BASS WRAPER ) Ver 2.0


  • Please log in to reply
67 replies to this topic

#61 Germel

Germel

    GMC Member

  • GMC Member
  • 51 posts

Posted 14 September 2012 - 03:10 PM

Hey there. I have no idea if this topic is still active but i will try it anyway...

I want to use the internet radio but i keep having an error: at position 10 unkown function or script: play_radio
It doesnt recognize play_radio in Object1 > Left pressed > execute piece of code.

All this in file: net-RADIO

How can i figure out which is the correct line so i will be able to use it? Im using GM8
  • 0

#62 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 15 September 2012 - 07:40 AM

Hey there. I have no idea if this topic is still active but i will try it anyway...

I want to use the internet radio but i keep having an error: at position 10 unkown function or script: play_radio
It doesnt recognize play_radio in Object1 > Left pressed > execute piece of code.

All this in file: net-RADIO

How can i figure out which is the correct line so i will be able to use it? Im using GM8


:)
I forgot to put that script...
worst thing is that I Haven't original,,, but try next
make script "play_radio"
put inside next
radio=GM_BASS_StreamCreateURL(argument0,0,10); //please see all posibiities provided in GM_BASS_StreamCreateURL script... In every script you have specific help.
return GM_BASS_ChannelPlay(radio,1);
// or if you wana message if work then code  --> show_message(string(radio));

that will be all... Of course you can involve many others possibilities , for that please read provided help file..,,,
Almost all comand are same ( just include GM_ before original help command)

Please tell me if work in this way :(

P.S.
The command StreamCreateURL do NOT exists in provided help... I was created separately due GM call limitation...

So, now we have 2 similar commands from one original BASS_StreamCreate we have now GM_BASS_StreamCreateURL and GM_BASS_StreamCreate... Please read inside scripts help for each...

Edited by zmaj, 18 September 2012 - 08:10 PM.

  • 0

#63 Germel

Germel

    GMC Member

  • GMC Member
  • 51 posts

Posted 23 September 2012 - 07:33 PM


Hey there. I have no idea if this topic is still active but i will try it anyway...

I want to use the internet radio but i keep having an error: at position 10 unkown function or script: play_radio
It doesnt recognize play_radio in Object1 > Left pressed > execute piece of code.

All this in file: net-RADIO

How can i figure out which is the correct line so i will be able to use it? Im using GM8


:)
I forgot to put that script...
worst thing is that I Haven't original,,, but try next
make script "play_radio"
put inside next
radio=GM_BASS_StreamCreateURL(argument0,0,10); //please see all posibiities provided in GM_BASS_StreamCreateURL script... In every script you have specific help.
return GM_BASS_ChannelPlay(radio,1);
// or if you wana message if work then code  --> show_message(string(radio));

that will be all... Of course you can involve many others possibilities , for that please read provided help file..,,,
Almost all comand are same ( just include GM_ before original help command)

Please tell me if work in this way :(

P.S.
The command StreamCreateURL do NOT exists in provided help... I was created separately due GM call limitation...

So, now we have 2 similar commands from one original BASS_StreamCreate we have now GM_BASS_StreamCreateURL and GM_BASS_StreamCreate... Please read inside scripts help for each...



Thank zou verz much for the provided help. It works with your script now however, i am having trouble with stopping a radio station when another is selected, but i will search the help files for that matter.

Tank you very much :biggrin:
  • 0

#64 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 23 September 2012 - 11:16 PM

huh,,,
For Stop use GM_BASS_Stop() command...
in this case you will flush current song ( do not use pause, cose that haven't sense :) )

Tnx for report...
zmmaj
  • 0

#65 Germel

Germel

    GMC Member

  • GMC Member
  • 51 posts

Posted 25 September 2012 - 12:00 PM

huh,,,
For Stop use GM_BASS_Stop() command...
in this case you will flush current song ( do not use pause, cose that haven't sense :) )

Tnx for report...
zmmaj



Thank you for your help :thumbsup:
  • 0

#66 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 25 September 2012 - 07:52 PM

no prob man. :)
Does any of you can make some examples for rest of community?
I was make one app with this dll...
you can download trial app from this address
radio-recorder

But will be nice if you make some open source examples. :)

tnx for your time..
zmmaj
  • 0

#67 Ampersand

Ampersand

    Greatest boolean of all

  • New Member
  • 796 posts

Posted 14 October 2012 - 09:33 PM

I'm interested in using this to make a media player.  Is there any way to actually embed video within the GM window?  Or to draw on top of the BASS video window?
  • 0

#68 zmaj

zmaj

    GMC Member

  • GMC Member
  • 323 posts

Posted 14 October 2012 - 10:04 PM

I'm interested in using this to make a media player. Is there any way to actually embed video within the GM window? Or to draw on top of the BASS video window?


Of course...
See DVD Example.... That is NOT player only for VOB files.. :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users