BASS.NET API 2.4.18.2

Started by radio42,

radio42

@Ken:
Did the new version 2.3.0.7 sort out your issues with "BASS_GetDeviceDescriptions" and "BASS_GetDeviceCount"?

@TommyB:
Did the new version 2.3.0.7 sort out your "LessDataSend" issue?

@Tr1:
Guess the "Streaming" example should now work fine with the 2.3.0.7 version?!

tr1

Quote from: radio42@Ken:
Did the new version 2.3.0.7 sort out your issues with "BASS_GetDeviceDescriptions" and "BASS_GetDeviceCount"?

@TommyB:
Did the new version 2.3.0.7 sort out your "LessDataSend" issue?

@Tr1:
Guess the "Streaming" example should now work fine with the 2.3.0.7 version?!

Actually, I spoke too soon.

When I unpacked the 2.3.0.7 version, the NetRadio example and Streaming example looked the same...is it me?  The previous version had the tabs for IceCast, StreamCast, etc.

So I reverted to the old example that I had and am now getting a 'BASS_encode_init' error, when I check on the use BASS check box.

Is the example with the tabs for IceCast, SteamCast obsolete?

radio42

I guess it must be you.

I just double checked it and the samples provided with the BASS.NET v2.3.0.7. actually all work fine.
And of course the "NetRadio" example and "Streaming" example are completely different.
And are of course also not obsolete....the tabs SHOUTcast, ICEcast and WMAcast are still there ;-)
And also the UseBASS checkbox works as desired.

The reason why you could face this issue might be, that you might have modified the samples yourself in the meantime. And so the standard windows installer might not correctly overwrite your already modified samples.

So I suggest you:
a) uninstall BASS.NET again from your machine
b) go to the samples directories (e.g. C:\Program Files\BASS\.NET11\Samples) and remove all files!
c) install BASS.NET 2.3.0.7 again

Bow all the sample files should work fine again...

tr1

radio42...yes it was me (and my pals at Microsoft.) 

Programming can be a very humbling experience... :-[


I am still confronted with the 'BASS_Encode_CastInit in DLL 'bassenc.dll'.  I am using version 2.3.0.1 of bassenc.dll.in my bin directory.




radio42

I see:
But you must use the new post-2.3.0.1 BASSenc build.
You can get it here: www.un4seen.com/stuff/bassenc.zip

Ian will be releasing a 2.3.0.2 version of BASSenc soon...which will incorp. tese intermediate changes.

tr1

Quote from: radio42I see:
But you must use the new post-2.3.0.1 BASSenc build.
You can get it here: www.un4seen.com/stuff/bassenc.zip

Ian will be releasing a 2.3.0.2 version of BASSenc soon...which will incorp. tese intermediate changes.


Excellent...it's working!  Thanks!

ken

Quote from: radio42@Ken:
Did the new version 2.3.0.7 sort out your issues with "BASS_GetDeviceDescriptions" and "BASS_GetDeviceCount"?


Yes "BASS_GetDeviceDescriptions" and "BASS_GetDeviceCount"? work as they should now, Thanks!

/Ken

radio42

16.11.2006: Version 2.3.0.8 is out!

Sorry for this quick release, but there was a little bug related to TAG_INFO reading....

BassTags:
- bug-fix in TAG_INFO and UpdateFromMETA when reading UTF-8 tags

BASSWMA 2.3.0.2 support added
- WMA 10 Professional encoding support added (incl. 24-bit support)
- BASS file handling BASS_CONFIG_WMA_BASSFILE (BASS_SetConfig option) added

Misc: EncoderWMA revisited, plus support WMA 10 Pro added (incl. 24-bit)

NOTE: BASSWMA 2.3.0.2 and WMP 10 Pro support is currently not released by Ian...but will be soon, so I already added it here.

big_gun

Hey Radio42, How about that writable Wave() property in the WaveForm and WaveForm2 classes? Is that going to be in a future update?

Thanks,

Rick

radio42

#130
I know, that someone (probably you) already asked this...but I do not remember... ;-)

So please help me out...
What do you mean exactly?
And what for yould it be useful to set a WaveBuffer ?

I mean the "Wave" property is currently ReadOnly, since I guess it would not make sense to assign it...meaning if I would...with what data would you set it from?
And if you set it with an 'illegal', not matching instance...you might break the whole WaveForm...

But may be I oversee a good reason, why I should add a setter to the "Wave" property.
THX


Edit:
I guess it could only be useful, if you want to clone/copy already rendered data to a second instance....however...then it must be a real copy and not only a reference...
So I guess I add that to the next version, which will also come soon I guess, since a couple of newer BASS versions are due ;-)

big_gun

Yeah, I wanted to save the wave data to the database, and pass it back to the waveform class. Instead of saving to disk, then reading then writing then reading back into the class.

Rick

radio42

#132
That's what I was missing...oki..I'll add it to the next release:

. WaveForm.Wave property will supports a setter.
. WaveFormLoadFromMemory and WaveFormSaveToMemory will be added (using a byte[]).

ken

Save/load waveform as byte[] is a welcome feature, I will use that!

Thanks!

ken

I just downloaded the "2.3.0.8", but the DLL is "2.3.0.7" ??  .NET 2.0

/Ken

radio42

Gooosh! That's right!
It indeed says 2.3.0.7. instead of 2.3.0.9 !
However, it is the correct and even the newer library - it is just, that it looks, that I must have forgotton to tag it to the correct version number.

radio42

I just uploaded the corrected BASS23.Net20 version 2.3.0.8 !
The only change is, that now the correct version number 2.3.0.8. is used and reported.

radio42

Here is an update to try (it's a pre 2.3.0.9 version):

.Net 1.1. build : http://www.un4seen.com/filez/4/Bass23.Net11_update.zip
.Net 2.0 build : http://www.un4seen.com/filez/4/Bass23.Net20_update.zip


What's new:
Misc.WaveForm: the Wave property now supports a setter.
- new  WaveFormLoadFromMemory and WaveFormSaveToMemory added.
- new GetMarker, GetMarkers and GetMarkerCount method added
- new GetCuePoints methods added (silence detection)
- bug-fix in CreateBitmap when drawing markers and SyncPlayback was used 

BassTAG: support for even reading older ID3v2.2.0 added
- so far ID3v2.4.0 and ID3v2.3.0 had been supported

BassAsio 1.0.0.0 final support added
- new BASS_ASIO_ChannelEnableMirror method added
- new BASS_ASIO_ChannelSetVolume method added
- new BASS_ASIO_ChannelGetVolume method added
- BassAsioHandler class enhanced:
   . new methods SetMirror,  RemoveMirror and PauseMirror added
   . new properties Volume, VolumeMirror, Pan and PanMirror added 


The 2.3.0.9 final will come soon, including:
Midi: new namespace Ten53.Multimedia.Midi added
- new Midi class covering Midi communication via the Win32 Multimedia API (winmm.dll)
- new MidiInputDevice and MidiOutputDevice class for sending/receiving any MIDI command/message
- new MidiShortMessage class supporting constucting and or unpacking any Midi data message
- native support for system-exclusive messages
Samles adjusted:
- Simple now shows the new WaveForm.GetCuePoints
- AsioRecording now shows the BassAsioHandler.SetMirror

ken

nice...

Is there a property where I can get if a MP3 file is encoded in CBR or VBR (contant/variable bitrate)? If not can it be added?

/Ken

radio42

Where should it be added? to the Tags?
Nop - not that I know.