Search found 19 matches
- Thu Aug 14, 2014 3:23 pm
- Forum: Announcement
- Topic: USB HID Library
- Replies: 60
- Views: 73414
Re: USB HID Library
Thanks! I put the ReadDevice function in a thread, which is called by a timer-event. Although I only get one value, which is independent from the pedal action (press, release), I can control the play/stopp-process.
- Thu Aug 14, 2014 9:29 am
- Forum: Announcement
- Topic: USB HID Library
- Replies: 60
- Views: 73414
Re: USB HID Library
@User_Russian, could you have a quick look at my code? As you said, I try to produce a data stream from the device by the function GetFeature. My hope was, that I can detect this data stream as an event in the repeat-loop. But it didn't work.
;the IDs of the infinity foot pedal
#USB_PID=$FF
#USB ...
;the IDs of the infinity foot pedal
#USB_PID=$FF
#USB ...
- Wed Aug 13, 2014 3:51 pm
- Forum: Announcement
- Topic: USB HID Library
- Replies: 60
- Views: 73414
Re: USB HID Library
Thanks, User_Russian, for your information. I will try it ...
- Wed Aug 13, 2014 3:38 pm
- Forum: Announcement
- Topic: USB HID Library
- Replies: 60
- Views: 73414
Re: USB HID Library
Is there a function in your lib, that can detect such a stream of data?
- Wed Aug 13, 2014 2:18 pm
- Forum: Announcement
- Topic: USB HID Library
- Replies: 60
- Views: 73414
Re: USB HID Library
I have a USB-HID footpedal connected to my computer. When I run the DeviceTest-Code, I get the message that device is connected. (by the way: I use the hid_module.pbi and not the lib).
So far so good. But my question is: How can I observe that for example the left pedal is pressed? Is there a ...
So far so good. But my question is: How can I observe that for example the left pedal is pressed? Is there a ...
- Sat Sep 04, 2010 5:29 pm
- Forum: Tricks 'n' Tips
- Topic: Capturing Audio [COMPLETE SOURCE]
- Replies: 67
- Views: 58839
Re: Capturing Audio [COMPLETE SOURCE]
Hi,
I downloaded the lame mp3-encoder from http://lame.sourceforge.net/index.php recently. Besides the lame_enc.dll there were also lame.exe and some examples in the package. One command line example was this:
# Streaming mono 22.05 kHz raw pcm, 24 kbps output:
cat inputfile | lame -r -m m -b 24 ...
I downloaded the lame mp3-encoder from http://lame.sourceforge.net/index.php recently. Besides the lame_enc.dll there were also lame.exe and some examples in the package. One command line example was this:
# Streaming mono 22.05 kHz raw pcm, 24 kbps output:
cat inputfile | lame -r -m m -b 24 ...
- Sun Dec 28, 2008 7:39 pm
- Forum: Coding Questions
- Topic: JOYPAD Lib under PB 4.30
- Replies: 0
- Views: 624
JOYPAD Lib under PB 4.30
Hi, in my mp3-player-code I use the excellent JOYPAD-Lib of Dr. Dri. It works fine under PB 4.20, but unfortunateley it is not compatible with PB 4.30. Can anyone help?
[To be honest, I must mention, that I posted this request a couple of days ago in the German forum. Sorry guys, to include the ...
[To be honest, I must mention, that I posted this request a couple of days ago in the German forum. Sorry guys, to include the ...
- Wed Aug 13, 2008 3:51 pm
- Forum: Coding Questions
- Topic: alternative for mci-commands
- Replies: 5
- Views: 2052
- Wed Aug 13, 2008 2:24 pm
- Forum: Coding Questions
- Topic: alternative for mci-commands
- Replies: 5
- Views: 2052
- Wed Aug 13, 2008 12:55 pm
- Forum: Coding Questions
- Topic: alternative for mci-commands
- Replies: 5
- Views: 2052
alternative for mci-commands
I wrote a mp3/wma-Player with some functions like display of the ellapsed and remaining time and jumps of certain time increments. I used the mci-send-string commands for that purpose. However, people told me that it is old-fashioned to use mci-commands. Does anyone know alternative commands with ...
- Sat Apr 05, 2008 1:06 pm
- Forum: Coding Questions
- Topic: Callback and GetMessage
- Replies: 2
- Views: 1032
Callback and GetMessage
The SetWindowCallback function is a comfortable way with regard to the treatment of events. But according to the WinApi the API functions GetMessage, TranslateMessage and DispatchMessage should also work. My problem is: These functions require only a pointer to the structure MSG. How do they know ...
- Thu Mar 27, 2008 3:43 pm
- Forum: Coding Questions
- Topic: USB-footswitch
- Replies: 4
- Views: 1221
- Thu Mar 27, 2008 2:28 pm
- Forum: Coding Questions
- Topic: USB-footswitch
- Replies: 4
- Views: 1221
- Thu Mar 27, 2008 11:32 am
- Forum: Coding Questions
- Topic: USB-footswitch
- Replies: 4
- Views: 1221
USB-footswitch
Hi, it is not too difficult to implement a 8-button-gamepad under PB. I'm so impressed by the power of PB, that I want more! The other day I connected a simple usb-footswitch to my computer being immediately recognized by Windows (must be kind of a standard device). Is it possible under PB 4.10 to ...
- Sat Mar 08, 2008 9:55 pm
- Forum: Coding Questions
- Topic: GetAsyncKey and suppressing keystrokes
- Replies: 5
- Views: 1930