Ooops
September 22, 2021, 07:18:20

Author Topic: I finally Finshed My Specdrum Clone  (Read 1306 times)

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
I finally Finshed My Specdrum Clone
« on: June 03, 2021, 18:14:35 »
Its taken a few months to finally get it working !!!!

Many younger people in here may not remember the Specdrum drum machine software for the Spectrum 48k machine
in 1985 it was a very cheap hardware add on for the computer which then the user would load from a tape the software

it was a hit for £25 and it supported 8 samples in memory at once and played them through the hardware which was a dac converter chip which then converted the data to a audio sample ok for its time they were 3bit but at that time was clear enough to use as a drum machine.

The default samples were

1 bass brum
2 snare
3 hi tom
4 lo tom
5 cowbell
6 hi hat closed
7 open hi hat
8 clap

there were 4 kits supplied on cassette

1 Standard kit
2 AfroKit
3 ElectroKit
4 LatinKit

I have made my Specdrum clone as close as i can to the original i have made it available for both Windows and Mac 64bit
i did originally write it with blitzmax 32 bit and then everything went heywire lol 64 bit showed its pretty little face and then blitzmax NG come on to the scene and well i had to rise to the challenge and convert all my code to make it run on 64 bit and its finally done.

i will post some photos from the original and from my version

cheers

Lee

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #1 on: June 03, 2021, 18:43:24 »
here are some old and new pics so far hope they work ok

lee

Offline Pingus

  • Full Member
  • ***
  • Posts: 135
Re: I finally Finshed My Specdrum Clone
« Reply #2 on: June 03, 2021, 21:10:35 »
Can't wait to see (and hear) a video !

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #3 on: June 04, 2021, 07:10:53 »
Yes will add video later

Cheers

Lee

Offline iWasAdam

  • Hero Member
  • *****
  • Posts: 2452
Re: I finally Finshed My Specdrum Clone
« Reply #4 on: June 04, 2021, 12:08:42 »
Great project - I had the datel drum sampler back in the day ;)

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #5 on: June 05, 2021, 22:40:13 »
can we add videos in here ???? or do they have to be streamed from youtube for example ???

lee

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #6 on: June 06, 2021, 22:25:24 »


here is the video :)

please excuse my commentary i cant do voice overs very well :)

lee

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3228
  • elgol
Re: I finally Finshed My Specdrum Clone
« Reply #7 on: June 06, 2021, 22:39:19 »
Fantastic work!  I still have a working 48K ZX Spectrum and waiting on a ZX Spectrum Next, so to see your work pushing old hardware is great to see.   8)
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry pi 3, pi 4, pi 400, BBC B, C64, ZX Spectrum

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #8 on: June 06, 2021, 22:46:01 »
 ;D

Thank you :)


Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #9 on: June 06, 2021, 22:52:04 »
i still use it as i mentioned in the video you can load your own samples in to it and create new kits too with the kit editor

, there is one thing i want to add to it but cant get my head around is reversing the samples , i want some code that can turn the ogg samples around make them play backwards at the flick of a switch and then i can save them

i will work on it

my next update will be using velocity for each note only 3 stages like a low mid and hi velocity on the older drum machines they were called accent.

:)

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #10 on: June 08, 2021, 12:53:11 »
Are we allowed to post the files here so people can download etc...?

Lee

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 3228
  • elgol
Re: I finally Finshed My Specdrum Clone
« Reply #11 on: June 08, 2021, 12:54:30 »
Quote
Are we allowed to post the files here so people can download etc...?

Yes, just attach the files to your post.
Windows 10 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
MacOS Big Sur 64-bit, 8Gb RAM, Intel i5 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB
Linux Mint 19.3 64-bit, 16Gb RAM, Intel i5 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb)
Raspberry pi 3, pi 4, pi 400, BBC B, C64, ZX Spectrum

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #12 on: June 09, 2021, 22:50:26 »
cool , i am just cleaning up little bugs i have found and some quicker bits of code then i will upload

1 for mac 64bit and windows 10 64bit :)

lee

Online Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: I finally Finshed My Specdrum Clone
« Reply #13 on: June 12, 2021, 01:39:36 »
... there is one thing i want to add to it but cant get my head around is reversing the samples , i want some code that can turn the ogg samples around make them play backwards at the flick of a switch and then i can save them
..

This can be done very easy. Create new TAudioSample with the same size and parameters of the original and then copy all samples datas in reverse order from original to new object.


Code: BlitzMax
  1. original:TAudioSample = LoadAudioSample("snare.ogg")
  2.  
  3. reverse:TAudioSample = CreateAudioSample(original.length, orignal.hertz, original.format)
  4. ReadPointer:Short Ptr  = original.Samples
  5. WritePointer:Short Ptr = reverse.Samples
  6.  
  7. For local i%=0 to original.length-1
  8.    WritePointer[i] = ReadPointer[originl.length-1-i]
  9. Next
 
(code not tested, only written on the fly in this post)

works if the audio file uses a 16bit format.
« Last Edit: June 12, 2021, 01:42:06 by Midimaster »
See my current project on PlayStore: 20Tracks-Audio-Player https://play.google.com/store/apps/details?id=midimaster.twentytrackd

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #14 on: June 12, 2021, 16:28:54 »
oh thats interesting , will give that a shot

thanks

lee

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal