[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: codercpp.png (17 KB, 327x320)
17 KB
17 KB PNG
Good morning, tea, coffee, and a cheesecake.

I'm crying out for a MIDI plugin for Construct Classic, a free game builder https://sourceforge.net/projects/construct/

As it turns out, it doesn't support the .mid format. Older versions before 0.98.3 and systems before Windows Vista supported it in the DirectSound.csx plugin.

The source code is available at https://github.com/aolko/construct/ but it doesn't include the DirectSound plugin. Perhaps it's been converted to XAudio2.csx, which contains libraries for several formats.

Can anyone with C++ knowledge help? The forums say the project used Microsoft Visual Studio 2008.
If it can't play MIDI files directly, then maybe it can play MIDI files via hex commands.
>>
>>108609400
quick LLM question for
how to play midi files on windows? in my C++ program

gives several options. perhaps just do that - add some library to play midi - and do it yourself?
unless it must be coupled more with your construct thing
>>
>>108609400
just convert the midi file to mp3 or whatever.
>file size
it's like 1mb or so for a good bitrate 1min song.
I personally use audacity for recording audio, you just set the microphone to a speaker or something for lookback recording. I like using an old version of synthfont for playing custom soundfonts (but I think you could import a midi into a music program and set the instruments to VST's or whatever, that would help with exporting the audio without needing audacity, and synthfont will not export to mp3 or maybe not, I don't know).
I do like midi because sometimes it might keep playing an instrument when you pause the audio (like the classic windows player), but there are songs that have really long notes, and it would be annoying if you want to transition to different music.
>1mb is too big
It's not, many game engines are like 30mb+ for the binary. If construct was 1mb or less, I can see the appeal but if you did save like 4mb from your project (4 mins of audio), I don't think anyone would care, and also I think you need to download a mp3 player that supports midi just to play midi files since I think the new windows media player can't play midi files (if people wanted to play the music files).
>>
>>108609507
Yes, it is the plugin for Construct Classic that is needed.

>>108609651
MIDI is a must.
It would be even better if the plugin could use its own .sf2 file.
>>
>>108609400
>>
>>108609400
MIDI hasn't been used in games for a long time, I don't know why, but I think there's something to it.
>>
>>108609400
BUMP
>>
>>108609400
BUMP2
>>
File: fff.png (61 KB, 732x732)
61 KB
61 KB PNG
>>108609400
If this were possible in C++, developers have long since made a separate plugin.
>>
>>108615350
Is it that bad?
>>
>>108614991
I would just starting writing new plugin, using the correct/modern library for midi
>>
File: midi_in_playsmf_nosound.mp4 (3.21 MB, 1280x720)
3.21 MB
3.21 MB MP4
Hello, dear friends!
Regarding launching MIDI in Construct Classic.
One option is to launch MIDI files via playsmf.exe (https://github.com/MrBMueller/playsmf)
But this isn't very convenient and there's a delay.

I had to delete the audio track.
See, even here they skimp on sound.
https://limewire.com/d/hGxrO#NeoQFBl7Bx
>>
>>108618114
All hope is on you



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.