Recent

Author Topic: The sound of the universe;)  (Read 11588 times)

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: The sound of the universe;)
« Reply #30 on: November 05, 2020, 04:07:35 pm »
Interesting too is the sounds of the planets (here they include Pluto as planet):

https://www.youtube.com/watch?v=IQL53eQ0cNA

But there is something that puzzle me.

Imho, sound needs a support to transmit the wave, like a gaz or a liquid or solid, so how to get noise in space where there is only nearly vacuum?

They probably focus some radiotelescope on the object and they record activity in one of spectrum - https://en.wikipedia.org/wiki/Electromagnetic_spectrum. Then they play recorded data as an audiofile. They have to choose the speed of playing not only to fit in audible 20Hz-20kHz but also to make the final sound attractive and interesting.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Fred vS

  • Hero Member
  • *****
  • Posts: 3778
    • StrumPract is the musicians best friend
Re: The sound of the universe;)
« Reply #31 on: November 05, 2020, 05:17:00 pm »
Interesting too is the sounds of the planets (here they include Pluto as planet):

https://www.youtube.com/watch?v=IQL53eQ0cNA

But there is something that puzzle me.

Imho, sound needs a support to transmit the wave, like a gaz or a liquid or solid, so how to get noise in space where there is only nearly vacuum?

They probably focus some radiotelescope on the object and they record activity in one of spectrum - https://en.wikipedia.org/wiki/Electromagnetic_spectrum. Then they play recorded data as an audiofile. They have to choose the speed of playing not only to fit in audible 20Hz-20kHz but also to make the final sound attractive and interesting.

Yes, that make sense.
But if they "pitch" the wave to fit in audible 20Hz-20kHz it is not the sound of the planet.

Now if they really use "human" microphones (audible 20Hz-20kHz) installed on a satellite maybe it works if the planet has a thin atmosphere enough to transmit the wave.

Maybe.

I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Kays

  • Hero Member
  • *****
  • Posts: 632
  • Whasup!?
    • KaiBurghardt.de
Re: The sound of the universe;)
« Reply #32 on: November 05, 2020, 05:18:05 pm »
[…] He played on the pipe organ of the Hamburg Musikhalle (now Laeiszhalle) - but in double speed. What a great artist he was! […]
OMG, he invented nightcore?
Yours Sincerely
Kai Burghardt

mpknap

  • Full Member
  • ***
  • Posts: 155
Re: The sound of the universe;)
« Reply #33 on: November 05, 2020, 05:55:42 pm »
 

For the image you may use BGRABitmap library.
https://github.com/bgrabitmap/bgrabitmap

For the sound, if you want to play sounds from files or memory, produce sine-wave sounds or combine both, you may use uos library.
https://github.com/fredvs/uos/

Also available through the Online Package Manager.
Main Menu --> Package -->  Online Package Manager --> UOS


I give up. It was just an idea, a curiosity. While I could manage graphics and graphics analysis, I don't know much about sound. UOS library is a problem for me .... Thx :)

Fred vS

  • Hero Member
  • *****
  • Posts: 3778
    • StrumPract is the musicians best friend
Re: The sound of the universe;)
« Reply #34 on: November 05, 2020, 06:09:46 pm »
UOS library is a problem for me .... Thx :)

Hello.

May I ask you what kind of problem?
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

mpknap

  • Full Member
  • ***
  • Posts: 155
Re: The sound of the universe;)
« Reply #35 on: November 05, 2020, 06:33:01 pm »
There are many examples, but not the simplest one that interests me. Loading e.g. 5 WAV files, playing them one after the other or simultaneously, and changing their modulation (pitch, speed, special effect / echo).
I thought it could be done quickly, and it looks like the UOS needs to be known for a long time, and I don't have time.

Thaddy

  • Hero Member
  • *****
  • Posts: 18729
  • To Europe: simply sell USA bonds: dollar collapses
Re: The sound of the universe;)
« Reply #36 on: November 05, 2020, 06:49:52 pm »
@winni
He never could write for piano ay maximum its predecessor pinanoforte.
https://nl.wikipedia.org/wiki/Johann_Sebastian_Bach
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Fred vS

  • Hero Member
  • *****
  • Posts: 3778
    • StrumPract is the musicians best friend
Re: The sound of the universe;)
« Reply #37 on: November 05, 2020, 06:56:50 pm »
There are many examples, but not the simplest one that interests me. Loading e.g. 5 WAV files, playing them one after the other or simultaneously, and changing their modulation (pitch, speed, special effect / echo).
I thought it could be done quickly, and it looks like the UOS needs to be known for a long time, and I don't have time.

Maybe you miss the one you need: consolesynth.lpi

It is a console program that shows how to produce sythe sine-wave.
In the demo, the wave is mono-phonic but you may easy produce polyphonic wave too:

Code: Pascal  [Select][+][-]
  1. ...
  2. uses
  3. uos_flat;
  4. ...
  5. var
  6. inindex1,  inindex2, inindex3 : integer; // the waves, how many you want
  7.  
  8. const
  9. PlayerIndex1 = 0;
  10. ....
  11. procedure init_wave;
  12. begin
  13.    uos_LoadLib(Pchar('system'), nil, nil, nil, nil, nil) ; // load portaudio only
  14.  
  15.    uos_CreatePlayer(PlayerIndex1);
  16.  
  17.    // create how many waves you want to do poly-phony
  18.  
  19.     inindex1 := uos_AddFromSynth(PlayerIndex1,420,-1,-1, 0, -1, 0, -1, -1 );  
  20.  
  21.     inindex2 := uos_AddFromSynth(PlayerIndex1,620,-1,-1, 0, -1, 0, -1, -1 );
  22.  
  23.     inindex3 := uos_AddFromSynth(PlayerIndex1,320,-1,-1, 0, -1, 0, -1, -1 );
  24.      ....
  25.  
  26.      // output to sound card
  27.      uos_AddIntoDevOut(PlayerIndex1);
  28.  
  29.    // OK, produce the poly-wave
  30.    uos_Play(PlayerIndex1);
  31.    
  32. end;
  33.  
  34. procedure change_frequnecy_live; // method to use to change live the freq
  35. begin
  36.  
  37. uos_InputSetSynth(PlayerIndex1,inindex1, new_value1, -1,-1, -1, true);
  38. uos_InputSetSynth(PlayerIndex1,inindex2, new_value2, -1,-1, -1, true);
  39. uos_InputSetSynth(PlayerIndex1,inindex3, new_value3, -1,-1, -1, true);
  40.  
  41. end;

 



« Last Edit: November 05, 2020, 07:05:34 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

mpknap

  • Full Member
  • ***
  • Posts: 155
Re: The sound of the universe;)
« Reply #38 on: November 05, 2020, 07:14:41 pm »
Great! I really missed Consolesynth.
What is that sound ? BEEP? How to replace it e.g.
  Ring.WAV?

Fred vS

  • Hero Member
  • *****
  • Posts: 3778
    • StrumPract is the musicians best friend
Re: The sound of the universe;)
« Reply #39 on: November 05, 2020, 07:21:24 pm »
Great! I really missed Consolesynth.
What is that sound ? BEEP? How to replace it e.g.
  Ring.WAV?

Sorry but I dont understand.

The sound you get when playing consolesynth comes from a (or multi) sine-waves created by uos.
You may change the frequency, the volume and the wave kind.

This consolesynth program dont use any .wav file or resource.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3778
    • StrumPract is the musicians best friend
Re: The sound of the universe;)
« Reply #40 on: November 05, 2020, 07:40:06 pm »
[…] He played on the pipe organ of the Hamburg Musikhalle (now Laeiszhalle) - but in double speed. What a great artist he was! […]
OMG, he invented nightcore?

Afaik, nightcore increases the speed and the pitch (tune), like when you increase the speed of a LP Vinyl.

Emerson increases the speed but keep the original pitch (stretching).
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

mpknap

  • Full Member
  • ***
  • Posts: 155
Re: The sound of the universe;)
« Reply #41 on: November 05, 2020, 07:58:37 pm »

 

Sorry but I dont understand.
 

The question was supposed to be: Can instead of this sound generated by UOS,  can be played the sound from a file e.g. .WAV?

lucamar

  • Hero Member
  • *****
  • Posts: 4217
Re: The sound of the universe;)
« Reply #42 on: November 05, 2020, 08:38:12 pm »
https://www.whosampled.com/sample/92207/Led-Zeppelin-Heartbreaker-(Live)-Johann-Sebastian-Bach-Bouree-in-E-Minor/

If we're going to talk of Bach's Bouree, the referent in this era is Jethro Tull's version. And before anyone says "that's not rock", in Anderson's own words: "The flute is a heavy, metal instrument!"* :D


* It has more impact in the original ad, with a flute in a smith's workbench surrounded of metal shavings ;)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

J-G

  • Hero Member
  • *****
  • Posts: 966
Re: The sound of the universe;)
« Reply #43 on: November 05, 2020, 09:46:30 pm »
@winni
He never could write for piano at maximum its predecessor pinanoforte.
https://nl.wikipedia.org/wiki/Johann_Sebastian_Bach
Not quite right Thaddy, The predecessor to the 'Piano' was generally called the FortePiano though it could arguably be the Harpsichord or Clavichord since Cristofori created the FortePiano by combining the attributes of both of those to achieve greater volume than could be created on the Harpsichord.

The correct name of the instrument we have now is the PianoForte.
FPC 3.0.0 - Lazarus 1.6 &
FPC 3.2.2  - Lazarus 2.2.0 
Win 7 Ult 64

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: The sound of the universe;)
« Reply #44 on: November 05, 2020, 10:35:27 pm »
Thanx J-G for the clarification.

For the non musicians:

There are more similarieties than differences between the harpsicord and the piano.
The harpsicord is the legal predecessor of the piano. { harpsicord := pred(piano); }

* The harpsicord has less keys than the piano
* The piano hammers the strings, the harpsicord picks them
* The number of strings per tone is doubled in piano. Thus the piano needs a metal frame. The harpsicord has a wooden one.

I played it sometimes because my mother  owned one. But I was more interessted in the mechanics of the "machine".

For the non native english speakers: in Italy and Germany it is called "Cembalo".

Winni

 

TinyPortal © 2005-2018