22 May '13 - 21:52 *
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] 2 3
1  Developments / BASS / Re: iOS AAC+? on: 14 Feb '13 - 00:09
I am using BASS_Encode_StartCA with proc set to NULL, this works with 'aac ' why not 'aacf'?
The encoder is then passed to a Caster.

Thanks for your help Ian.
ReplyReply Reply with quoteQuote
2  Developments / BASS / Re: iOS AAC+? on: 13 Feb '13 - 00:03
The AAC-HE library is going to cost me 50,000 Euros.
However the company I was looking at buying it from suggested AAC+ELD+SBR as an alternate as "iOS supports encoding to this".

Interestingly enough if I specify 'aach' for the BASS_Encode_StartCAFile call, I get BASS_ERROR_FORMAT.
If I specify 'aacf', I get BASS_ERROR_UNKNOWN.

Any suggestions. Should my source be set for FloatingPoint when using 'aach'?
ReplyReply Reply with quoteQuote
3  Developments / BASS / Re: iOS AAC+? on: 6 Feb '13 - 01:20
Thanks Ian.

I am looking into obtaining a static library for HE-AAC encoding and the appropriate licence for using AAC technology in my application.
ReplyReply Reply with quoteQuote
4  Developments / BASS / iOS AAC+? on: 5 Feb '13 - 04:40
Hello,

I am using the following code:
BASS_Encode_StartCA(_hMixer, 'adts', 'aac ', 0, 128000, 0, 0);
to start an AAC encoder.

I have a request to implement AAC+ but from what I can see BASS for iOS doesn't support this. Is this correct?
ReplyReply Reply with quoteQuote
5  Developments / BASS / Re: Volume Level delayed on: 19 Oct '12 - 00:43
Hello Ian,

The mixer is feeding an encoder that then feeds a shoutcast server.
I know that due to buffers, processing of real-time audio will be slowed.
I'm just curious if there is a way to minimise this delay?

I will get the output of BASS_ChannelGetData later today.
ReplyReply Reply with quoteQuote
6  Developments / BASS / Volume Level delayed on: 18 Oct '12 - 02:52
Hello,

I am using BASS_Mixer_ChannelGetLevel to get the volume level of a recording stream connected to a mixer this is then used to display a VU meter.

The VU meter has roughly a 2 second delay, is there anyway to reduce this delay to make it more accurate?
ReplyReply Reply with quoteQuote
7  Developments / BASS / Best way to get bytes sent from BASS_Encode on: 12 Oct '12 - 03:02
Hello,

I am using the BASS encode plugin to stream to a shoutcast server and I was wondering what the best method would be to get the number of bytes sent? I am wanting to display to the user how much data has been used.



Thanks  Smiley
ReplyReply Reply with quoteQuote
8  Developments / BASS / Re: BASS for iOS (iPhone/iPad) on: 14 Sep '12 - 07:13
The iPhone 5 uses ARMv7s. Please add this to BASS, BASS_FX, etc.

Thanks Ian Smiley
ReplyReply Reply with quoteQuote
9  Off Topic / General Discussion / Re: List of streaming radio stations on: 21 May '12 - 08:16
http://streamfinder.com/internet-radio-api/
ReplyReply Reply with quoteQuote
10  Developments / BASS / AGC on: 4 Apr '12 - 12:05
At the moment I am using a DAMP effect and then a Compressor effect to give loud and quiet songs a "consistent" volume.
Is there any other way to implement AGC (Automatic Gain Control)?


Thank you Smiley
ReplyReply Reply with quoteQuote
11  Developments / BASS / Re: slider position BASS_CHANNEL on: 3 Apr '12 - 02:04
Hello Lumoraes,

BASS doesn't have an inbuilt function to get milliseconds elapsed.
ReplyReply Reply with quoteQuote
12  Developments / BASS / Bass for iOS and BASS_RecordGetDeviceInfo on: 3 Mar '12 - 09:47
If I use a for loop to iterate over all the devices I only get one with a name of "Default" even if I have a USB mic plugged in to the iPad.
Is this because iOS overrides the device "Default" with the USB mic or is it a limitation of Bass for iOS?


Thank you Smiley
ReplyReply Reply with quoteQuote
13  Developments / BASS / Cast Volume really low on: 7 Feb '12 - 06:55
Hello,

I am broadcasting to a shoutcast server and the volume is so low that I need to turn the volume up quite a bit on the radio.
If I adjust the volume of the mixer up using BASS_BFX_VOLUME then the radio volume stays the same but the sound becomes distorted (clipped).

Any ideas?


Thanks Smiley
ReplyReply Reply with quoteQuote
14  Developments / BASS / Re: Exclude channel from output? on: 7 Feb '12 - 03:13
Maybe Ian could add a BASS_SPEAKER_NONE flag?
ReplyReply Reply with quoteQuote
15  Developments / BASS / Exclude channel from output? on: 6 Feb '12 - 23:53
Hello,

I have an MP3 file and a microphone input both going to a mixer.
At the moment both the MP3 and mic go to the speaker, I would like only the MP3 to go to the speaker but both to still go to the mixer output.

Basically if you are talking there is a delayed echo of your voice on the speaker and it's distracting.
I would like to remove this echo.

Is there some way to tell BASS to exclude a channel from output?


Thanks Smiley
ReplyReply Reply with quoteQuote
16  Developments / BASS / Re: Support for LIBMP3LAME on: 23 Jan '12 - 05:33
Got it working  Grin

I moved the buffer declaration to outside of the function:
unsigned char mp3_buffer[800000];

Then divide length by 4 as lame needs number of samples
void CALLBACK EncodingDSP(HDSP handle, DWORD channel, void *buffer, DWORD length, void *user)
{
    int write;
    HENCODE encHandle = [(Broadcaster*)user encHandle];
    write = lame_encode_buffer_interleaved(lame, buffer, length/4, mp3_buffer, 800000);
    BASS_Encode_Write(encHandle, mp3_buffer, write);
}

Adding support for this has made me a very happy man Smiley
Much thanks Ian.
ReplyReply Reply with quoteQuote
17  Developments / BASS / Re: Support for LIBMP3LAME on: 23 Jan '12 - 05:15
Ok, here is my latest code:

lame = lame_init();
lame_set_in_samplerate(lame, 44100);
lame_set_mode(lame, JOINT_STEREO);
lame_set_quality(lame, 7);
lame_set_findReplayGain(lame, 0);
lame_set_brate(lame, 128);
lame_set_VBR_min_bitrate_kbps(lame, lame_get_brate(lame));
lame_set_out_samplerate(lame, 44100);
lame_init_params(lame);

BASS_ChannelSetDSP(m_MixerHandle, EncodingDSP, self, -1000);       
encHandle=BASS_Encode_Start(m_MixerHandle, NULL, BASS_ENCODE_PCM|BASS_ENCODE_NOHEAD|BASS_ENCODE_PAUSE, NULL, NULL);

BASS_Encode_CastInit(encHandle, "192.168.0.48:8000",
                                        "ais22b",
                                        BASS_ENCODE_TYPE_MP3,
                                        "TribeFM",
                                        NULL,
                                        "Various",
                                        NULL, 0, 128, NO);

BASS_ChannelPlay(m_MixerHandle, true);

void CALLBACK EncodingDSP(HDSP handle, DWORD channel, void *buffer, DWORD length, void *user)
{
    int write;
    HENCODE encHandle = [(Broadcaster*)user encHandle];
    unsigned char mp3_buffer[8000];
    write = lame_encode_buffer_interleaved(lame, buffer, length/2, mp3_buffer, 8000);
    BASS_Encode_Write(encHandle, mp3_buffer, write);
}

This has the output from BASS back to smooth sounding audio.
However the sound from SHOUTcast is broken up and has crunching noises in it.

I'm assuming it's because of my hacked "No idea what i'm doing" attempt of a callback function.

Please help  Huh

Lame Functions Explained: http://openinnowhere.sourceforge.net/lameonj/javadoc/lame/std/Lame.html
ReplyReply Reply with quoteQuote
18  Developments / BASS / Re: Support for LIBMP3LAME on: 21 Jan '12 - 10:28
Thanks Ian.

I must be doing things wrong as I get choppy sound from BASS when I do this:
void CALLBACK EncodingDSP(HDSP handle, DWORD channel, void *buffer, DWORD length, void *user)
{
   
    int write;
   
    unsigned char mp3_buffer[length];
    if (length == 0)
        write = lame_encode_flush(lame, mp3_buffer, length);
    else
        write = lame_encode_buffer_interleaved(lame, buffer, length, mp3_buffer, length);

    BASS_Encode_Write((HENCODE)user, mp3_buffer, write); // send data to the encoder/caster
}

Do you think this is due to CPU load or have I done something wrong?


Thanks Smiley
ReplyReply Reply with quoteQuote
19  Developments / BASS / Connect/Disconnect Cast on: 21 Jan '12 - 03:21
Hello,

Is there any way to tell a "Cast" to connect/disconnect and a way to change it's settings (e.g. server, password)?
Or can i simply set it to nil and then re-init a new cast.
ReplyReply Reply with quoteQuote
20  Developments / BASS / Re: BASS_ChannelGetLevel - true level? on: 19 Jan '12 - 21:29
Sorry that was a typo.

I was referring to your posted code and how I might go about labeling -30, -20, -15, -10, -7, -5, -3, -2, -1 and 0.
Obviously -30 and 0 are easy, but is there some way I can visually see where the others are?
ReplyReply Reply with quoteQuote
Pages: [1] 2 3
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines