Ooops
September 19, 2021, 09:28:53

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

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #30 on: June 14, 2021, 19:46:09 »
i will upload a version without your mod installed and set it to freeaudio

you compare

i have posted the miniaudio version on the Specdrum 2 topic for windows

i will post the freeaudio version install them and you tell me which is fastest

lee


Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #31 on: June 14, 2021, 20:40:33 »
here you go midimaster download this version its all the same code but with freeaudio sdl windows 10 pro 64bit

https://share.bublup.com/ui/landing_page?item_id=001-i-a189011f-1136-43eb-9abb-f191d231e8b4

and this version is with your miniaudio added still using playsound

https://share.bublup.com/ui/landing_page?item_id=001-i-5a50eedd-c534-4d97-b163-c6e8e3f10f81

and when you test them go into the program and press S on the keys

this will let you play the sounds by hitting the keys

do the freeaudio first

then do yours

and tell me your findings

the only code i added was :-

Code: [Select]
Import mima.miniaudio
Global MiniAudio:TMiniAudio=New TMiniAudio
Function MyCallBack(a:Byte Ptr, PlayBuffer:Short Ptr, RecordingBuffer:Short Ptr, Frames%)
' do something with the samples
End Function
MiniAudio.OpenDevice( MiniAudio.PLAYBACK, Miniaudio.FORMAT_S16, 2, 44000, MyCallBack)

MiniAudio.StartDevice()

to the top of my program

and it works spot on

no latency at all

Lee



Offline Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: I finally Finshed My Specdrum Clone
« Reply #32 on: June 14, 2021, 22:39:04 »
this sounds strange... FreeAudio has 60msec on Windows if you do not decide any driver but use the default. Without the source code I cannot check what happens.

I downloaded your link and installed the app. But the app did not work as expected. First test was to use the window close button and this did not work. Second strange thing was the manual. It is in DOC-format. Normally I would expect something like a HTML-document or a PDF. But never a (dangerous) DOC.
Third thing was the Menu. The app started with the MIDI-Port selection. After ENTER I could not do anything. The option C was blinking, but there was no reaction on any key. At the end I had to stop the app via TASK MANAGER.


Do you plan to publish the source code too? I would have a look on it.
See my current project on PlayStore: 20Tracks-Audio-Player https://play.google.com/store/apps/details?id=midimaster.twentytrackd

Offline Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: I finally Finshed My Specdrum Clone
« Reply #33 on: June 14, 2021, 23:01:12 »
....
Quote
you had a little typo in the code:
Code: WritePointer = ReadPointer[original.length-1-i]

Quote
needs to be:Code: WritePointer = ReadPointer[original.length-1-i]
This is the code you sent me :)

Lee

Do we still have a problem with brackets in the SyntaxBomb-Software? This is what I see:

Screenshot:
« Last Edit: June 14, 2021, 23:13:54 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 #34 on: June 14, 2021, 23:24:51 »
Ok run the program

Midi page selection

Press escape

Main menu

At flashing cursor type 1 and press enter

Div beat type 8 press enter

Song info page press escape

Back to main menu

Press S

Hit keys 1 to 0 for the sounds


Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #35 on: June 14, 2021, 23:26:25 »
Do that on both versions and you will see what i mean

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #36 on: June 14, 2021, 23:27:33 »
The manual is written word for Microsoft

Lee

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #37 on: June 14, 2021, 23:29:20 »
I will post a video of it tomorrow and show you the differences if you cant get it running

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #38 on: June 14, 2021, 23:30:58 »
You must make sure it installs to the default install path you cant put it anywhere

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #39 on: June 14, 2021, 23:37:09 »
The program works fine

You were not choosing the song number
Then you need to type a div beat 8 is suffice
Prwss enter
Then song info
Press escape
Back to main menu all functions work fine

I will convert the manual

Lee

Offline wadmixfm

  • Full Member
  • ***
  • Posts: 137
Re: I finally Finshed My Specdrum Clone
« Reply #40 on: June 14, 2021, 23:39:07 »
If you go back to page 1 of this topic there is a video showing you what to do

Lee

Offline Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: I finally Finshed My Specdrum Clone
« Reply #41 on: June 14, 2021, 23:45:09 »
with your detail instructions i was able to use both versions now. Your are right there is a significant latency difference between both versions. do you pland to publish the source code?
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 #42 on: June 15, 2021, 00:00:41 »
No there is a lot

But as you see the latency is better with miniaudio in windows but i have not used it on the mac

Lee

Offline Midimaster

  • Sr. Member
  • ****
  • Posts: 363
    • Midimaster Music Education Software
Re: I finally Finshed My Specdrum Clone
« Reply #43 on: June 15, 2021, 00:03:57 »
but without having a look on the code I cannot find out why the latency changes. I would not have expected this. Do you have any code line related to audio drivers etc...?
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 #44 on: June 15, 2021, 07:45:48 »
Yeah i will post it later

Lee

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal