Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any C programmers wanna help convert code to convert between MIDI + CSV?
#91
(09-14-2022, 08:26 AM)TempodiBasic Wrote: @MadSciJr

Quote:Tempodi, Spriggsy converted the C to pure QB64 and it works! (Sort of!)
Now the next challenge is, how do we convert the event-driven code to normal QB64?
sorry I have missed this code by Spriggsy! I see at #84 a code to manage WAV files.
Where can I get the Spriggsy's code about MIDI?

Waiting answers I thank you.

I'm sorry, forgot to link to the thread! 
https://qb64phoenix.com/forum/showthread...864&page=4
Reply
#92
@MadSciJr
ok
so the conversion from C to pure QB64 is about multiple mice on the same PC under Windows using Winlibrary ...
not about mid2asc.c!
Reply
#93
(09-15-2022, 10:56 PM)TempodiBasic Wrote: @MadSciJr
ok
so the conversion from C to pure QB64 is about multiple mice on the same PC under Windows using Winlibrary ...
not about mid2asc.c!

Sorry for the confusion - I started asking about C for the MIDI conversion, and these nice folks kindly explained how to compile C using the MinGw compiler that comes with QB64, and then I was reminded of the multi mouse thing because I also had C code for that I could now compile. So the MIDI question led to the mouse question!
Reply
#94
All ok.
That's clear, the one portant issue / Theme is the abundant C source code available for the tasks of your interest vs your reject of learning basic C's concepts with the goal to have a good translation C2QB64.

Well I think that these two experiences let you think that if you know C is easier to catch code for own purpuse... just because nowaday there are so few examples written in BASIC and an universe of C code.
(I don't consider the VB because it is event driven and the coder write the core of application while the RAD system produces the code for Windows, drivers communication, timer and so on, managing the interface of program in the OS and the capturing of input from different devices and channelling them in the system of events. A free resource is RapidQ that works in the same manner with an half OOP structure)
Reply




Users browsing this thread: 2 Guest(s)