26 May '13 - 02:33 *
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
1  Developments / BASS / Re: BASS_RecordStart hangs on Win8 x64 on: 19 Nov '12 - 16:29
sorry, but I need some time more to repeat this bug. May be it was my own mistake.
ReplyReply Reply with quoteQuote
2  Developments / BASS / BASS_RecordStart hangs on Win8 x64 on: 17 Nov '12 - 05:31
RecChannel0:=BASS_RecordStart(vSampleRate, cNumChannels, Flag0, @RecordingCallback0, nil);

this call hangs on subj but good works on WinXP, Win7 x86 & x64.
ReplyReply Reply with quoteQuote
3  Developments / BASS / Re: BASSWASAPI beta on: 9 Aug '12 - 05:29
What does it mean BASS_WASAPI_EXCLUSIVE in init function?
or how can I to forbid access to initialized device by other users (other apps)?
ReplyReply Reply with quoteQuote
4  Developments / BASS / Re: Bass without bass.dll on: 24 May '12 - 03:23
http://www.cst-development.de/bass_samples/bass_test.zip wrong link!  Huh
ReplyReply Reply with quoteQuote
5  Developments / BASS / How to set a default recording format on: 20 May '12 - 14:48
I have my USB Audio codec device.
When it's installed it has a default recording format as 44000, 1channel, 16 bit. It shown in Windows Record Device Properties window.

When I call BASS_RecordStart I set as 2 channel parameter, but when I get data from 2 channel, data are same as from 1 channel while I changed default recording format in Windows Audio Properties is 1 channel. When I set manually to 2 channels, my BASS get data procedure begins to read correct data from 2 channel.

But I need to set it as 2channel format programmatically.
ReplyReply Reply with quoteQuote
6  Developments / BASS / Re: BASS_RecordGetDeviceInfo' bug? on: 26 Mar '11 - 05:19
I forget about BASS_DEVICE_ENABLED  Sad
if I remove my device the flag BASS_DEVICE_ENABLED must be zero but device will still enumerated?
but if I restart my app after removing device BASS_RecordGetDeviceInfo shows correctly device count.

If device has disabled (physically removed) but how is index of other presented devices to operate them in bass functions? index shifted or not?
for example:
counter, index, device

1, 0, some sound device1 enabled
2, 1, some sound device2 enabled
3, 2, some sound device3 enabled

and to call device3 we use index=2.

after removing device2 we have as

1, 0 - some sound device1 enabled
2, 1 - some sound device2 not enabled
3, 2 - some sound device3 enabled

or

1, 0, some sound device1 enabled
x, 1, some sound device2 nor enabled
2, 2, some sound device3 enabled

what index we must use to operate device3?


ReplyReply Reply with quoteQuote
7  Developments / BASS / BASS_RecordGetDeviceInfo' bug? on: 25 Mar '11 - 15:30
I have one record device in my system, I call BASS_RecordGetDeviceInfo in while returned false, ang get counter value as one.
I insert new USB sound device and call BASS_RecordGetDeviceInfo in while to get how many devices the system has. I get counter as two devices. ok.
After that I remove my new USB device and call BASS_RecordGetDeviceInfo again and get counter as two again.

my dbgview log shown below

[25.03.11 18:15:26 781] Procedure: UpdateDevList started...   
[25.03.11 18:15:26 859] Procedure: UpdateDevList RecordGetDeviceInfo.Count=1   OK! ONE DEVICE
[25.03.11 18:15:35 703] new interface has been inserted: \\?\USB#Vid_14ed&Pid_29b6#5&16ec03c1&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}   
[25.03.11 18:15:45 453] Procedure: UpdateDevList started...   
[25.03.11 18:15:45 656] Procedure: UpdateDevList RecordGetDeviceInfo.Count=2   OK! TWO DEVICES
[25.03.11 18:16:33 203] interface has been removed: \\?\HID#Vid_14ed&Pid_29b6&MI_03#7&34a68fff&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}   
[25.03.11 18:16:35 093] Procedure: UpdateDevList started...   
[25.03.11 18:16:35 265] Procedure: UpdateDevList RecordGetDeviceInfo.Count=2   WRONG! MUST BE ONE!
[25.03.11 18:16:45 296] new interface has been inserted: \\?\USB#Vid_14ed&Pid_29b6#5&16ec03c1&0&2#{a5dcbf10-6530-11d2-901f-00c04fb951ed}   
[25.03.11 18:16:47 375] Procedure: UpdateDevList RecordGetDeviceInfo.Count=2   OK! AGAIN TWO
[25.03.11 18:16:59 500] interface has been removed: \\?\HID#Vid_14ed&Pid_29b6&MI_03#7&34a68fff&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}   
[25.03.11 18:16:59 656] Procedure: UpdateDevList started...   
[25.03.11 18:16:59 812] Procedure: UpdateDevList RecordGetDeviceInfo.Count=2   WRONG! MUST BE ONE!

what's wrong?
 Huh
ReplyReply Reply with quoteQuote
8  Developments / BASS / BASS_DATA_FLOAT values to Volts on: 17 Mar '11 - 04:16
I need some explanation.
I'm getting channel data as BASS_DATA_FLOAT. well.
Now I need to show these data as waveform in Volts.
How to calculate value of BASS_DATA_FLOAT to Volts?
ReplyReply Reply with quoteQuote
9  Developments / BASS / Stereo capture depends on Windows Mixer settings? on: 28 Feb '11 - 09:29
I try to some record with (in Win7)
HRECORD record=BASS_RecordStart(44100, 2, 0, &MyRecordingCallback, 0);
but datas of each channel are the same.
windows mixer microphone setting is at 1 channel.
when I set to 2 channel in windows mixer settings then capture is well.
why?
in winxp capturing works fine independensly of mixer record format setting.

ReplyReply Reply with quoteQuote
10  Developments / BASS / THD with BASS? on: 26 Feb '11 - 15:34
Please, I need some explain, may I do some THD measure with BASS or BASS_FX? If yes, please show me some way of this.
ReplyReply Reply with quoteQuote
11  Developments / BASS / Re: FFT with other window except implemented Hann window on: 19 Feb '11 - 05:49
can't create

fftstream=BASS_StreamCreate(ci.freq, ci.chans, BASS_SAMPLE_FLOAT|BASS_STREAM_DECODE, STREAMPROC_PUSH, 0);

fftstream is zero and error is 8 as BASS_ERROR_INIT  

*forgot to call BASS_Init...
ReplyReply Reply with quoteQuote
12  Developments / BASS / Re: BASS_DEVICEINFO.driver in win7 and winxp on: 18 Feb '11 - 07:57
ok. I need a device's endpoint ID.
how to get a device's endpoint ID in winxp?
ReplyReply Reply with quoteQuote
13  Developments / BASS / BASS_DEVICEINFO.driver in win7 and winxp on: 17 Feb '11 - 08:38
in win7 BASS_DEVICEINFO.driver returns as {0.0.1.00000000}.{6a2e51b5-1e22-4d3a-8d2b-a2e1152f4e2d}
in winxp it returns as usbaudio.sys w\o any GUID of driver...
but why?
ReplyReply Reply with quoteQuote
14  Off Topic / General Discussion / How to find a match between SPDRP_HARDWAREID and device index in audiodevices? on: 16 Feb '11 - 14:30
I need to restrict access to some devices from device list of record devices.

I enumerate their SPDRP_HARDWAREID by...

SetupDiGetClassDescription(GUID, @Buffer[0], Length(Buffer), BufSize);
aGUID:=GUID;
PnPHandle := SetupDiGetClassDevs(@aGUID, nil, 0, DIGCF_PRESENT);
DevData.cbSize := SizeOf(DevData);
res:=SetupDiEnumDeviceInfo(PnPHandle, i, DevData);
S:=GetDeviceName(PnPHandle, DevData,SPDRP_HARDWAREID);

after above S contains an USB\Vid_...\Pid value.

but waveInGetDevCaps (enumerated by waveInGetNumDevs) returns names and indexes of devices that don't match to SPDRP_HARDWAREID.

subj or other words how to set a record device defined by SPDRP_HARDWAREID?

I found similar topic but there's no anwser
http://thedailyreviewer.com/windowsos/view/how-to-link-usb-audio-device-id-hardware-midpid-10783267

for a while...
I found that BASS_RecordGetDeviceInfo returns in BASS_DEVICEINFO a driver signature (how it did that?).
I found in registry what is device has that ID driver, from that hive I may find vid\pid of hardware device. right?

BASS_DEVICEINFO returns other data in Windows XP and Win7... Sad

in win7 I get BASS_DEVICEINFO.driver as {0.0.1.00000000}.{6a2e51b5-1e22-4d3a-8d2b-a2e1152f4e2d}
in winxp it returns as usbaudio.sys w\o any GUID of driver...
but why?
ReplyReply Reply with quoteQuote
15  Developments / BASS / Re: FFT with other window except implemented Hann window on: 14 Feb '11 - 15:40
I understood your idea, and I'll try it. Thanks!
 Smiley
ReplyReply Reply with quoteQuote
16  Developments / BASS / Re: Peak amplitude floats and depends on FFt Size and\or Samplerate on: 14 Feb '11 - 04:39
how much the FFTWindowLength in BASS? or it's same as FFT Size?
how to increase FFTWindowLength in BASS engine?
ReplyReply Reply with quoteQuote
17  Developments / BASS / Peak amplitude floats and depends on FFt Size and\or Samplerate on: 12 Feb '11 - 12:26
I made FFT and get peak value of amplitude (calculated in dB) from FFT array, that's ok. I test it with generated tone of 36Hz and FFT gives me an approximately of 36Hz depends on FFT Size and Samplerate. My result is match with SpecLab program. very well.
but value of amplitide floats and depends on FFT Size and Samplerate. why? in the SpecLab value of amplitude is constant.

ReplyReply Reply with quoteQuote
18  Developments / BASS / Re: Can you provide us higher FFT resolutions ? on: 12 Feb '11 - 07:20
BASS_DATA_FFT16384 is present.
ReplyReply Reply with quoteQuote
19  Developments / BASS / FFT with other window except implemented Hann window on: 12 Feb '11 - 05:58
Should I use flag BASS_DATA_FFT_NOWINDOW and then apply other function to FFT data?

*it's interesting tooo how to increase FFT sample more than 16384?
ReplyReply Reply with quoteQuote
20  Developments / BASS / Re: record from two sources simultaneously on: 11 Feb '11 - 10:25
YES! I did it (read in Help).
ReplyReply Reply with quoteQuote
Pages: [1] 2
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines