A basic Music tracker inside gd5? #2320
Replies: 25 comments 2 replies
-
I'm not against to turn GD in to an all-in-one tool, only would like to comment on that GD is compete with fantasy consoles and consoles becoming more popular because of the built-in tools. I don't think it is the case. The consoles are not popular only because of the tools built-in but also because the purpose of the console is to have fun and enjoy your time with the console like you do with a real console or did back in the old Amiga days. Many talented and experienced programmers do jump in to the fantasy consoles because of the culture, nostalgia, and to have fun. It is unlikely to happen to GD simply because GD is meant to be used to make games for today hardware and today market while the consoles are meant to be used to make games for a fantasy hardware with limited resolution, input, colors, memory..etc and share them on a fantasy market usually with full source for free. Fantasy consoles are completely different culture, I don't think GD ever going to compete with fantasy consoles simply because GD is about real game development for real hardware and real market, fantasy consoles are about playing games in the first place and to make games for a fantasy hardware and share them on a fantasy market. GD doesn't have this. If GD would have a market to share games that people can download, play and change and redistribute completely FREE, maybe then we could say GD compete with fantasy consoles but it is not going to happen because people not going to share their games with full source for free as long GD can export to real platforms. GD and other game dev tools are completely different culture. I know some console can export to HTML5 to let people share their creations outside the fantasy market, but the limitations for input, memory, resolution..etc still apply which is make them less suitable for targeting real market and it is not the point of the fantasy consoles anyway. |
Beta Was this translation helpful? Give feedback.
-
@ddabrahim You make a good point. We dont have a board where people can share playable games. We can use itch.io instead for now |
Beta Was this translation helpful? Give feedback.
-
GDevelop by itself used not to provide creation tools for images/sounds but it's true that having Piskel integrated make life easier for prototyping and even for 8bit/pixel art, so the whole experience of game creation is enhanced. While I still think, as ddabrahim pointed, that GDevelop is more about "real" game development than fantasy console (which are a great thing but the way! I wasn't aware it was existing), it can be interesting to have third parties tools like Piskel if:
This could indeed be working like this :) |
Beta Was this translation helpful? Give feedback.
-
Thank you @4ian :) It is certainly to have it as an option - like piskel. I agree on all of the points.
The ones I looked into are a mixed bag. Bassoon tracker seems to be most maintained and best in terms of quality, but I need to use it more to be sure.
This will need to be researched, I think that point is important too.
Thanks to you it can be- you laid down the foundations with piskelbridge. The tracker will be in the very same way completely optional. It wont change how music is currently loaded.
Bassoon seems to be the best option again - as its code seems to be getting more updates, but it would be good to keep this in the air and look around.
That is the biggest reason to consider it for me. I strongly believe that it does provide great value and that can clearly be seen by all the wonderful music that is made inside tic80 and pico8 and shared across the web. If we find a tracker that has the same simplicity and charm- it can easily start the same trend with gdevelop projects
Without it being open source, it won't be possible to embed imo From the two I think that the sound effects generator will be easier to integrate and is also easier to pick. Both would of course first need the ability to store metadata into sound resources. The metadata feature can be quite valuable further down the road imo |
Beta Was this translation helpful? Give feedback.
-
Update on Bassoon tracker. I posted a feature request on their tracker and notified the dev about my intention to bundle a copy of his/her tracker: After looking more into it, the tracker seems to already have a great community of users and a lot of community made content - both in terms of songs and instruments. |
Beta Was this translation helpful? Give feedback.
-
Cool :) Something that may not be big, but beware of the phrasing "it lacks the fundamental ability" => "fundamental" is subjective as it seems to work for a lot of people without it - and that could bother the maintainers/authors :) |
Beta Was this translation helpful? Give feedback.
-
@blurymind Also maybe I missed something but I can read in the README:
🤔 |
Beta Was this translation helpful? Give feedback.
-
Yes, the Web demo can export wav files 😋 |
Beta Was this translation helpful? Give feedback.
-
@zatsme for some reason I couldn't get it to render a working audio file of the demo songs. The author of bassoon clarified that due to memory limitations it is constrained to rendering only one of the 4 pattern channels. That said he is actually quite a cool guy and offered some solutions to rendering all 4. I will explore the options and see what can be done. The web demo is incredible. It can even fetch community made music and instruments straight from the editor. Bassoon is hands down the best html5 tracker atm imo |
Beta Was this translation helpful? Give feedback.
-
After reading the issue you referenced I wonder why we can't access the mod file directly from gdevelop, this would seem the easiest solution as no change is required on the tracker side, and it would give gdevelop access to more music files in the mod format. 🤔 |
Beta Was this translation helpful? Give feedback.
-
The current audio engine is Howler.js - it is based on webaudio API and has great support for all browsers (see more on https://howlerjs.com/)
|
Beta Was this translation helpful? Give feedback.
-
I think of finding a library to render the mod file to a wav during the export process in this case, so the game engine uses wav/ogg in the end. I found a few js modplayers so far: I will give it a few days and in the meantime play with integrating the sound effects generator-as its easier to solve |
Beta Was this translation helpful? Give feedback.
-
Actually more advantages in using mod files by the game engine appear when you consider being able to dynamically change the playback speed, the volume of some channels and even pitch.It could be used to create atmosphere, but as @4ian says I dont know if there is a good multiplatform library to process them on the engine side |
Beta Was this translation helpful? Give feedback.
-
I moved out all the sound effects posts to another issue post for feedback - so as not to clutter this one. Some update on Bassoon - the developer of the tracker has looked into saving wav files and suggested some solutions: If we want to use bassoon we have three options
All of this is due to memory restrictions on the browser side See this post for better explanation: I personally agree with him on:
If I knew more about gd.js, I would try to add support for mod files in it. For that somebody more experienced is required. If we get the export part solved, embedding bassoon will be the easy part. I think I can do it within a week |
Beta Was this translation helpful? Give feedback.
-
That bassoon tracker player would be too awesome for us to use. Mod playback built into gdevelop would be a killer feature for many 😍😍😍 |
Beta Was this translation helpful? Give feedback.
-
Adding a mod player to the engine seems like the best approach to this, but it also requires some work on the engine side and testing if it functions on all platforms. Adding the tracker itself to the newIde won't be hard to do and we actually have its developer's blessing too - much like we did with piskel Bassoon's dev made a really good point about the perks of having support for mod/xm music:
Reduced file size would be beneficial for both web and mobile platform where that is important. Google has a limit on APK file size you can publish In order to load mod files, the js extension api needs to be able to include them in published projects and have access to them. Here is the documentation: Of course the option to go with soundbox instead is still here, but soundbox has much less features and the actual performance in it is not as good. Bassoon really is the best html5 tracker out there imo |
Beta Was this translation helpful? Give feedback.
-
For the game engine, I think all of this should be doable using extensions. You can use resources of type "audio" and get their filenames from resources in the game engine.
|
Beta Was this translation helpful? Give feedback.
-
@4ian thank you for explaining this. I will give it a try once the sound effects generator is complete and I add support for storing layers in piskel. With this feature and the awesome new reusable functions feature gdevelop5 is becoming a very powerful engine 😺 |
Beta Was this translation helpful? Give feedback.
-
@4ian since basson can not export mp3/wav files without relying on an external server and internet connection, we will have to go with mod files alone here. In that case I wonder where to store the metadata to. Can I make a custom gd resource (mod) and set/get metadata on it - all via the js extension api? |
Beta Was this translation helpful? Give feedback.
-
@4ian presented a temporary mod file loading workaround, so I can start writing an extension: Will give this a try once the dialogue tree extension is ready |
Beta Was this translation helpful? Give feedback.
-
Cool! With an extension to play the mod files and an external editor to have the tracker inside the IDE, that will be really great 😄 |
Beta Was this translation helpful? Give feedback.
-
Hello, is this thread still active? I just started with GDevelop this month and would love to have music-making options from within GDevelop. What actions should be taken to achieve this? How can one help? |
Beta Was this translation helpful? Give feedback.
-
An extension that plays mod files needs to first be implemented. It will
wrap bassoon tracker's player library.
A new mod file resource type has to be added to the ide.
That should be easy to do, just got a bit sidetracked with the tilemap
extension. If someone wants to pick this one up, I can do some mentoring on
it?
Once GD can play mod files, another pr has to be done to bundle bassoon
tracker to create and edit them- similar to how jfxr is bundled
…On Sat, Mar 28, 2020, 10:44 PM Antar Kuri ***@***.***> wrote:
Hello, is this thread still active? I just started with GDevelop this
month and would love to have music-making options from within GDevelop.
What actions should be taken to achieve this? How can one help?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#689 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRRWVI2G524JDGJQNOT2F3RJZ4VHANCNFSM4FZOHTLQ>
.
|
Beta Was this translation helpful? Give feedback.
-
https://github.com/mbitsnbites/soundbox has to be second best atm. There is an online demo here: other ones: https://www.igorski.nl/experiment/efflux/ https://github.com/deskjet/chiptune2.js/ is a very nice library for playing module music, its built on the libopenmpt library and has support for many formats. |
Beta Was this translation helpful? Give feedback.
-
I don't see how soundbox is better than bassoon. It has a much smaller set
of features, its guthub is severely outdated/abandoned in comparison.
I would recommend going with something that has recent commits.
Also basoon will give us both the tracker and the runtime mod player. No
need to use different ones for each
…On Sat, 30 Apr 2022, 17:37 Danil_2461, ***@***.***> wrote:
Description
There is a new type of game engines out there that many indie developers
seem to be hopping on. The fantasy console. https://tic.computer/
https://www.lexaloffle.com/pico-8.php
https://store.steampowered.com/app/767240/BASIC8/ ...and many others
The allure of these engines imo is in having everything required to create
a game in one IDE - a map editor, a code editor, a sprite editor and ..a
music tracker with a sound effect generator! That makes them very fun to
use, because the developer can quickly explore all aspects of their game
idea- including the music. The music tracker may not be very advanced- but
it is simple to use and really fast at getting results. examples:
https://www.youtube.com/watch?v=gQf4vkQXJUM
https://www.youtube.com/watch?v=HPu-Jkdf8uQ
Gdevelop now has it's own built in pixel editor, which almost puts in the
fantasy console scene, but minus any restrictions imposed by design. There
is potential here :D
Now this may sound a bit nuts at first, but please hear me out. This is
something that can be easily added to gdevelop, once you can insert
metadata to game objects - much like how piskel layer data could be
inserted as metadata. In the same vain, the actual music tracker data can
be stored as a json string and be edited directly inside gdevelop embedding
a tracker/ sound effect generator.
Solution suggested
My suggestion here is once I sort out storing layer piskel data, to try to
embed one of the open source js trackers, so one can make music for their
game directly inside gdevelop.
For music creation There already are a few html5 trackers that are tiny
and and can be embedded via electron: This one is my favorite:
http://www.stef.be/bassoontracker/?file=demomods%2Fdemomusic.mod
https://github.com/steffest/BassoonTracker
https://github.com/mbitsnbites/soundbox has to be second best atm. There
is an online demo here: http://sb.bitsnbites.eu/
other ones: https://github.com/gridsound/daw
https://www.igorski.nl/experiment/efflux/
So in summary, I believe that if we can add built in capabilities to
gdevelop to also rapid prototype music, it would make the editor even more
fun for creative types. People who are into fantasy consoles will jump ship
to gdevelop, as it will give them a similar experience but without the
limitations.
The thing is,I still need to explore js music trackers before deciding if
this is worth doing
For music creation
There already are a few html5 trackers that are tiny and and can be
embedded via electron:
This one is my favorite:
http://www.stef.be/bassoontracker/?file=demomods%2Fdemomusic.mod
https://github.com/steffest/BassoonTracker
https://github.com/mbitsnbites/soundbox has to be second best atm. There
is an online demo here:
http://sb.bitsnbites.eu/
other ones:
https://github.com/gridsound/daw
https://www.igorski.nl/experiment/efflux/
https://github.com/deskjet/chiptune2.js/ is a very nice library for
playing module music, its built on the libopenmpt library and has support
for many formats.
—
Reply to this email directly, view it on GitHub
<#2320 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRRWVKS74ML5AJL2DR3JMLVHVOVBANCNFSM5PGTSSBA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Description
There is a new type of game engines out there that many indie developers seem to be hopping on.
The fantasy console.
https://tic.computer/
https://www.lexaloffle.com/pico-8.php
https://store.steampowered.com/app/767240/BASIC8/
...and many others
The allure of these engines imo is in having everything required to create a game in one IDE - a map editor, a code editor, a sprite editor and ..a music tracker with a sound effect generator! That makes them very fun to use, because the developer can quickly explore all aspects of their game idea- including the music. The music tracker may not be very advanced- but it is simple to use and really fast at getting results.
examples:
https://www.youtube.com/watch?v=gQf4vkQXJUM
https://www.youtube.com/watch?v=HPu-Jkdf8uQ
Gdevelop now has it's own built in pixel editor, which almost puts in the fantasy console scene, but minus any restrictions imposed by design. There is potential here :D
Now this may sound a bit nuts at first, but please hear me out.
This is something that can be easily added to gdevelop, once you can insert metadata to game objects - much like how piskel layer data could be inserted as metadata.
In the same vain, the actual music tracker data can be stored as a json string and be edited directly inside gdevelop embedding a tracker/ sound effect generator.
Solution suggested
My suggestion here is once I sort out storing layer piskel data, to try to embed one of the open source js trackers, so one can make music for their game directly inside gdevelop.
For music creation
There already are a few html5 trackers that are tiny and and can be embedded via electron:
This one is my favorite:
http://www.stef.be/bassoontracker/?file=demomods%2Fdemomusic.mod
https://github.com/steffest/BassoonTracker
https://github.com/mbitsnbites/soundbox has to be second best atm. There is an online demo here:
http://sb.bitsnbites.eu/
other ones:
https://github.com/gridsound/daw
https://www.igorski.nl/experiment/efflux/
So in summary, I believe that if we can add built in capabilities to gdevelop to also rapid prototype music, it would make the editor even more fun for creative types. People who are into fantasy consoles will jump ship to gdevelop, as it will give them a similar experience but without the limitations.
The thing is,I still need to explore js music trackers before deciding if this is worth doing
In any case, what do you guys think? Is this a crazy idea? Do you know of any html5 trackers that would be amazing for gamedev?
Beta Was this translation helpful? Give feedback.
All reactions