|
Post by scalion on Jan 24, 2019 11:21:02 GMT 1
US : Hi all.
It's been a while since I wanted to create knobs. But I struggled a lot and I had never reached something pretty. This time I'm pretty happy with my result. I have also implemented a function that generates a sound according to some parameters: Frequency, Phases, Echo and Stereo Rotation for the most important ones. History to make the program a little more interesting. I hope you enjoy it as my code is freely copiable and distributable as usual. Have a nice day !
FR : - Bonjour les amis, ça faisait un bout de temps que je voulais créer des potentiomètres. Mais je galérais pas mal et je n'étais jamais parvenu à quelque chose de joli.
Cette fois-ci je suis plutôt content de mon résultat. J'ai de plus implémenté une fonction qui génère un son selon quelques paramètres : Fréquence, Phases, Echo et Rotation stéréo pour les plus importants. Histoire de rendre le programme un peu plus intéressant. J'espère qu'il vous plaira d'autant que mon code est librement copiable et distribuable comme d'habitude. Bonne journée à tous !
DE : - Hallo Freunde, es ist schon eine Weile her, seit ich Knöpfe machen wollte. Aber ich hatte viel zu kämpfen und ich hatte noch nie etwas Schönes erreicht.
Dieses Mal bin ich mit meinem Ergebnis ziemlich zufrieden. Ich habe auch eine Funktion implementiert, die einen Klang anhand einiger Parameter erzeugt: Frequenz, Phasen, Echo und Stereodrehung für die wichtigsten. Geschichte, um das Programm etwas interessanter zu machen.
Ich hoffe, Sie genießen es, da mein Code wie üblich frei kopierbar und weitergegeben werden kann. Guten Tag allerseits!
|
|
|
Post by ventilo25 on Apr 6, 2021 16:13:09 GMT 1
Très beau petit synthé, avec des potars comme autrefois. Je n'avais pas vu cette étonnante expérience...Bravo !
|
|
|
Post by scalion on Apr 7, 2021 6:27:40 GMT 1
Très beau petit synthé, avec des potars comme autrefois. Je n'avais pas vu cette étonnante expérience...Bravo ! Merci ! Le coté synthé c'était surtout pour rendre attrayant l'utilisation des potars. Avec DSound on peut faire du vrai synthé temps réel, je pense que je vais faire une mini démo pour ça. Il suffirait de jouer sur la longueur du wave data dans le waveinfoheader, et de mettre des modulateurs sur tout ce qu'on peut modifier en cours de lecture, volume frequence pan etc... on peut même faire du déphasage avec des lectures simultanés (effet flange).juste que l'écho ou la reverb c'est plus complexe. Dommage que je ne puisse pas me multiplier moi aussi de temps en temps pour finir mes 50 projets.
|
|
|
Post by Roger Cabo on Apr 10, 2021 4:02:31 GMT 1
This is really amazing what acknowledge you have in this case of sound and d2d! Very great.. I like to create for my music a small editor that is able to play 6 stereo wave files simultaneous. All 44.1Khz 24Bit. Length of each is about 4 seconds (tempo 120 bpm or different). Then I like to switch volume between in 32th/16th/8th/4th Notes by a graphic interface very exactly. I think the difficultly is to fade very fast but smooth between the single waves. To prevent clicks. For sure I like to use D2D as a graphic interface.
Is it difficultly to to create a base code that handles 6 or more stereo waves to play and switch between in gb32?
At least I like to have a: Track_LoadWave("Track1", trackNumber)
Track_UnloadWave(trackNumber)
Track_SetBaseVolume(Volume, trackNumber)
Track_PlayAll() Track_StopAll() Track_SetTrackVolumeOnPlay(volume, track) // for real-time action
Perhaps when I know how to do above I can to the rest.
Track_Loop(True/false, location LEFT, Location Right) Track_SetMainVolume(Volume) "find peak function" sampelPos = FindNextPeak(tracknumber, Volume > X, ms average ) or similar.
|
|
|
Post by scalion on Apr 10, 2021 6:36:44 GMT 1
Hi Roger, lol, you're everywhere today ! No i think that will not be difficult with my library DSounLib. Take a look on the help doc i writing (not finished actually)... I am sure you will be able to wrote your own function with this library but be patient I will be done soon!
EDIT :
I hope you found what your search, else i'm not far if you have question I think maybe you want a function to GET data from wave. i will write it, the lpdata and cbsise of DSFILEINFO structure have it , then it's not very difficult.
|
|