23 May '13 - 20:35 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  Developments / BASS / GetNormalizationGain in bass.net on: 15 Aug '08 - 23:44
I am trying to use this function, but it seems to be a member of the utils object, but not a static member.
Utils does not have a constructor that I can find either.
Is this a bug that it is not marked as static?
ReplyReply Reply with quoteQuote
2  Developments / BASS / 64 bit version on: 25 Jul '08 - 14:11
I see on here there is discussion about a 64 bit version of the dll's.
I can't find anyplace to get them from the website (maybe I just missed it).
Anyone know where to find them?

Also, are each of the add-on's available in 64 bit?
ReplyReply Reply with quoteQuote
3  Developments / BASS / Re: BASS.NET API 2.4.1.2 on: 24 Jul '08 - 15:40
Question on the EncoderLame class.
I am wondering why the -x is added to the command prompt automatically.
Using that option, my files come out very bad.
Removing that option (cut and pasting the command line, and running myself), it sounds fine.

I am simply trying to encode a wav file to an mp3.
I cant just use LAME, because my WAV file is in CCITT encoding, and LAME doesnt seem to support that native.
But, I can open it using Bass, then feed it to the encoder, and it seems to work fine.
Also, in the future, I would love to add in wma support.
ReplyReply Reply with quoteQuote
4  Developments / BASS / Transcoding one WMA to another WMA on: 4 Feb '08 - 19:09
I am trying to read in one WMA file, 44.1, stereo, 16 bit, 114kbps Bit Rate.
I want to encode that file out as a WMA, 22.05, mono, 16 bit, 20 k bit rate.
I have the following code working, but it outputs a file that is really slow, and 4 times the length of the original.  The settings on the file are correct at 22.05, 20k, etc.

I thought the BASS_ChannelGetData would return me RAW PCM, and then the BASS_WMA_EncodeWrite would be able to encode that.  But maybe that assumption is incorrect.

Any help would be great.

Bass.BASS_Init(0,44100,BASSInit.BASS_DEVICE_DEFAULT, 0, null);
_WMstream = BassWma.BASS_WMA_StreamCreateFile(inputFile, 0, 0, BASSStream.BASS_STREAM_DECODE);
int channels = 1;
_EncoderStream = BassWma.BASS_WMA_EncodeOpenFile(Frequency, channels, BASSWMAEncode.BASS_WMA_ENCODE_DEFAULT, Bitrate, outputFile);
fileLength=Bass.BASS_ChannelGetLength(_WMstream);
float seconds=Bass.BASS_ChannelBytes2Seconds(_WMstream,fileLength);
byte[] tempArray=new byte[20000];
while((Bass.BASS_ChannelIsActive(_WMstream)==(int)BASSActive.BASS_ACTIVE_PLAYING)  && !cancelling)
{
int temp=Bass.BASS_ChannelGetData(_WMstream,tempArray,20000);
currentPosition=Bass.BASS_ChannelGetPosition(_WMstream);

if (!BassWma.BASS_WMA_EncodeWrite(_EncoderStream, tempArray, 20000))
{
// there was some sort of error
}

int currentPercentCompute=(int)(((float)currentPosition/(float)fileLength)*100);
if(percentComplete!=currentPercentCompute)
{
// update display }
}
}

BassWma.BASS_WMA_EncodeClose(_EncoderStream);
BassEnc.BASS_Encode_Stop(_WMstream);
Bass.BASS_Free();
ReplyReply Reply with quoteQuote
5  Developments / MO3 / LAME 3.96.1 on: 21 Nov '05 - 03:27
The link on this page does not seem to be working.

http://www.un4seen.com/mo3.html

I know it is a lonk off to another website.
ReplyReply Reply with quoteQuote
6  Developments / BASS / Re: BASS_CONFIG_WMA_PREBUF not working on: 10 Nov '05 - 18:17
Also, to update my first post.
The version of Bass.Net.dll I am running is actually 2.2.0.3
ReplyReply Reply with quoteQuote
7  Developments / BASS / Re: BASS_CONFIG_WMA_PREBUF not working on: 10 Nov '05 - 18:15
Well, according to the latest documentation, I thought the PreBuffer stuff had been fixed to work with WMA.

--------------------------------------------------------------
From the BASSWMA documentation 2.2
--------------------------------------------------------------
The Windows Media modules must prebuffer a stream before starting decoding/playback of it. This option determines when/where to wait for that to be completed. When enabled, as is the default, BASS_WMA_StreamCreateFile will wait for the prebuffering to complete before returning. Otherwise, the first BASS_ChannelPlay, BASS_ChannelGetData (decoding channel) or BASS_ChannelPreBuf call will wait for it.

When this option is disabled, the prebuffering progress can be monitored via BASS_StreamGetFilePosition (BASS_FILEPOS_WMA_BUFFER).
ReplyReply Reply with quoteQuote
8  Developments / BASS / BASS_CONFIG_WMA_PREBUF not working on: 10 Nov '05 - 16:30
I have downloaded the latest BassWMA and the latest Bass.net.
Both are version 2.2.0.2.

In NetRadio, I can not get the buffering to stop on the initial call.

_Stream = BassWma.BASS_WMA_StreamCreateFile( _url, 0, 0, BASSStream.BASS_DEFAULT | BASSStream.BASS_STREAM_STATUS );

I even added
Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_WMA_PREBUF, 0); // so that we can display the buffering

Rgith after the NET_PREBUF.

It still takes close to 6 seconds to return the WMA_StreamCreateFile call.
ReplyReply Reply with quoteQuote
9  Developments / BASS / Re: Merging one WAV file from another on: 5 Nov '05 - 18:07
I have spent far to long trying ot figure out how to do Step 2 from above.
Any help would be great.
ReplyReply Reply with quoteQuote
Pages: [1]
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines