Author Topic: BASS.NET API 2.4.17.5  (Read 1128131 times)

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.7 !
« Reply #125 on: 14 Nov '06 - 16:16 »
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

  • Posts: 12
Re: BASS .NET API 2.3.0.7 !
« Reply #126 on: 14 Nov '06 - 16:45 »
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.


Excellent...it's working!  Thanks!

ken

  • Posts: 752
Re: BASS .NET API 2.3.0.7 !
« Reply #127 on: 14 Nov '06 - 17:41 »
@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

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #128 on: 16 Nov '06 - 00:47 »
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

  • Posts: 353
Re: BASS .NET API 2.3.0.8 !
« Reply #129 on: 16 Nov '06 - 00:49 »
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

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #130 on: 16 Nov '06 - 11:06 »
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 ;-)
« Last Edit: 16 Nov '06 - 11:50 by radio42 »

big_gun

  • Posts: 353
Re: BASS .NET API 2.3.0.8 !
« Reply #131 on: 16 Nov '06 - 16:25 »
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

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #132 on: 16 Nov '06 - 18:42 »
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[]).
« Last Edit: 16 Nov '06 - 19:46 by radio42 »

ken

  • Posts: 752
Re: BASS .NET API 2.3.0.8 !
« Reply #133 on: 16 Nov '06 - 21:11 »
Save/load waveform as byte[] is a welcome feature, I will use that!

Thanks!

ken

  • Posts: 752
Re: BASS .NET API 2.3.0.8 !
« Reply #134 on: 19 Nov '06 - 22:08 »
I just downloaded the "2.3.0.8", but the DLL is "2.3.0.7" ??  .NET 2.0

/Ken

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #135 on: 20 Nov '06 - 10:37 »
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

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #136 on: 20 Nov '06 - 19:11 »
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

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #137 on: 3 Dec '06 - 10:02 »
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

  • Posts: 752
Re: BASS .NET API 2.3.0.8 !
« Reply #138 on: 3 Dec '06 - 14:36 »
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

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #139 on: 3 Dec '06 - 18:49 »
Where should it be added? to the Tags?
Nop - not that I know.

ken

  • Posts: 752
Re: BASS .NET API 2.3.0.8 !
« Reply #140 on: 4 Dec '06 - 09:49 »
Tag's why not. A nice feature to tags would be info of the audiofile like freq, bitrate, cbr/vbr, type (PCM/MP3/VOB...) and so on.  I know most of them is in BASS_CHANNELINFO, but have all in on function would be grat, just set the filename and get back a class with all tags and file info.  Or?

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #141 on: 4 Dec '06 - 13:04 »
Adding the "BASS_CHANNELINFO" struct to the TAG_INFO class would theoretically be possible.

But regarding the VBR info I guess that's not possible, since the only way to get that info is to check every frame header of the file...which I am not going to implement ;-)

ken

  • Posts: 752
Re: BASS .NET API 2.3.0.8 !
« Reply #142 on: 4 Dec '06 - 16:55 »
I wonder how WinAmp get if it is a CBR or VBR file:

Looks like this if it's a VBR (in WinAmp info), and the "bitrate" label change all the time:

Quote
Size: 4302848 bytes
Header found at: 273 bytes
Encoder Delay: 576, Zero Padding: 2256
Length: 215 seconds
MPEG-1 layer 3
160kbit (VBR), 8261 frames
44100Hz Joint Stereo
CRCs: No, Copyrighted: No
Original: Yes, Emphasis: None

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.8 !
« Reply #143 on: 4 Dec '06 - 20:37 »
It is an old issue here.
BASS does investigate all the MP3 frames...so BASS could know (like Winamp), but unfortunately this info is dropped in BASS...do a little search in the forum...and you'll find some solutions.

However, this is definitly not a BASS.NET issue, since it wouldn't make sense for BASS.NET to read all the MP3 audio frame again...just to get this info... ;-)

Regarding the TAG_INFO stuff.
The next version will get additional members in the TAG_INFO struct:
- albumartist
- bpm
- channelinfo (like you requested)

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.9 !
« Reply #144 on: 8 Dec '06 - 12:21 »
08.12.2006: Version 2.3.0.9 is out!

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
- TAG_INFO structure enhanced by: albumartist, bpm and channelinfo   

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 

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

Utils: 32/64-bit bug-fix in DMAZeroMemory, DMACopyMemory, DMAMoveMemory, DMAFillMemory

Samles adjusted:
- Simple now shows the new WaveForm.GetCuePoints
- PlugInbug-fix
- AsioRecording now shows the BassAsioHandler.SetMirror
- new MidiDevices sample added

Here are the full versions (including all help systems and samples):
- Bass23.Net11.zip
- Bass23.Net20.zip

Here are two compact versions (if you don't want the full installer version - only recommended for pro-users!)
- Bass23.Net11_compact.zip
- Bass23.Net20_compact.zip

Renegade

  • Posts: 160
Re: BASS .NET API 2.3.0.9 !
« Reply #145 on: 10 Dec '06 - 05:32 »
Does anyone know where I can download BASS.NET v2.2.0.14 for .NET v2.0?

Thanks

radio42

  • Posts: 4839

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.9 !
« Reply #147 on: 20 Dec '06 - 21:59 »
Here comes a little update to the v2.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

Make sure to copy the included files to your install directory! 
 
Fix:
- BassMidi.BASS_MIDI_StreamGetMarks was not returning the correct markers!

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.9 !
« Reply #148 on: 23 Dec '06 - 20:29 »
Here comes a new little update to the v2.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

Make sure to copy the included files to your install directory! 
 
Fix II:
- BassMidi.BASS_MIDI_StreamGetMarks still sometimes causes a crash!
 

 

radio42

  • Posts: 4839
Re: BASS .NET API 2.3.0.9 !
« Reply #149 on: 3 Jan '07 - 20:09 »
Here comes a new little update to the v2.3.0.9 version:

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

Make sure to copy the included files to your install directory! 
 
Fix III:
- Windows Vista compatibility build!
- A few small internal issues have been resolved mostly with the xxxGetInfo methods.
- This was due to a different marshaling behaviour of .Net 2.0 and .Net 3.0 under Windows Vista!