CPCWiki forum

General Category => Demos => Topic started by: BSC on 17:44, 21 November 20

Title: More 1-bit-engine experiments
Post by: BSC on 17:44, 21 November 20
Good news everyone!

I have been experimenting again:

https://soundcloud.com/betasoftcologne/4bit-sweeping-demo?in=betasoftcologne/sets/amstrad-cpc-music-and-experiments
Title: Re: More 1-bit-engine experiments
Post by: BSC on 20:25, 21 November 20
And here you can see a corroscope recording of it:


https://youtu.be/z_mUrv-3ebo (https://youtu.be/z_mUrv-3ebo)
Title: Re: More 1-bit-engine experiments
Post by: GOB on 16:42, 23 November 20
hi, can you explain the principle of this type of sound? Mixture of two "curves"?
Title: Re: More 1-bit-engine experiments
Post by: BSC on 21:35, 23 November 20
Quote from: GOB on 16:42, 23 November 20
hi, can you explain the principle of this type of sound? Mixture of two "curves"?

It's actually a mix of 4 oscillators, each 1 Hz away from the next, i.e. at 400, 401, 402 and 403 Hz.
They start beating because the peaks keep wandering relative to another. I also change the "waveform"
in between, i.e. the tone envelope representing high and low and each waveform is played at 3
different, increasing frequencies

Here's a great (albeit a bit long) video by the great guys at Khan Academy explaining the beating effect:

https://www.khanacademy.org/science/high-school-physics/x2a2d643227022488:waves/beats-and-interference-of-sound-waves-2/v/beat-frequency
Title: Re: More 1-bit-engine experiments
Post by: GOB on 22:46, 23 November 20
Thank you :)
Title: Re: More 1-bit-engine experiments
Post by: BSC on 00:18, 01 December 20
And even more! I love those harsh sounds never heard before on the CPC :)

https://soundcloud.com/betasoftcologne/cocio-and-finsprit-6-channel-preview
Title: Re: More 1-bit-engine experiments
Post by: GOB on 14:35, 21 October 22
have you continued to experiment on this principle? Could a tracker possibly be planned?
Title: Re: More 1-bit-engine experiments
Post by: BSC on 16:55, 21 October 22
Quote from: GOB on 14:35, 21 October 22have you continued to experiment on this principle? Could a tracker possibly be planned?

I have done a bit, but nothing new to showcase, even though I have some ideas which I might or might not realize sometimes. A tracker would absolutely be possible, but this engine takes all CPU, just like sample playback. I am pondering about converting Soundtrakker tunes for this engine, because I have most of the tools (almost) ready. 

There's actually a cool tracker project that I was hoping to join, but it's written in Scheme (yikes), so that's not going to happen anytime soon. Have a look here: https://github.com/bintracker/bintracker
Title: Re: More 1-bit-engine experiments
Post by: GOB on 21:47, 21 October 22
Take all CPU ok, but why not making it on cpc+ using dma ?
Title: Re: More 1-bit-engine experiments
Post by: roudoudou on 07:52, 22 October 22
Quote from: GOB on 21:47, 21 October 22Take all CPU ok, but why not making it on cpc+ using dma ?
DMA will lack of precision, at least 64x less precise than pure CPU synchronisation (for a 400Hz sound the next is +/-10Hz)
Title: Re: More 1-bit-engine experiments
Post by: GOB on 10:14, 22 October 22
Yes of course.
Title: Re: More 1-bit-engine experiments
Post by: WacKEDmaN on 16:19, 22 October 22
this is cool as!
...the start of the vid above sounds alot like the PlayStation1 startup sound
Title: Re: More 1-bit-engine experiments
Post by: Nemo59 on 10:40, 04 December 22
I wonder if one can just use the CPC firmware for this. I will test with your example. If it works it will take zero cpu from the point of view of the user. I use this in my small Star Trek animation. 
Title: Re: More 1-bit-engine experiments
Post by: BSC on 13:21, 04 December 22
Quote from: Nemo59 on 10:40, 04 December 22I wonder if one can just use the CPC firmware for this. I will test with your example. If it works it will take zero cpu from the point of view of the user. I use this in my small Star Trek animation.
You can see the source here: https://z80live.amstrad.info/edit/CwAxFR4sPMMghPoMp

Looking forward to your implementation using firmware and zero CPU ;-)
Powered by SMFPacks Menu Editor Mod