Music & Sound Commands?
-
- Posts: 5
- Joined: Mon Jan 06, 2014 3:41 am
Music & Sound Commands?
is it me but I don't see where the music & sound commands are?
Any help would be greatly appreciated.
thanks
Any help would be greatly appreciated.
thanks
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music & Sound Commands?
You are right, currently there are no sound and music commands.
But they are planned to be implemented in the future.
By the way, their syntax and functionality is not defined yet. So any ideas and suggestions are welcome!
But they are planned to be implemented in the future.
By the way, their syntax and functionality is not defined yet. So any ideas and suggestions are welcome!
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Music & Sound Commands?
A few suggestions:
AIFF
Apple delivers several sound files on their Macs in the folder 'library>sounds'
They are in the Audio Interchange File Format (AIFF).
See http://en.wikipedia.org/wiki/Audio_Inte ... ile_Format
It would be nice if we could use these sounds.
As an example I attached a 'submarine'-sound. Play it on your Mac by double-clicking
ADSR
Another proposal is the ADSR ((Attack-Decay-Sustain-Release)) envelope together with a frequency and/or random noise generator. See http://en.wikipedia.org/wiki/Synthesizer#ADSR_envelope
NOISE with 'colouring'
In the ADSR form an explosion spound is quite easy to describe: random noise with an exponential decay.
A set of low-pass and/or highpass filters would be attractive to 'colour' the noise. Low frequencies are charactristic for explosion sound in the far distance.
MUSIC
I think that the interest of programmers is more in the category of 'sound', especially for games, than for music. The music facility of the 'Basic!'-app is not used on Misofts' forum. Users ask for 'sound' instead.
AIFF
Apple delivers several sound files on their Macs in the folder 'library>sounds'
They are in the Audio Interchange File Format (AIFF).
See http://en.wikipedia.org/wiki/Audio_Inte ... ile_Format
It would be nice if we could use these sounds.
As an example I attached a 'submarine'-sound. Play it on your Mac by double-clicking
ADSR
Another proposal is the ADSR ((Attack-Decay-Sustain-Release)) envelope together with a frequency and/or random noise generator. See http://en.wikipedia.org/wiki/Synthesizer#ADSR_envelope
NOISE with 'colouring'
In the ADSR form an explosion spound is quite easy to describe: random noise with an exponential decay.
A set of low-pass and/or highpass filters would be attractive to 'colour' the noise. Low frequencies are charactristic for explosion sound in the far distance.
MUSIC
I think that the interest of programmers is more in the category of 'sound', especially for games, than for music. The music facility of the 'Basic!'-app is not used on Misofts' forum. Users ask for 'sound' instead.
Last edited by Dutchman on Wed Jan 08, 2014 9:45 am, edited 1 time in total.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music & Sound Commands?
Very good.
I want this thread to be a collection of ideas dedicated to music-sound topic.
Also standard MP3 files should be played.
Also MIDI should be supported in some way.
I remember in the days of Commodore 128 (I had one) in that BASIC there was command like PLAY "C4..." and so on where notes were recorded as letters and numbers. As far as I remember, it was quite nice.
I want this thread to be a collection of ideas dedicated to music-sound topic.
Also standard MP3 files should be played.
Also MIDI should be supported in some way.
I remember in the days of Commodore 128 (I had one) in that BASIC there was command like PLAY "C4..." and so on where notes were recorded as letters and numbers. As far as I remember, it was quite nice.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music & Sound Commands?
I changed Forum settings, now AIFF extension is allowed for attachments.Dutchman wrote: I tried to attach the file 'Submarine.aiff' but got the messsage "The extension aiff is not allowed."
Therefore I changed the extension to '.txt'. Change it back to '.aiff' for play on your Mac.
- Dutchman
- Posts: 851
- Joined: Mon May 06, 2013 9:21 am
- My devices: iMac, iPad Air, iPhone
- Location: Netherlands
- Flag:
Re: Music & Sound Commands?
Mr. Kibernetik wrote:
An identical method is used in the Basic! app. See the manual on http://appball.com/basic/viewtopic.php?f=11&t=4447I remember in the days of Commodore 128 (I had one) in that BASIC there was command like PLAY "C4..." and so on where notes were recorded as letters and numbers. As far as I remember, it was quite nice.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music & Sound Commands?
Nice manual!
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music & Sound Commands?
From Commodore manual, music was generated like this:
Commodore manual is attached, for collection or reference (PLAY chapter there is 7.3.2.3).
Code: Select all
40 PLAY "CDEFGAB"
- Attachments
-
- Commodore 128 Manual.txt
- (612.46 KiB) Downloaded 337 times
-
- Posts: 814
- Joined: Tue Apr 09, 2013 12:23 pm
- My devices: iPhone,iPad
Windows - Location: Groningen, Netherlands
- Flag:
Re: Music & Sound Commands?
Like Dutchman, I'm strongly in favor for "sound" in stead of "music".
This could be done creating a sound "object" with basically two commands,
1. Creating, editing and deleting the caracteristics of a sound object
This would regard waveform, ADSR envelope, possibly filters
2. A "play" command like "PLAY <name of sound-object> , PITCH, DURATION (A+D phase)', FILTER usage"
When this is available, we can program our own "music" players if desired, even with different sound types.
This could be done creating a sound "object" with basically two commands,
1. Creating, editing and deleting the caracteristics of a sound object
This would regard waveform, ADSR envelope, possibly filters
2. A "play" command like "PLAY <name of sound-object> , PITCH, DURATION (A+D phase)', FILTER usage"
When this is available, we can program our own "music" players if desired, even with different sound types.
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Music & Sound Commands?
I think there will be nothing "instead".
There should be at least three categories:
- sounds generation (frequency, ...)
- music generation (notes, ...)
- playing sound files (MP3, ...)
There should be at least three categories:
- sounds generation (frequency, ...)
- music generation (notes, ...)
- playing sound files (MP3, ...)