Search found 853 matches
- Sat Jan 22, 2022 9:16 am
- Forum: Linux
- Topic: Gadget size differents ???
- Replies: 11
- Views: 2576
Re: Gadget size differents ???
The sizes are not correct because of gtk css styles. The minimum sizes are stored in these. So buttons, etc. always have a minimum size. Will changing the sizes in those gtk css styles have any effect when the compiled program runs on another (user) computer ? Or does this user also have to change ...
- Fri Jan 21, 2022 4:09 pm
- Forum: Linux
- Topic: Gadget size differents ???
- Replies: 11
- Views: 2576
Gadget size differents ???
Hi, I'm quit new on linux (Ubuntu, Raspberry Pi). Latest PB version 6.00 beta 2. Trying to use some code made earlier on windows, I notice quit a difference in size of the gadgets. Also when imported as form (.pbf). For example the TextGadget seems to keep it's size height, but the ButtonGadget is q...
- Thu Jan 20, 2022 11:24 am
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Re: Transform C source into PB...
midiOutShortMsg_() is a windows API. Also midiOutLongMsg_(). I'm working on linux now (Ubuntu) and Raspbian PI OS. There I need to use the ALSA library. So espêcialy for those APIs are equivalents needed. To me it looks like this snd_rawmidi_write(...) can handle both long and short messages. I need...
- Thu Jan 20, 2022 9:58 am
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Re: Transform C source into PB...
infratec that's all about windows API's, using things like this : midiOutShortMsg_(.....)
Also the other sources here on the forum.
Those are clear to me. Now I'll need it to do the ALSA way.
Thanks.
Also the other sources here on the forum.
Those are clear to me. Now I'll need it to do the ALSA way.
Thanks.
- Thu Jan 20, 2022 8:17 am
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Re: Transform C source into PB...
Downloaded that manual already. Thanks.
I that sysex source is ment to be used on Linux (Raspbian here to) I hope I'll find the link.
I that sysex source is ment to be used on Linux (Raspbian here to) I hope I'll find the link.
- Wed Jan 19, 2022 1:59 pm
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Re: Transform C source into PB...
infratec, I got my mt4 midi interface working. After a few hours searching I found this site, which gave the solution. https://www.spinics.net/lists/alsa-devel/msg50236.html Now I got it working, so far that I can already use the common midi messages. Sysex and timed messages will be the next thing....
- Tue Jan 18, 2022 12:36 pm
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Re: Transform C source into PB...
infratec, Yes, that had to be an address. Thanks. In all attempts to get it to work I had changed I removed that @-sign, no better result. If I replace those RGB values (which are correct) by sending 3 separate bytes, the result is still no output. The write function itself then does return the numb...
- Mon Jan 17, 2022 12:00 pm
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Re: Transform C source into PB...
What is wrong in these (selfmade linux-beginners) setup ? I'm trying to send a note, but nothing apears in my midi-monitor. The function snd_rawmidi_write(*midiout, noteon, 3) returns always -14, which is EFAULT, but why ? After the noteof the program exit happens to be more then 10 seconds without ...
- Sat Jan 15, 2022 11:21 am
- Forum: Bugs - IDE
- Topic: Add/Remove Marker with function key doesn't work.
- Replies: 2
- Views: 557
Re: Add/Remove Marker with function key doesn't work.
Ok, here still PB 6.00 b1 on Ubuntu 20.04.
- Sat Jan 15, 2022 9:28 am
- Forum: Bugs - IDE
- Topic: Add/Remove Marker with function key doesn't work.
- Replies: 2
- Views: 557
Add/Remove Marker with function key doesn't work.
Is it a bug ? At least a small mall functioning...
Add/Remove Marker with function key doesn't work.
Ctrl + F2 it can't be set probably with all other F-keys.
Ctrl + 2 is possible.
Add/Remove Marker with function key doesn't work.
Ctrl + F2 it can't be set probably with all other F-keys.
Ctrl + 2 is possible.
- Tue Jan 11, 2022 9:32 am
- Forum: Tricks 'n' Tips
- Topic: Handle an external program via stdin/out/error
- Replies: 46
- Views: 13168
Re: Handle an external program via stdin/out/error
In general it should allow to receive and send data to a console program. ... infratec thank you. Just tried it under Win-XP and it works with that included example. Nice. As the terminal is also a console program (I suppose, yeah my level of coding... low)... yeah, I remember you didn't recommend ...
- Mon Jan 10, 2022 12:09 pm
- Forum: Tricks 'n' Tips
- Topic: Handle an external program via stdin/out/error
- Replies: 46
- Views: 13168
Re: Handle an external program via stdin/out/error
This topic title really appeals to me, but I have no idea how to work with this source or what can be done with it.
Can someone give a simple outline of how to use this code ?
Thanks.
Can someone give a simple outline of how to use this code ?
Thanks.
- Thu Jan 06, 2022 9:47 am
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Re: Transform C source into PB...
infratec, You gave me some links before, but searching for that structure, I always arrived at the same pages circling around this base : https://www.alsa-project.org/alsa-doc/alsa-lib/ I didn't know that I had to look inside those .h-files (header-files) to find that structure. Now that I kbow it's...
- Wed Jan 05, 2022 10:59 am
- Forum: Coding Questions
- Topic: Transform C source into PB...
- Replies: 13
- Views: 1314
Transform C source into PB...
Hi, All is about the ALSA library. How do I setup this : snd_rawmidi_info_t *info; in PB ? In C it's written as : typedef struct _snd_rawmidi_info snd_rawmidi_info_t If I do call : snd_rawmidi_info_sizeof() I get a size of 268 bytes, so it should be some kind of structure instead of one variable(*in...
- Tue Jan 04, 2022 11:05 am
- Forum: Linux
- Topic: Compiler crashes when trying to run PB.
- Replies: 16
- Views: 1946
Re: Compiler crashes when trying to run PB.
Hi, It works. I restarted by extracting the .tgz file on my Ubuntu system instead of on windows and placing it on an USB stick. Did nothing more then remove the old map and the hidden one, then replaced it by the extracted one. Did no extra install's as I asume they would be there still. Yeah it wor...