Main Menu

News:

SyntaxBoom, now with pwetty syntax highlighted code boxes! \o/ 

https://www.syntaxboom.com/forum/index.php?topic=96

Shoutbox

Jackdaw

2025-10-16, 20:00:40
Going to have to try bourbon and beans. That should be an explosive combination.

Baggey

2025-10-16, 13:15:42
I sometimes mix a chicken vindaloo and a Tika Masala together. Awesome  :P

Dabzy

2025-10-16, 05:49:34
And doing the act was the realisation I went for an indian when out... 20mins I was in the thunderbox waiting for me back chaff to cool down!

Dabzy

2025-10-16, 05:48:11
When I was on my "Year On The Blur", aka drinking after getting divorced, I was minging one night, couldnt remember getting home. Anyway, next day, went to work, and needed a poo...

GfK

2025-10-15, 21:39:05
I overdosed on jelly babies once and my arse was like the shooty gun bit at the start of James Bond

Amon

2025-10-15, 20:16:38
lol

Jackdaw

2025-10-15, 19:40:48
Never had a Phall or a tinderloo. But I have heard that your backside feels like that map at the start of every episode of Bonanza.

GfK

2025-10-15, 19:22:25
Never confuse phall with phallus

Baggey

2025-10-15, 18:30:58
My mate ate a phall one night. Even that was to hot for me. I bet he suffered in the morning!  :-[

Dabzy

2025-10-15, 18:02:52
I like nice and toasty bit of fire in my bait as well, I used to eat really red hot gear, but nowadays if I do... Heartburn happens! :(

Members
Stats
  • Total Posts: 1,814
  • Total Topics: 224
  • Online today: 17
  • Online ever: 232 (Oct 08, 2025, 09:18 AM)
Users Online
Welcome to SyntaxBoom. Please login or sign up.

Recent

Hardcoal's Music Projects..

Started by Hardcoal, Jun 08, 2025, 07:28 PM

Previous topic - Next topic

Hardcoal



Just Testing this..


This code is for copying a dragged file into your project Folder, if its not already there
Code  blitzmax Select
Strict

Function CopyFileIfNotExists(OriginalFileURL:String, DestinationFolderURL:String)  					'Copies file to Destination only if its not already there
	Local FN:String = ExtractFilenameFromURL(OriginalFileURL)
	Local NFU:String = DestinationFolderURL + FN
    		If FileExists (NFU) = False
		CopyFile(OriginalFileURL, NFU)
		Print "File copied to Destination"
    		End If
End Function

Function ExtractFilenameFromURL:String(FileNameAndPath:String, ReturnWithoutFileEnding = False, ReturnEvenIfNoFileEnding = True)	

	If ExtractExt(FileNameAndPath) = "" And ReturnEvenIfNoFileEnding = False Then Return
	
	Local LenFNA = Len(FileNameAndPath)
	
	For Local I = LenFNA To 1 Step - 1
	
		Local MidFNA:String = Mid(FileNameAndPath, I, 1)
		
		If MidFNA = "/" Or MidFNA = "\" Then

			Local MaybeFileName:String = Right(FileNameAndPath, LenFNA - I)

			If ReturnWithoutFileEnding = True Then MaybeFileName = StripAll(MaybeFileName)
			
			Return MaybeFileName

		End If
		
	Next
	
	Return FileNameAndPath	
End Function

Function FileExists(URLAndFilename:String = "")
	Local TempStream:TStream
	TempStream = OpenStream(URLAndFilename, False, False)
	If TempStream <> Null Then
		CloseStream(TempStream)
		Return True
	End If	
End Function
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Dabzy

That looks really neat and tidy that! :)

Very nice!

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Hardcoal

Thanks.. Ill post all what concerns Music/Audio under one Topic.
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Dabzy

There is a forum for general media discussion (scroll down the list), but if there is code involved, then yeah, might be better to stay in the realms of the BlitzMax bit!  8)

Dabz
Intel i7-13620H, nVidia GerForce RTX 4060 Laptop GPU (8GB GDDR6), 16GB LPDDR5X, 1TB SSD, Windows 11 x64 piss flap of an OS!

Hardcoal

#4
You can move it if you think its the wrong place. I dont mind :)

Just another image of a different project




Eventually my main goal is to make music.
so soon maybe ill be able to do it my way.

EDIT: I've shuffled it to the Worklogs section, I think that will be a better home for it as it's about your projects - Dabz
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Hardcoal



ONE subsection of my music project is cell recorder..
its like in ableton that you can press a cell and record and than
loop the whole Column..


https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Baggey

Quote from: Hardcoal on Jun 12, 2025, 02:27 PM

ONE subsection of my music project is cell recorder..
its like in ableton that you can press a cell and record and than
loop the whole Column..




Id love to know how to write something like this? Id love to write a tracker.

Baggey
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Hardcoal

I always love to help those who want help
and save them all the trouble i went through.
so if you have questions, ask..
also i have an idea to make one big shared library
like a type of an engine
same like modules but without compile so it can be accessed easily and
changed
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces

Baggey

Quotealso i have an idea to make one big shared library
like a type of an engine

Not sure what you mean by this?

Quotesame like modules but without compile so it can be accessed easily and
changed

Well that's a BIG LIKE from me  ;)

I try to access code where people try to help and you have to cmake and compile etc.. That's me stumpped! ::)
Running a Pc that just aint. Faster nough. I7-4Ghz, 32Gb Ram, 4Gb Nvidia, 2 x 1Tb SSD's, 2 x 24" LCD's

RETRO everything!

Jesus was only famous because of his Dad

Hardcoal

I might explain what i mean in a new post..
explaining the method i work
https://blitzmaxcoding.proboards.com/

Chat:  https://minnit.chat/MainHall2

Everything becomes easy, when you disintegrate it into pieces