BASS Online Transmission

Started by Creadig,

Creadig

How can i do to transmit an audio file via online ussing BASS library??? anybody can help me??? iam using VB 6.0 for making an radio automation software.

Olego

I believe Wombat was working on this project a while ago, or something similar...  Are you still around, Jennifer?

~Olego~

Smayds

I was looking at implementing this with my own TCP drivers a while back. I had some success, with the mixed output of a bunch of sounds being ADPCM'd (ugh!) and sent down the network. But this was about three years ago, long, long before I started using Bass.

My current project needs this too, but I'm not due to start work on this part for a while (it's a radio automation package, heh... seems every second coder is writing one nowadays).

You'd definately want to pipe the data off to a streaming server, rather than directly to several PC's. Perhaps it could be done with Windows Media Encoder? This has the option to encode to a server, and so, could it be done with Bass_WMA? I don't use WMA's myself (the cornerstone of the playback part of a good radio package is the ability to seek to a specified part of a track quicker than a hamster full of caffeine can twitch, and WMA is terrible at seeking, being a streaming-based format, so I've never used Bass_WMA), but perhaps it may not be too hard for Ian & Co. to put this feature in (forgive my ignorance... I THINK that Bass_WMA encodes as well).

-Ayden

Trekkan

#3
This is something I'm working on as well, I think mostly for the fact that there isn't any decent radio station software out there.  I've already completed the server side(not replacing shoutcast, but the DJ->Custom Server).  This allows for all sorts of fun stuff.

Anyway now I am working on the DJ streaming aspect of things to eliminate the need for winamp and the shoutcast DSP.  I'm close as I have it signing in, sending the ICY data and starting the MP3 stream.  Currently I'm working out some blocking problems on the MP3 stream socket though, been pulling my hair out about this one.  But... eventually I'll get it.

I haven't even gotten to the point of using BASS yet though.  I was looking at another package that does pretty much what BASS does, but I didn't get as good of a feel from the website and forums as I have here with BASS.  

Well, I just wanted to add in that there are people attempting this, so hopefully once one of us gets things completed we can help the others.  I'm using a custom sockets library though so my code will only be paritially useful whenever I can get this blocking problem worked out. (Didn't wanna give anyone that might be reading this any high hopes).

Ohh, I forgot, I spoke with Wombat and she is no longer using shoutcast and whatnot, but was going to look and see what she could find of old code.  It's in C though, which I'm no good at, but I just need the specs really.

cab0San

If anyone is interested, I have a working prototype broadcast tool.  I wrote it to replace shoutcast+winamp(server side). I have tested it with winamp and WMP8 on XP pro. The playback engine is written in VB.NET ,and the song management is written in  MSAccess for the time being.
It's all free- I just wrote it for myself and a few friends.
I would be happy to share!

It includes some of the following features:
-ADO based database (could be SQL or any other ADO compatible db) It's in MSAccess now.
-Playlist creation including number of rotations in set, and random or sequential play. (MSAccess Based)
-The database is set up to handle requests, but there's no UI for this yet (should be a simple ASP app)
-Song import to db, with id3 v1 tags
-Popular song processing- the system remebers what was requested, and plays it every x songs, depending on your settings
-EQ
-Logging to text file + event log

http://www.eyelevelfiles.com/rocketsauceRadio/

I still have to complete the song management , and the web request interface + a few other minor issues.

Anyway, I'm a newbie, but if you're interested, check it out.