Author Topic: BASS for WinCE  (Read 217142 times)

ken

  • Posts: 732
Re: BASS for WinCE
« Reply #175 on: 8 Dec '09 - 09:49 »
Thanks Bernd, that worked just fine.

/Ken

dondon

  • Guest
Re: BASS for WinCE
« Reply #176 on: 30 Dec '09 - 02:44 »
i have this error when i tried to compile using this processor Marvell, ARM920T-PX

assembly name 'Bass.Net.compact, Version = 2.4.1.1, Culture = neutral, PublicKeyToken = B7566C273E6EF480' or here is dependent on the file or assembly can not find one

can you help me. i am using pixtree devices, it is a korean made device.

thanks

dondon

radio42

  • Posts: 4478
Re: BASS for WinCE
« Reply #177 on: 30 Dec '09 - 10:45 »
I guess it has nothing to do with the device.
It sounds more like the .Net compact framework 2.0 is not or not properly installed.

aimanmt

  • Posts: 4
Re: BASS for WinCE
« Reply #178 on: 20 Jan '10 - 10:32 »
Hello guys,

I have downloaded the attached file "bass24-ce.zip" to try the functionality of the library on WM6 device, but when I tried to compile the sample "rectest", compilation failed because I don't have "bass.h" header file, so where can I find it?

Any help is highly appreciated, thank you.

Ayman

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #179 on: 21 Jan '10 - 14:44 »
The BASS.H file can be obtained from the Win32 or OSX package. You can also get the documentation (BASS.CHM) from there.

asroma

  • Posts: 1
Re: BASS for WinCE
« Reply #180 on: 22 Jan '10 - 06:02 »
Hello

I'm using windows CE 6.0 + MIPS target device.
could I get bass.dll and basswma.dll for this target?

Regards

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #181 on: 22 Jan '10 - 15:24 »
I can send you a MIPS BASS build, but I'm afraid BASSWMA is not currently available for WinCE because there doesn't appear to be a usable WMA codec for it. There is a BASSDS add-on though, which makes use of DirectShow filters. If you have DirectShow and the WMA filter in your CE platform, let me know if you would like to try that.

aimanmt

  • Posts: 4
Re: BASS for WinCE
« Reply #182 on: 25 Jan '10 - 16:19 »
Hi,

First thing, thank you Ian for the reply.

The second thing, I have tested rectest sample that comes with the library, and it works just fine for basic requirements, but I am wondering if BASS can support the following scenario: recording from the device microphone, and saving the output in some audio compressed format in real time. Now, the problem with mp3 is that it uses LAME which doesn't have windows mobile port, at least to my knowledge. Another possible format is wma, but I don't know if it can be encoded using your library for windows mobile or not. If there are any possible audio compressed formats which give reasonable quality ans size and can be used on windows mobile, please let me know.

Thank you and I do highly appreciate any help :)

P.S. I forgot to say that I'm asking because we are considering buying the library, so I want to make sure it supports that capability or not.
« Last Edit: 26 Jan '10 - 08:04 by aimanmt »

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #183 on: 26 Jan '10 - 16:08 »
BASS itself doesn't include encoding support. The BASSenc add-on includes support for ACM codecs, but I'm not sure if any encoding capability comes with WinCE as default. There are voice codecs (eg. GSM 6.10), but I guess you want something more than that? If so, I think you may need a 3rd-party component to perform the encoding; if that comes in ACM form, it should be possible to attach it to the recording via BASSenc. If the encoder comes in another form, it could be plugged into the recording's RECORDPROC function to encode the received data.

aimanmt

  • Posts: 4
Re: BASS for WinCE
« Reply #184 on: 26 Jan '10 - 17:57 »
I have added a slightly experimental BASSenc build to the WinCE package (see 1st post). It includes support for the built-in WAV writer and ACM codecs, but not external command-line encoders as I don't think there are any of those for WinCE. If you give it a try, please report your findings.

thank you Ian for replying :)

with reference to the quote up there, you said that you added and experimental BASSenc to the WinCE build, it supports encoding to ACM WAVE format as I understood, like the sample "rectest.exe" available for desktop, right? If so, can I control the output format and other options like sampling rate, channels and others? Another question, you said in your last reply that I can use a third party encoder, do you know any good one for WinCE? The last question, what are the possibilities and cost of doing a custom build for us?

thank you again and I appreciate any help.

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #185 on: 27 Jan '10 - 16:46 »
with reference to the quote up there, you said that you added and experimental BASSenc to the WinCE build, it supports encoding to ACM WAVE format as I understood, like the sample "rectest.exe" available for desktop, right? If so, can I control the output format and other options like sampling rate, channels and others?

Yes, the ACM support is the same as in the desktop version. You don't necessarily have to write to WAVE format, though. If it's a file format that doesn't require a WAVE header (eg. MP3), then the BASS_ENCODE_NOHEAD flag can be used to omit the WAVE header.

The wanted sample format (eg. sampling rate, channels) can/should be set in the BASS_RecordStart call.

Another question, you said in your last reply that I can use a third party encoder, do you know any good one for WinCE? The last question, what are the possibilities and cost of doing a custom build for us?

I seem to recall seeing 1 or 2 encoders before (ACM I think), but I never tried them, so I can't really make any recommendations. Unfortuantely, I also don't remember where I saw those encoder(s), but I guess Google should reveal all :)

aimanmt

  • Posts: 4
Re: BASS for WinCE
« Reply #186 on: 27 Jan '10 - 17:30 »
Thank you Ian for the reply.

Unfortunately, I did my home work and I was searching all over the internet for a week now for any encoder for any audio compressed format that can be run on windows mobile -of course you might know that coming here in the first place was a result of this search- either open source, close source, commercial or whatever, any thing but I found nothing, well today I found a tiny winy encoder called Shine I don't know if you ever heard about it, which is targeted for devices with limited capabilities, I am trying to compile it for windows mobile and I hope that I succeed.

Another thing Ian, you didn't answer my third question, which was about custom build, what I meant by that is making a build for us that contains some kind on an encoder for windows mobile, maybe a wma encoder, is that something possible or not?

Thank you again :)

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #187 on: 27 Jan '10 - 17:54 »
Another thing Ian, you didn't answer my third question, which was about custom build, what I meant by that is making a build for us that contains some kind on an encoder for windows mobile, maybe a wma encoder, is that something possible or not?

I don't think that will be necessary, as it should be possible to plug any encoding code/library that you find into a RECORDPROC function. I can help with the RECORDPROC :)

daihatsu

  • Posts: 2
Re: BASS for WinCE
« Reply #188 on: 10 Mar '10 - 12:04 »
Hello! I am programming application for wince(5.2) OS now.

I try to port an example livefx from win32 platform to WinCE platform. But leaves nothing. This restriction of WinCE audio API?
Whether can I do real time processing (with 10-50 ms latency) of an entering signal HRECORD and play its by HCHANNEL in realtime (HRECORD->MyDSPCallback->HCHANNEL->Play)???

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #189 on: 10 Mar '10 - 14:44 »
It should be possible to get the LIVEFX example working on WinCE, but I'm not sure it will be possible to get that low latency; you would certainly have to lower the BASS_CONFIG_DEV_BUFFER setting to get anywhere near (that currently defaults to 200ms). Is your LIVEFX port not working at all? If so, are playback and recording working OK on their own, eg. in the included examples?

daihatsu

  • Posts: 2
Re: BASS for WinCE
« Reply #190 on: 12 Mar '10 - 11:16 »
Yes, the example livefx after porting does not work on wince. I.e. there is no sound. I do not know what to do. Maybe, there can be a problem with storage in float format and ARM-float compatibility?

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #191 on: 12 Mar '10 - 14:37 »
Do playback and recording work individually, eg. in the pre-compiled examples?

Note that the BASS_SAMPLE_FLOAT flag is not supported in the WinCE version. So if you are currently using that flag with them, I would expect that the BASS_RecordStart and BASS_StreamCreate calls are failing (returning 0).

simon.chen

  • Posts: 6
Re: BASS for WinCE
« Reply #192 on: 31 Mar '10 - 05:25 »
Hello!

When I call BASS_StreamFree (or BASS_ChannelStop with BASS_STREAM_AUTOFREE) my program UI freezes for around 5 seconds or so while it is trying to free the stream.

I am streaming from an internet MP3 stream and I have FX and DSP on the stream( if that makes a difference)

Any idea why this is happening and/or how I can avoid it?

Thanks again! 

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #193 on: 31 Mar '10 - 15:55 »
To determine whether the problem is something particular to your app, please try to reproduce it with the NETRADIO example, eg. stick a breakpoint on the BASS_StreamFree call and step over that to see how long it takes. Trying that myself, there doesn't seem to be any delay.

Also, the BASS (and BASSWV) DLLs have been updated to the latest stuff (see 1st post), so you could give that a try, in case it makes a difference (it is what I tested with).
« Last Edit: 31 Mar '10 - 16:24 by Ian @ un4seen »

LordOfThePings

  • Guest
Re: BASS for WinCE
« Reply #194 on: 10 Apr '10 - 14:47 »
Hi,
I am currently building a small internet radio client out of a ARM-based WinCE5 "netbook". Using BassCE, i ran into the already known problem of the missing WMA decoder plugin.
MP3 Streams are working flawlessly, but sadly there are some german radio stations using nacamar WMA streaming for their programs.

You wrote earlier that it could work with DirectShow present in the device, how can I find out if it is available (and including a WMA decoder)?

Akshay Varma

  • Guest
Re: BASS for WinCE
« Reply #195 on: 11 Apr '10 - 07:26 »
Does the current version of BASS support Windows CE 6.0?

Akshay Varma

  • Guest
Re: BASS for WinCE
« Reply #196 on: 11 Apr '10 - 07:29 »
Sorry, wrong question there!

I wanted to ask if I can use BASS to generate 3D positional audio on the Windows CE 6.0 platform

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #197 on: 12 Apr '10 - 14:24 »
I am currently building a small internet radio client out of a ARM-based WinCE5 "netbook". Using BassCE, i ran into the already known problem of the missing WMA decoder plugin.
MP3 Streams are working flawlessly, but sadly there are some german radio stations using nacamar WMA streaming for their programs.

You wrote earlier that it could work with DirectShow present in the device, how can I find out if it is available (and including a WMA decoder)?

I believe the file to look for is WMADMOD.DLL, and it should be present if the OS was built with SYSGEN_DSHOW_WMA.

I wanted to ask if I can use BASS to generate 3D positional audio on the Windows CE 6.0 platform

It does include basic 3D processing, eg. panning and Doppler shift.

LordOfThePings

  • Guest
Re: BASS for WinCE
« Reply #198 on: 19 Apr '10 - 00:35 »
OK, finally got back to the project...

Yes, the wmadmod.dll is available in my device, so I would like to try the DS addon. I assume it's not in the normal bassce download package, so could you mail me a build?
Can I use it with the .net wrapper, or do I have to load it in a special way?



BTW, one cool thing about BASS.net compact: The .net executables compiled with BASS.net compact can be run on a x86 Windows PC as well (just swapping out the bass.dll with the Windows version, leaving the .exe as is).

The BASS engine just rocks... thanks for creating (and sharing) this, Ian.

Ian @ un4seen

  • Administrator
  • Posts: 19487
Re: BASS for WinCE
« Reply #199 on: 19 Apr '10 - 13:39 »
I'll email the BASSDS add-on to you. I don't think BASS.Net currently includes support for it (it's still a bit experimental), but it can still be used via the plugin system, eg. BASS_PluginLoad.