1 (edited by Shiru 2017-07-07 14:25:52)

Topic: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Yet another new VSTi in my collection - plugin that allows to use a modern DAW to create the lovely horrible oldschool single channel PC speaker music, like old DOS games had when no sound card has been installed. I mean, like Monkey Island or Lotus III had.

The best part is that the end result can be used not just in the DAW like usual, but also exported as data to be used in actual programs. A QBasic player example is included, for shit and giggles.

Here is small MP3 demo

Download the plugin


A side note, this is my first plugin with GUI, programmed all in plain WinAPI. What an unpleasant experience it was.


http://shiru.untergrund.net/temp1/pcspe_screen.png

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Also, Peter Sovietov just said that he did a similar thing in the past, that plays sound through the actual PC Speaker, using WinAPI's Beep function. Too bad that newer Windows (7 and above) does not use actual speaker for this anymore. Anyways, download here.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Love the demo tune!

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

ah, I like this very much! It works fine with LMMS. But the sound is strange if we play several instance / channels together (maybe because I'm using the wine "emulator"):

http://picosong.com/WBP2/ (the exported version sounds a bit different from the one during replay, but it's quite similar anyway).

Here is this lovely tune with only one voice: http://picosong.com/WBCd/

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

I confirm the issue. Seems that the output level is just too high, so adding another one brings major clipping. Quick solution is to reduce output volume of each instance of the plugin in your DAW.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

oh, I've tried several things, but didn't realise it was because of the output level. It works perfectly now, thank you!

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Good. Updated the download with halved output gain version, just in case.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Logging format has been changed a little bit, more formats added, and whole exporting thing is impoved in general. For one, you can export specified part of the song, or the whole song, without need to cut out the silence inbeginning and end, by marking beginning and end of exporting area with any change for controllers 20 (begin) and 21 (end).

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Another small update. Multi mode added - you can use a few fixed pitch instruments on the same MIDI channel using different notes, which is useful for drums. Minor fixes as well.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

thanks Shiru!

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

http://picosong.com/wCEYV/

Re-wrote the Space Quest 3 intro using PCSPE and Shiru's convolution matrix. Tx Shiru <3

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Nice one!

Can you show a screenshot of how it looks in your DAW? I'm interested to see if my readme explains the intended workflow clear enough, and how you arranged the things.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

13 (edited by castpixel 2018-05-01 20:12:29)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Of course! You explained it perfectly.

Using FLstudio's MidiOut plugin, I output a bass, lead, BD and snare to PCSPE at their respective midi channel.

I ended up ditching the Bass track, however, I found it's much easier to write the bass in the same track as the lead (so I can use bass inside the arpeggio)

The BD and snare drum are as short as possible, to give some room to the melodic parts

Post's attachments

pcspe1.png 63.79 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Updated a little bit, fixed the annoying GUI flickering during plugin load.

Also a shameless plug, just released ChipWave, a synth plugin that has many characteristics of old sound chips such as AY, SID, POKEY, as well as some features that come from 1-bit synthesis. You may find it interesting.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

15 (edited by garvalf 2018-06-25 19:24:01)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Shiru, this ChipWave VST is indeed very interesting! I like it very much!

I've begun a short tune with it, it's a WIP yet, but it's only using your synth, no other one (but some reverb and eq effects): https://instaud.io/2iSe

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

do you think it would be possible to compile it on Linux for getting a native vst? But it looks there are some windows only calls in this one...

17 (edited by Shiru 2018-06-10 07:29:09)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

The GUI is Windows only both in PCSPE and ChipWave, pure WinAPI, no third-party libraries there. You can't do anything regarding that for PCSPE, as it really needs the GUI to be functional. For ChipWave you can just delete the GUI code, and it will work just fine with the default interface - it actually started as a GUI-less plugin, was fully developed, then GUI has been added to the top.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

18 (edited by garvalf 2018-06-10 16:31:31)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

amazing... I managed to remove the references to the GUI and compile it on Linux!!
Basically I've added #include <cstdlib> at the beginning, I've downloaded the SDK from https://github.com/steinbergmedia/vst3sdk (there is the link to steinberg's website), and I've followed the help there: http://teragonaudio.com/article/Buildin … Linux.html

Then I've run those commands:
g++ -fPIC -c -I/tmp/VST_SDK/VST2_SDK -D__cdecl="" chipwave.cpp
g++ -shared  -o chipwave.so *.o

and got the chipwave.so VST in Linux format!

And the best part is it's working in Ardour (which cannot load VST in windows format, unfortunately, but as a workaround I was using the Festige app which can load windows VST in .dll and it can be rerouted to Ardour using Jack)

I've put my binary there if someone is interested: http://garvalf.online.fr/var/upload/temp/chipwave.so

https://i.imgur.com/taatMEJ.png

19

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Haha, achievement unlocked I'd say wink

For PCSPE, I'd be interested in porting it to LV2 some day. Not happening anytime soon though, I guess.

20 (edited by Shiru 2018-06-23 12:54:23)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

In case anyone interested, I also released a drum synth counterpart to ChipWave - ChipDrum. It is capable for some1-bit'ish sounds too.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

nice as well!
I've compiled it for linux, but I doubt it's very usable without the specific GUI: http://garvalf.online.fr/var/upload/temp/chipdrum.so

I'll try to use it with chipwave in my next tune!!

22 (edited by garvalf 2018-08-07 07:09:26)

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

I've started a new track with ChipWave, and ChipDrum as well, here is the WIP: https://instaud.io/2wyP

I've also finished my previous track, but I might expand it in the future: https://battleofthebits.org/arena/Entry/The+Ride/29099/

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Did another VST, this time a thing similar to the generative music from one-line C programs: http://shiru.untergrund.net/files/evalua.zip

This one got x64 support (comes in two versions). It starts to be the main issue with all of my plugins, people are always asking for 64-bit support. So it seems you have to have 64 bit to promote 1 bit technologies these days. Going to update all of my synths to x64 support sometime soon, as well as some maintenance for PCSPE.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)

24

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

Very cool. Considering the popularity of bytebeat & co has only been growing over the years, I imagine this could become quite popular.

Also yup, I guess 32-bit is on its way out. Not a big fan of this development, but I don't have 32-bit compatibility on my main machine anymore either, as it mainly just increases the number of packages that need to be updated. Then again you should just come over to the dark side and develop for *nix wink Guess in a few years Microsoft will to switch to a Linux kernel for Windows anyway.

Re: PCSPE VSTi - create oldschool PC Speaker music with a DAW

I'm doing a really niche stuff that is barely getting any feedback, and it is a truly demotivating thing. Moving to a niche platform with much lesser user base, especially of the target audience (music producers), that is also happens to have no money to offer (zero job offers for desktop *nix in two decades for me), is a sure way to kill any and all remaining desire to do anything at all. x64 support is just a necessary evil to keep it up now, and it is relatively easy to do.

A true story: in 2002 or so I had to break any interaction with a friend, because he moved to Linux completely (he's a web designer, so GIMP and a text editor was all he needed) and developed a habit of calling me even so often and spend long hours simply repeatedly telling me that I should drop Windows ASAP, and start to program for Linux, because Linux is the new greatest thing in universe and Windows is shit and going to die out soon anyway. This kind of advertising worked very well in alienating me from this stuff up to this day.

website - 1bit music - other music - youtube - bandcamp - patreon - twitter (latest news there)