Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Jan Flikweert

    VFP read sequential files

    Chriss, That should be some new topics. When I wish to explain how why and what I do I can open some new topics. There are no further questions. Kind regards, Jan Flikweert
  2. Jan Flikweert

    VFP read sequential files

    Hi all, Just forget everything written in this thread. Keep it easy. The question is: How to read a binary file like f.e. attached? The answer is: There is a header detected and further solving this files is a hard work. Kind regards, Jan...
  3. Jan Flikweert

    VFP read sequential files

    OSCAR stores binary data files in this place. Ready to read..... On the SD card of the CPAP device are the edf files located. Kind regards, Jan Flikweert
  4. Jan Flikweert

    VFP read sequential files

    Hi all, The .001 and .000 are no EDF+ format. The pro of these files is : they are always present. I have found a command line program which converts edf to csv. Not the most elegant way, but so be it. The con of edf is that my brand CPAP Medres is the only device with this format. For me...
  5. Jan Flikweert

    VFP read sequential files

    Hi all, It is difficult to explain. Of course I saw the export .csv/xml function. .csv does not export all calculated fields,no detailed data from all sessions at any time. .XML only my name. And indeed OSCAR produces much graphs/info. The next image illustrates things can always be done...
  6. Jan Flikweert

    VFP read sequential files

    Tore, Thanks for your reply. I suppose text like this readed with notepad: “3 @á3 À–5 @Õ5 °ì5  B6 àa6 ˜6 °6 €Ö:  $; P[; p©; à; 6< Ú< @(= ðÉ@ ?A VA p…A àœA ÐòA @ B °!B 9B `XB ÐoB à–B püB ÐWF €ŽF ð¥F 0ÅF  ÜF € G ÐQG €ˆG ˜G ÐÎG pÞG P will not be readable with VFP low-level funcions. Kind...
  7. Jan Flikweert

    VFP read sequential files

    Hi all, I hope I spelled the word sequential files correct. I attached an example of this kind of files. How to read this in VFP? Line by line filetostr seems not to be the option. wscript.shell stdin read is also not clear and not well documented. This is a file from the open source program...
  8. Jan Flikweert

    How to respond more the one time to one event?

    ...with different backends and alternative program. It can be a MIDI issue. So I continue to investigate this. Kind regards, Jan Flikweert *****Part of main prograrm file containing two classes********* Define Class Hndl_MidiIn_cme As Custom stts=0 Procedure Init...
  9. Jan Flikweert

    How to respond more the one time to one event?

    Chriss, Indeed your example is helpfull, it works. Thank you very much. It is a other approach and I need to change things. In early stage I will detect the status number, channel. Espessially the coupler will be done in early stage using events. I was afraid the latency was not acceptable...
  10. Jan Flikweert

    How to respond more the one time to one event?

    Hi Chriss, Your idea to detect the needed stops at the front door is very good. I think I need more "Event binding" and should go back to the design table. Handling Presets/Combinations/Couplers/Dynamics is doubtfull. They should be each independent parents of the manuals. The base should be...
  11. Jan Flikweert

    How to respond more the one time to one event?

    Hi Chriss, Thank you for your example. I did some study at it and run it and I understand it. The trick you do is oDelegate1 = CreateObject("ObjectDelegate") oDelegate2 = CreateObject("ObjectDelegate") BindEvent(oHwndDelegate,"Handleevent",This,"AlsoHandleevent",1) Later today I am going...
  12. Jan Flikweert

    How to respond more the one time to one event?

    Chriss, Indeed I init midi once loading the form. I suppose you mean that MIDI should be init for each button, actually that is 154 times? Indeed I activate the stop button one at a time. But be aware the callback should fire on for each stop but keeps running while pressing a midi key. I am...
  13. Jan Flikweert

    How to respond more the one time to one event?

    Chriss, Here the relevant part of my code. ptrCallback_cme=Thisform.HWnd ******Connecting to midi input and defining window callback***** nResult = midiInOpen(@hDevice, nCmeIn-1, ptrCallback_cme, 0, CALLBACK_WINDOW+MIDI_IO_STATUS) arrInHandles(1,1)=nCmeIn arrInHandles(2,1)=hDevice nResult2 =...
  14. Jan Flikweert

    How to respond more the one time to one event?

    Hi Chriss, Thanks for your reply. Your guess is right: I am working with MIDI in this case to add Linuxsampler. The pro to Garritan Aria player is that it is more stable. The con is it is Open Source, so in case the program needs changes you depend on someone willing to solve the problems...
  15. Jan Flikweert

    How to respond more the one time to one event?

    Hi all, How to respond more then one time on one event? I made a button class with BINDEVENT in the init method. I use 154 buttons based on this class. Only one button responds on this bindevent. Kind regards, Jan Flikweert
  16. Jan Flikweert

    Running libfluidsynth-3.dll with rundll32.exe as 64 bit and how to return values

    Hi Chriss, Thanks for your reply. I use a 64-bit because I need 1,6 GB memory. That is the size of the soundfont. The Digital Audio Work Station also uses 2 GB. Indeed there is a 32 bit version of libfluidsynth-3. I suppose using 32-bit will not solve the problem of question 2: How to...
  17. Jan Flikweert

    Running libfluidsynth-3.dll with rundll32.exe as 64 bit and how to return values

    Hi all, This regards fluidsynth. First of all an important remark. The VFP code I provided is not a complete working piece of code, but in short to document my questions. I also included C code from an example to illustrate how it should be used. So my question is not how to get this code...
  18. Jan Flikweert

    Voice command controlling VFP buttons

    Chriss, You are right. The benefit is we can put code in _ISpeechRecoContextEvents_xxx procedures. And indeed there are a lot of options possible. The only question is: Do I need them? When i speak "x one" and preset one is clicked, everything is OK. I should not know which improvement is...
  19. Jan Flikweert

    Voice command controlling VFP buttons

    Chriss, I added two links to a example from the Microsoft Speech SDK. An .exe and the sourcecode. VB Example SAPI SDK Reco.exe I think the reason it works not with one digit for me much captions of stops contain digits. The popup of Speech recognition contains option to modify the dictionary...
  20. Jan Flikweert

    Voice command controlling VFP buttons

    Chriss, In the mean time things did work correct. Now it is practice pronouncation/articulation. I solved the digit problem with using X as prefix for the digit. SAPI recognises this as EAX+the digit. A digit like "Two" can be explained as to or too. In that case I also defined to, or too...

Part and Inventory Search

Back
Top