Search found 14 matches

by experimental-design
Fri Sep 13, 2019 5:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets Program with MSYS2 + CMake
Replies: 10
Views: 188

Re: Building wxWidgets Program with MSYS2 + CMake

Thank you both for the help! I was able to build the small program with Codeblocks without problems. I did need to move the wx/wx.h and wx/precomp.h header files to main.cpp, include winsock before wx, and add -lws2_32 to link winsock for boost asio use. I will try to get this to work with CMake. I ...
by experimental-design
Fri Sep 13, 2019 5:03 am
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets Program with MSYS2 + CMake
Replies: 10
Views: 188

Re: Building wxWidgets Program with MSYS2 + CMake

The headers are in main.h and SimpleSerial.h . Here is a small program that uses the same headers and gives the same errors. main.h #ifndef _OSGVIEWERWX_H_ #define _OSGVIEWERWX_H_ #include "wx/defs.h" #include "wx/app.h" #include "wx/cursor.h" #include "wx/glcanvas.h" //to work with openscenegraph o...
by experimental-design
Thu Sep 12, 2019 3:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets Program with MSYS2 + CMake
Replies: 10
Views: 188

Re: Building wxWidgets Program with MSYS2 + CMake

Sorry. I read your post too quickly and missed that part. Warnings In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/winsock.h:36, from C:/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:92, from C:/msys64/mingw64/include/wx-3.0/wx/msw/wrapwin.h:65, from C:/msys64/mingw64/includ...
by experimental-design
Thu Sep 12, 2019 2:59 pm
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets Program with MSYS2 + CMake
Replies: 10
Views: 188

Re: Building wxWidgets Program with MSYS2 + CMake

I get the error when building my application.

wxWidgets version is 3.0.4.
by experimental-design
Thu Sep 12, 2019 3:58 am
Forum: Compiler / Linking / IDE Related
Topic: Building wxWidgets Program with MSYS2 + CMake
Replies: 10
Views: 188

Building wxWidgets Program with MSYS2 + CMake

I am trying to build a wxWidgets program I made in Linux on Windows 10 using MSYS2 and CMake. Compilers used are gcc version 9, g++ version 9 of MinGW 64-bit. I managed to configure the build successfully with this command. cmake .. -G "MSYS Makefiles" -DwxWidgets_CONFIG_EXECUTABLE=/mingw64/bin/wx-c...
by experimental-design
Tue Aug 27, 2019 8:32 pm
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Re: Timeline Track Editor wxWidgets only

Update 6: I fixed the large CPU usage issue. CPU usage has drastically decreased to little more than half of its usage and performance has greatly improved. It was fixed by calling Refresh() only when needed after a point was added to or removed from graph. Also event.Skip() was called at end of res...
by experimental-design
Sat Jul 06, 2019 9:46 pm
Forum: Announcements and Discoveries
Topic: Timeline Track Editor
Replies: 0
Views: 245

Timeline Track Editor

I posted this in Code Dump, but I think it is ready to actually get a review. This is a general GUI template code to get people started on using a graphical timeline with tracks to edit a double-type variable or audio. No audio editing, just loading audio and playback. https://github.com/adct-the-ex...
by experimental-design
Sat Jul 06, 2019 9:42 pm
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Re: Timeline Track Editor wxWidgets only

Update 5: I fixed a critical bug that caused the program to crash whenever a graph point was removed! It was just a really dumb mistake of passing the last iterator from vector and assuming that iterator was the iterator pointing to the element that was pushed back into vector. It was actually the s...
by experimental-design
Tue Jul 02, 2019 4:04 pm
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Re: Timeline Track Editor wxWidgets only

Thanks! You made my day.

I haven't gotten feedback, but the good news is most of the views on the github project come from this forum.
by experimental-design
Mon Jul 01, 2019 8:49 pm
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Re: Timeline Track Editor wxWidgets only

Minor Update 4.1

-Improved graphing of audio to be more accurate.
-Fix most audio playback issues. Can now start audio playback at any point and rewind and fast forward audio.
by experimental-design
Wed Jun 19, 2019 6:09 pm
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Re: Timeline Track Editor wxWidgets only

Update 4: Added capability to handle audio. OpenAL Soft and libsndfile libraries need to be installed. -Added AudioTrack to handle data operations and graphing for audio. -Added StereoAudioTrack to graph mono audio data and stereo audio data and audio playback. -Added MonoAudioTrack to graph mono au...
by experimental-design
Tue Jun 11, 2019 2:09 am
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Re: Timeline Track Editor wxWidgets only

Update 3:

Added ability to call separate functions for separate playback states such as play, pause, rewind, fast forward, null(state after stop button pressed).
by experimental-design
Fri May 31, 2019 11:27 pm
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Re: Timeline Track Editor wxWidgets only

Big Update: -Added ability to pass functions to execute during playback only during state of play. -Updated README.md for better instructions. For an example of how to create a custom class that uses DoubleTrack as a member in a Track derived class see soundproducer-track.cpp and osgViewerWx.cpp in ...
by experimental-design
Mon May 27, 2019 8:00 pm
Forum: The Code Dump
Topic: Timeline Track Editor wxWidgets only
Replies: 8
Views: 1153

Timeline Track Editor wxWidgets only

I needed some sort of GUI with a timeline and track editor for my binaural audio editor to change a variable with time. I noticed that there wasn't code for a timeline track editor for wxWidgets that was freely available and easy to copy and integrate. So I made my own and released it under the BSD ...