Search found 72 matches
- Jan 07, 2012 5:30
- Forum: Libraries Questions
- Topic: ALSA Library
- Replies: 8
- Views: 2698
Re: ALSA Library
No word about LINUX in mathwizard44 posts. On LINUX we need not download a package. Just run a package manager... That was part of my original question. I guess I should have specified that I was working in Linux. The project that I am working on already works well in Windows as I was able to use &...
- Jan 06, 2012 15:05
- Forum: Libraries Questions
- Topic: ALSA Library
- Replies: 8
- Views: 2698
Re: ALSA Library
Thanks for the replies. I downloaded the alsa-lib library from the project website and opened it up. What next? Do I run the install script they have packaged with it to get the library, then use f_2_bi to translate the headers? If so, which headers? I feel I got in over my head on this stuff! I rem...
- Jan 02, 2012 2:06
- Forum: Libraries Questions
- Topic: ALSA Library
- Replies: 8
- Views: 2698
ALSA Library
For my project I was wanting to use some functions from the ALSA project. I noticed that we don't have includes for this library. Is there a way to just get the dev packages and link to them? How involved is this process? I found, reading the wiki, that I would need to translate the header files int...
- Dec 31, 2011 4:59
- Forum: Hardware Interfaces / Communication
- Topic: Reading joystick data directly
- Replies: 2
- Views: 2324
Re: Reading joystick data directly
Thanks for the suggestions. I do agree that recommendation 3 is the best one, where the program reads joystick definitions from a file (which, if I get ambitious, could be generated by the program itself by asking, "Press A now", "Press C-Left now", etc.). I guess my concern was ...
- Dec 30, 2011 18:27
- Forum: Hardware Interfaces / Communication
- Topic: Reading joystick data directly
- Replies: 2
- Views: 2324
Reading joystick data directly
In a project I am using a USB adapter to connect a Nintendo 64 controller to my computer. (I then make it control an Ocarina of Time.) When experimenting with code under Windows, I found that C-Left and C-Right were read by GetJoystick as Axis 3. However, on Linux, the same GetJoystick call on the s...
- Dec 30, 2011 3:50
- Forum: Community Discussion
- Topic: The new website
- Replies: 150
- Views: 32857
Re: The new website
I like the redesign of the site and the forum. I can see more stuff, especially code.
Is there a way to get the syntax highlighting for the code back? Thanks.
Is there a way to get the syntax highlighting for the code back? Thanks.
- Dec 30, 2011 3:44
- Forum: Projects
- Topic: ocarinatemporis - Ocarina of Time
- Replies: 0
- Views: 1070
ocarinatemporis - Ocarina of Time
No, not the whole game, just the ocarina. My brother and I decided to work on a project this year of transforming an N64 controller into the ocarina from Legend of Zelda - Ocarina of Time. The timing was great; this was the 25th anniversary of the Legend of Zelda franchise. But school and work got i...
- Dec 30, 2011 3:26
- Forum: Libraries Questions
- Topic: (Solved) MIDI with mmsystem on Windows - no sound
- Replies: 3
- Views: 1651
Re: (Solved) MIDI with mmsystem on Windows - no sound
Thanks... the implementation was Mysoft's. I'm glad you found it useful as well.
- Dec 26, 2011 7:22
- Forum: Libraries Questions
- Topic: (Solved) MIDI with mmsystem on Windows - no sound
- Replies: 3
- Views: 1651
Whoops. I answered my own question by looking more critically at Mysoft's program. In my original code, I forgot to initialize the MIDI device. I added the following code to do so: Dim As Integer midiresult ' initialize device midiresult = midiOutOpen(@MidiDevice, MIDI_MAPPER, 0, 0, null) If (midire...
- Dec 26, 2011 6:15
- Forum: Libraries Questions
- Topic: (Solved) MIDI with mmsystem on Windows - no sound
- Replies: 3
- Views: 1651
(Solved) MIDI with mmsystem on Windows - no sound
I'm reading up on sending MIDI messages through mmsystem, and I found on this forum a PLAY command implementation by Mysoft. Using his second version (using MIDI) as a model, I wrote this: #include once "windows.bi" #include once "win\mmsystem.bi" Type MidiMessage Field = 1 statu...
- Apr 27, 2011 4:25
- Forum: Libraries Questions
- Topic: A MIDI library for editing MIDI files
- Replies: 2
- Views: 1980
A MIDI library for editing MIDI files
I want to create a text-mode MIDI file editor. I would like to use curses to manage the display, but what library should I use to interface with MIDI (i.e., sound out a note currently being inserted, sending MIDI events, etc.)? I don't need it to be able to accept MIDI input from a synth or keyboard...
- Apr 25, 2011 20:21
- Forum: Linux
- Topic: Installing FreeBASIC in Linux HOWTO
- Replies: 27
- Views: 19350
- Jul 24, 2010 15:27
- Forum: Sources, Examples, Tips and Tricks
- Topic: Fade test : Remanance test of old green CRT monitor
- Replies: 5
- Views: 2701
- May 13, 2010 18:59
- Forum: Beginners
- Topic: Can this snippet be written without an Exit For?
- Replies: 14
- Views: 2567
KristopherWindsor: Very nice. It never did occur to me that the increment was explicit in the for-loop in C. And yes, I did not doubt that this snippet exercise was small enough such that we did not have to worry too much (at all, even!) about having to run a loop 49 times or keeping 100 integers in...
- May 12, 2010 16:31
- Forum: Beginners
- Topic: Can this snippet be written without an Exit For?
- Replies: 14
- Views: 2567
Thanks for all the suggestions!
Well, this has been quite an exercise, and for me as well. After looking at your snippets and some thought (some of which I did while I was trying to answer my Analysis test!) I came up with my own fixed snippet. It doesn't do away with the "accept" variable but it refrains from calling &q...