Method and system for music synthesis using hand-drawn patterns / text on digital and non-digital surfaces

By identifying patterns and mapping them to musical instruments, unlocking octaves and generating perspective sounds in real time solves the problem of insufficient multiplexing and interactivity of musical instruments in the existing technology, enabling multiplexing on digital and non-digital platforms and immersive music creation.

CN112262428BInactive Publication Date: 2024-09-17SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980038548.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-07-16
Filing Date
2019-07-04
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing technologies fail to provide multiple on-demand instruments on digital and non-digital platforms, limiting user interactivity and immersion when creating and synthesizing music, and the inability to customize parts of instruments or add background sound objects.

Method used

By identifying patterns and mapping them to instruments, it unlocks octaves in real time, generates perspective sounds, and allows users to generate and synthesize music through interactive input, enabling instrument multiplexing and text symbol interaction.

Benefits of technology

It enables the multiplexing of creating and synthesizing music on digital and non-digital platforms, enhances user interactivity and immersion, allows users to customize instruments and add background sounds, and improves the flexibility and richness of music creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112262428B_ABST
    Figure CN112262428B_ABST
Patent Text Reader

Abstract

The present disclosure relates to methods and apparatus for creating and composing music. The disclosed method includes obtaining at least one image including at least one object associated with at least one first musical instrument, identifying user input associated with the at least one object, mapping the at least one object to at least one second musical instrument, and generating sound based on the user input and sound data of the at least one second musical instrument.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a method and system for creating and composing music. Background Art

[0002] In the current technological era, we are interacting with many music devices in real life or using virtual / augmented reality and many useful devices or sensors based on different interaction modalities such as gesture-based interaction, voice-based interaction, touch-based interaction, click-based interaction, retina-based interaction, etc. The digitization of music has fundamentally changed every aspect of the industry, from the way music is recorded to the way albums are distributed and sold.

[0003] Electronic devices currently in use, including mobile devices, smart phones, tablet computers, computers, personal computers, laptops, etc., can use various applications to perform various functions. Some useful applications of these devices include entertainment, leisure and learning. Different styles or types of music can emphasize, weaken or omit some of these elements. Music is played with various instruments and vocal techniques from singing to rap. In addition, there are separate instrumental music, separate vocal music (such as songs without instrumental accompaniment) and music that combines singing and instruments.

[0004] The definition of "sound synthesis" includes combining elements of sound to make a desired sound. Sound synthesis can use existing sounds as elements or create new sounds electronically or mechanically. The world of synthesis is a complex one, and it has expanded exponentially in scope and methods from one of the earliest electronic musical instruments, the Theremin, to synthesizers and samplers. The main boost to audio synthesis is the application of digital technology to sound. As a result, the scope of synthesis has increased many times in a short period of time. Digital technology applied to synthesis has led to the formation of entirely new disciplines, such as visual programming languages ​​for multimedia (e.g., Maximum Signal Processing (MAX / MSP), Pure Data, Dither, etc.) that rely on computer code to generate sound. Digital technology has made it possible to compress the tones and thousands of hours of work of electronic equipment into a portable personal computer that can do the same work in seconds.

[0005] Musical instruments can be classified according to common uses (such as signal instruments), and categories can include instruments from different Hornbostel-Sax instrument classification systems, such as trumpets, drums, and gongs. Throughout history, various instrument classification methods have been used, such as European cultures classifying instruments according to orchestral instrument families. The most commonly used system divides instruments into keyboard instruments, string instruments, woodwind instruments, brass instruments, and percussion instruments, however, other schemes have been devised.

[0006] As such, there are many input devices that allow users to create, compose and control music. Such state of the art works with a combination of gestures, sensors, applications and touch screen enabled input devices or click based input devices, etc. The existing state of the art allows users to create and control music through gestures using some sensor enabled gloves. Users can use sensor enabled gloves by extending fingertips and palms on any solid surface (e.g. glass, wood, any board, wall, etc.) into musical instruments. The existing state of the art allows users to create music through touch screen events using some music based applications on different platforms. Users can use sensor enabled gloves by extending fingertips or fingers on touch enabled input devices.

[0007] Currently, it is not possible for a user to have multiple on-demand instruments. Users do not have features that allow drawing and playing on digital and non-digital platforms to make it more interactive and immersive. In addition, users cannot customize instruments, for example, draw complete parts / partial parts of instruments, draw notes in text / symbol form to generate synthetic sound effects based on the user's position, parameters and orientation. In addition, runtime modification in instruments or customization of any user needs is not available. It is not even possible for users to add background sound objects to synthesized music. Therefore, it is necessary to create a system and method that overcomes the above-mentioned shortcomings.

[0008] The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made and no claim is made as to whether any of the above information is applicable as prior art with respect to the present disclosure. Summary of the invention

[0009] Technical issues

[0010] Aspects of the present disclosure are to address at least the above-mentioned problems and / or disadvantages and to provide at least the advantages described below. Therefore, one aspect of the present disclosure is to provide a system and method for recognizing a pattern and mapping the recognition pattern to a musical instrument.

[0011] Another aspect of the present disclosure is to provide a system and method for creating and composing music.

[0012] Another aspect of the present disclosure is to provide a system and method for unlocking octaves of a musical instrument in real time.

[0013] Another aspect of the present disclosure is to provide a system and method for mapping musical parameters to musical instruments.

[0014] Another aspect of the present disclosure is to provide a system and method for generating perspective sound and additional background music using musical instruments.

[0015] Another aspect of the present disclosure is to provide a system and method for multiplexing musical instruments.

[0016] Another aspect of the present disclosure is to provide a system and method for interacting with text and symbols.

[0017] Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of embodiments of the disclosure.

[0018] Technical Solution

[0019] According to one aspect of the present disclosure, a method for creating and synthesizing music is provided. The method includes: acquiring at least one image from at least one of an existing database, a surface, and a camera, detecting at least one of a musical instrument, a part of a musical instrument, a user-defined interaction boundary, and / or background information from the acquired image, identifying at least one of a musical parameter or a background sound parameter based on the detection, mapping the musical parameter to at least one of the detected musical instrument, a part of a musical instrument, a user-defined interaction boundary, and / or background information from the acquired image, unlocking the octave of at least one detected musical instrument in real time, receiving the position, orientation, relative position, depth, and / or size of at least one musical instrument, receiving at least one interaction input based on the acquired image, and generating perspective sound based on at least one of the received interaction input, the relative position, orientation, or size of at least one musical instrument.

[0020] According to an aspect of the present disclosure, music is synthesized based on at least one of an interactive input or a background sound parameter.

[0021] According to another aspect of the present disclosure, a plurality of musical instruments are detected and also coupled to the detected at least one musical instrument.

[0022] According to another aspect of the present disclosure, the sound of at least one musical instrument is generated based on another musical instrument.

[0023] According to another aspect of the present disclosure, the perspective sound is generated based on at least one of a relative position of a user to the musical instrument and / or a relative position of a recognized object to the musical instrument.

[0024] According to another aspect of the present disclosure, a virtual reality (VR) device is capable of detecting a relative position of a user and a musical instrument.

[0025] According to another aspect of the present disclosure, the acquired image includes at least one of a hand-drawn image, a printed image, an image template, or text.

[0026] According to another aspect of the present disclosure, multiple users are identified and mapped to the musical instrument based on multiple surfaces.

[0027] According to another aspect of the present disclosure, music is generated and synthesized by multiple users based on at least one of the received interaction inputs, relative positions, orientations, or sizes of the musical instruments.

[0028] According to another aspect of the present disclosure, the acquired image is captured by at least one sensor on the electronic device.

[0029] According to another aspect of the present disclosure, the sensor is at least one of an optical sensor, an image sensor, an infrared sensor, and / or an electronic input sensor.

[0030] According to another aspect of the present disclosure, the surface is at least one of an electronic surface or a non-electronic surface.

[0031] According to another aspect of the present disclosure, an electronic surface generates an image file in an electronic format, and a non-electronic surface generates an image file in a non-electronic format.

[0032] According to another aspect of the present disclosure, the detection and identification are performed on at least one of a cloud server, a local server, or a user electronic device.

[0033] According to another aspect of the present disclosure, the music parameter includes at least one of an octave, a note, a note composition, and a scale.

[0034] According to another aspect of the present disclosure, the music parameters are configured to generate sound based on the user interaction input.

[0035] According to another aspect of the present disclosure, the user interaction input includes at least one of written notes or text of the at least one musical instrument.

[0036] According to another aspect of the present disclosure, the interactive input is generated by at least one of gesture, touch, voice, or stylus.

[0037] According to another aspect of the present disclosure, the synthesis operation includes at least one of the following items: generating musical notes based on interactive input on a hand-drawn image and mapping information; merging a set of musical notes generated by a set of interactive inputs on a set of hand-drawn images, and merging at least one musical note and background sound parameters generated by at least one interactive input on at least one hand-drawn image.

[0038] According to another aspect of the present disclosure, the method further includes: receiving at least one additional interactive input on the hand-drawn image, and synthesizing music based on the additional interactive input and background sound parameters.

[0039] According to another aspect of the present disclosure, the method further includes: updating at least one of the hand-drawn image or the image template, and synthesizing music based on at least one of the updated hand-drawn image or the image template.

[0040] According to another aspect of the present disclosure, the method further includes composing a music file based on the music synthesis.

[0041] According to an embodiment of the present disclosure, a system includes: a user device, which acquires at least one image from at least one of an existing database, a surface, a camera, and a server; a server, which detects at least one of a musical instrument, a part of a musical instrument, a user-defined interaction boundary and / or background information from the acquired image; an object mapping module, which maps at least one music parameter to at least one of the detected musical instrument, a part of a musical instrument, a user-defined interaction boundary and / or background information from a hand-drawn image; an octave unlocking module, which unlocks the octave of at least one detected musical instrument in real time; a sensor module, which uses a sensor unit to receive the position, orientation, relative position, depth and / or size of at least one musical instrument; an audio module, which receives at least one interaction input based on the acquired image; a generation module, which generates a perspective sound based on the received interaction input, at least one of the relative position, orientation or size of the at least one musical instrument; and a motion detection module, which detects at least one interaction input from a hand-drawn image.

[0042] According to an embodiment of the present disclosure, the system further includes: a processing module for synthesizing music based on interactive input.

[0043] According to another embodiment of the present disclosure, the system further includes: detecting a plurality of musical instruments and coupling the detected at least one musical instrument to the plurality of musical instruments.

[0044] According to another embodiment of the present disclosure, the sound of at least one musical instrument is generated based on another musical instrument.

[0045] According to another embodiment of the present disclosure, the perspective sound is generated based on at least one of a relative position of a user and a musical instrument and / or a relative position of a recognized object and a musical instrument.

[0046] According to another embodiment of the present disclosure, a virtual reality (VR) device is capable of detecting a relative position of a user and a musical instrument.

[0047] According to another embodiment of the present disclosure, the acquired image includes at least one of a hand-drawn image, a printed image, a template image, a digital surface pattern, a digital format image, or text.

[0048] According to another embodiment of the present disclosure, multiple users are identified based on multiple surfaces and mapped to the musical instrument.

[0049] According to another embodiment of the present disclosure, music is generated and synthesized by multiple users based on at least one of the received interaction inputs, relative positions, orientations, or sizes of the musical instruments.

[0050] According to another embodiment of the present disclosure, the hand-drawn image is captured by at least one sensor on the electronic device.

[0051] According to another embodiment of the present disclosure, the sensor is at least one of an optical sensor, an image sensor, an infrared sensor and / or an electronic input sensor.

[0052] According to another embodiment of the present disclosure, the surface is at least one of an electronic surface or a non-electronic surface.

[0053] According to another embodiment of the present disclosure, the electronic surface generates an image file in an electronic format, and the non-electronic surface generates an image file in a non-electronic format.

[0054] According to another embodiment of the present disclosure, the detection and identification are performed on at least one of a cloud server, a local server and / or a user electronic device.

[0055] According to another embodiment of the present disclosure, the music parameter includes at least one of an octave, a note, a note composition, and a scale.

[0056] According to another embodiment of the present disclosure, the music parameters are configured to generate sound based on the user interaction input.

[0057] According to another embodiment of the present disclosure, the user interaction input includes at least one of written notes or text of the at least one musical instrument.

[0058] According to another embodiment of the present disclosure, the interactive input is generated by at least one of gesture, touch, voice and / or stylus.

[0059] According to another embodiment of the present disclosure, the processing module includes at least one of the following items: a generating device, which generates at least one note based on the interactive input and the mapping of the hand-drawn image; a merging device, which merges at least a set of notes generated by the interactive input set of the hand-drawn image set, and also merges at least one note and background sound parameters generated by at least one interactive input of at least one hand-drawn image.

[0060] According to another embodiment of the present disclosure, the system further includes: a receiving device for receiving at least one additional interactive input of the hand-drawn image; and a processing module for synthesizing music based on at least one of the additional interactive input and / or background sound parameters.

[0061] According to another embodiment of the present disclosure, the system further includes: an updating device for updating at least one of the hand-drawn image or the image template; and a processing module for synthesizing music based on at least one of the updated hand-drawn image or the image template.

[0062] According to another embodiment of the present disclosure, the system further includes: a writing device for creating a music file based on music synthesis.

[0063] Other aspects, advantages, and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the accompanying drawings, discloses various embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent through the following description in conjunction with the accompanying drawings, in which:

[0065] Figure 1A A system overview according to an embodiment of the present disclosure is shown.

[0066] Figure 1B The architecture of a server according to an embodiment of the present disclosure is shown.

[0067] Figure 2 An object multiplexing architecture according to an embodiment of the present disclosure is shown.

[0068] Figure 3 is a flow chart illustrating the creation and synthesis of music according to an embodiment of the present disclosure.

[0069] Figure 4 A system architecture of a digital device for detecting any object on a surface according to an embodiment of the present disclosure is shown.

[0070] Figure 5A The mapping of drawing patterns to predefined objects according to an embodiment of the present disclosure is shown.

[0071] Figure 5B The unlocking of the octave according to an embodiment of the present disclosure is shown.

[0072] Figure 5C A user is shown interacting with multiple musical instruments according to an embodiment of the present disclosure.

[0073] Figure 5D Shown is a mapping of multiple musical instruments according to an embodiment of the present disclosure.

[0074] Figure 5E Octave mappings for multiple musical instruments are shown according to embodiments of the present disclosure.

[0075] Fig. 5F A mapping of notes to shapes for a musical instrument according to an embodiment of the present disclosure is shown.

[0076] Figure 5G A mapping of notes of an instrument to loaded shapes is shown according to an embodiment of the present disclosure.

[0077] Fig. 6APerspective-based sound generation according to an embodiment of the present disclosure is shown.

[0078] Figure 6B An example of perspective sound generation based on the size and position of a musical instrument according to an embodiment of the present disclosure is shown.

[0079] Figure 6C The diagram shows the mapping of multiple objects to predefined objects on a server according to an embodiment of the present disclosure.

[0080] Fig.6D Perspective sound generation based on user position according to an embodiment of the present disclosure is shown.

[0081] Fig. 7A Perspective sound generation based on user relative position according to an embodiment of the present disclosure is shown.

[0082] Figure 7B An example of perspective sound generation based on the relative position of a user according to an embodiment of the present disclosure is shown.

[0083] Figure 7C An example of perspective sound generation based on the relative position of the user's head and the head mounted device according to an embodiment of the present disclosure is shown.

[0084] Fig. 8A Mapping of printed images of musical instruments to predefined musical instruments according to an embodiment of the present disclosure is shown.

[0085] Figure 8B A user is shown interacting with a printed template of a musical instrument according to an embodiment of the present disclosure.

[0086] Fig. 9A A mapping of printed images of musical instruments according to an embodiment of the present disclosure is shown.

[0087] Fig. 9B Shown is the mapping of multiple musical instruments on a device according to an embodiment of the present disclosure.

[0088] Fig. 10A A user is shown interacting with a virtual assistant (VA) to map musical instruments according to an embodiment of the present disclosure.

[0089] Fig. 10B A user is shown interacting with a virtual assistant to map another musical instrument according to an embodiment of the present disclosure.

[0090] Fig. 10C A user is shown positioning and scaling / resizing multiple musical instruments mapped on a device according to an embodiment of the present disclosure.

[0091] Fig. 10D A user is shown interacting with a virtual assistant to map another object according to an embodiment of the present disclosure.

[0092] Fig. 10E A user is shown repositioning and interacting with three mapped instruments in accordance with an embodiment of the present disclosure.

[0093] Throughout the drawings, like reference numerals will be understood to refer to like parts, components and structures. DETAILED DESCRIPTION

[0094] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure, and the following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in understanding, but these specific details are considered to be exemplary only. Therefore, it will be recognized by those of ordinary skill in the art that various changes and modifications may be made to the various embodiments described herein without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and structures may be omitted for clarity and conciseness.

[0095] The terms and words used in the following description and claims are not limited to the bibliographic meanings, but are merely used by the inventor to enable a clear and consistent understanding of the present disclosure. Therefore, it should be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustration purposes only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.

[0096] It will be understood that singular forms include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.

[0097] Figure 1A A system overview according to an embodiment of the present disclosure is shown.

[0098] Reference Figure 1A , the system 100 includes various modules that handle operations such as motion detection and gesture recognition, drawn image recognition, mapping of the recognized image on a real musical instrument, finger / hand motion detection and corresponding mapping sound instrument note generation, and communication of the various components. The system is capable of scanning images taken from a camera module or drawn on a digital surface of a user device 102. The user device 102 pre-processes the image to isolate the noise level and extracts the object from the image. The error is reduced and the accuracy of the image is enhanced to accurately map the musical instrument or physical object. The image is also sent to the object detection module to be further shared with the server 116 for object recognition and mapping. The recognized object can be one of the predefined objects such as piano keys, guitar strings, percussion instruments, landscapes, real objects such as rivers, wind, chirping birds, etc.

[0099] The motion detection module 108 detects hand or arm motion to detect the type of pattern that the user is currently drawing. It detects the continuous motion of the arms, hands and fingers when the user draws or plays the drawn instrument. The passive infrared (PIR) motion detector detects infrared energy emitted by human body parts and identifies changes in energy levels, which are ultimately converted into motion detection and pattern recognition. The PIR motion detector sends a pre-processed image of the object drawn by the user to the server 116. Upon successful matching with the object, the object mapping module 110 receives the object information and the corresponding music file that may belong to a specific octave or an entire instrument note. If the user device 102 does not store the mapped musical instruments and objects locally, the object mapping module 110 may also request the server 116 to send the corresponding sound data based on the triggering of the motion detection module 108 or the image processing module 106. That is, the object mapping module 110 communicates with the sound generation module for generating real-time sound of the drawn pattern.

[0100] The server 116 is directly connected to the communication module 120 which handles single / multiple client requests simultaneously. The communication module 120 processes input received from the user for object recognition, object mapping, etc. The communication module 120 is capable of interacting with the internal components of the server 116 and the client module 132. The communication module 120 interacts with the management module 122 and the client module 132.

[0101] The client module 132 handles centralized services for the user and authenticates the user; the client module 132 also detects any changes in the user's location / orientation, processes user interaction input 138, and generates output 140. The client module 132 maintains a user profile 134, detects the user's physical location and orientation, receives user interaction input 138, and generates output 140.

[0102] The management module 122 has a sampler 128 that plays and records the generated music and is also responsible for sampling and synthesizing the requests received from the user(s) 126. The mapper module 126 performs object recognition and maps them to predefined objects 130. The mapper module 126 is also responsible for providing perspective sound input to the synthesizer 124 and assigning position and size sequence parameters to the identified objects. In addition, the storage medium stores the music generated for each user.

[0103] The sound generator module 112 works in real time based on input received from the object mapping module 110, and triggers the generation of sounds based on the real-time reception of recognized object sound data from the server 116. Any motion changes or newly drawn patterns sent from the object mapping module 110 cause the server 116 to send the corresponding sound files that can be played in real time. Therefore, the user's moving fingers or gestures will generate sounds in real time based on the sound generator module 112. The generated sounds will continue to add to the sounds that have been generated, and music that can be recorded and played back by the record and playback module 104 will be created. The generated sounds are sent to the ear-worn device 114, where the generated sounds are heard by the user. In addition, the record and playback module 104 records and stores the sounds when it receives the recognized object sound data from the sound generator module 112 through the object mapping module 110. The recorded files can be deleted, modified, or played back later.

[0104] Figure 1B The architecture of a server according to an embodiment of the present disclosure is shown.

[0105] Reference Figure 1B , a block diagram 150 of the server 116 is shown, and the server 116 provides a centralized device that can store, manipulate and access information. The server 116 receives continuous data from the user side, and the request can be of two types, with a request for a drawn pattern image for pattern recognition and object recognition, where the drawn pattern eventually becomes an object with attributes such as music file, instrument type, etc. Another request can be when the user extends the drawn pattern with more octaves or more objects and therefore for each object, the server 116 sends the corresponding set of mapped instrument notes to the user. There is a communication module 120 that handles single-user scenarios and multi-user scenarios. Multi-user scenarios are handled by creating a room on the server 116 for all users who want to play instruments with other users in the room.

[0106] The communication module handles single user requests / multi-user requests at the same time. The communication module receives inputs for object recognition and mapping from the client. This module interacts with the internal components of the server 116 and also interacts with external clients. This module is the main interface for users to interact with the server 116. The communication module 120 provides communication services between the users of the system (both the management client and the user client) and the server 116. This module represents a portion of the communication link that resides on the server 116.

[0107] The client module 132 handles centralized services related to the user and is capable of authenticating the user, detecting any user position / orientation changes, and processing continuous user interaction input 138 and generating output 140. A user profile 134 for each user is maintained at the client module 132 for access authentication, session handling, frequent request handling, etc., and a user database is maintained for historical records. The user position detector registers the user's physical position or orientation for each user, and any changes in the parameters are immediately fed to the synthesis module for perspective changes included in the synthesized music output. Since the parameters have not changed, no changes are fed to the perspective sound generation. The user interaction input 138 interacts with the drawn pattern on the client device and continuously updates the server 116 with its input. For each input from the client device, a corresponding sound is generated, and an octave unlock will occur for the new octave input. The user interaction output 140 is used for user interaction and causes the sound file to be unlocked by the server 116 and shared by the server 116 with the client device. In addition, the synthesized output according to the perspective-based position / size parameters is shared with the user. Therefore, the user always listens to the perspective-based sound on the user's sound output medium.

[0108] According to an embodiment of the present disclosure, the server 116 also includes a management module 122 that also includes a sampler 128 to play and record music generated by the sampler 128 module in a multi-user environment. Since each user connected to the room must listen to the same sound generated by the fusion of their respective instruments / objects, the sampler 128 can play and record tracks that will be shared with each of the connected clients at the same time. This module facilitates sampling or synthesis for multi-client request scenarios, where each client simultaneously plays an instrument mapped on the server 116 in a multi-client request scenario. The music created by the user is sampled or synthesized to form a fused music track, just like an orchestra being played, and also handles music generation in a multi-user scenario. The room containing multiple instruments being played by each member of the room being accessed is fused together to create fused music. The users accessing the room listen to the fused music created by the sampler 128 on their respective devices through the communication module 120.

[0109] According to an embodiment of the present disclosure, the mapper module 126 performs object recognition by pattern matching. When a pattern is received from a client, the mapper module 126 attempts to match the received object pattern with the pattern of a predefined object. Since there may be multiple objects in the preprocessed image received by the server 116, the mapper module 126 identifies the number of objects. On the server 116 side, when each received object successfully matches the predefined pattern, the server 116 identifies the musical instrument or object and sends the corresponding music file to the user. The user can also draw a pattern, wherein, for the pattern, the mapper module 126 identifies whether it is an extension of the pattern already drawn or a new pattern of a new object. Therefore, either octave unlocking occurs, or new object music is shared with the client. The mapper is also responsible for the perspective sound input to the synthesizer 124, because it processes the input image and identifies each object, and also assigns position and size sequence parameters to each identified object. In addition, the size sequence shows the order of the objects in descending order of the relative size of the identified objects. Therefore, when drawing and drawing each object, their sizes are relatively compared, and a sequence number is assigned to each object. Thus, sequence number 1 will have a prominent sound in the synthesized music track compared to an object with sequence number 2, wherein, in order, an object with sequence number 2 will have more prominence than an object with a greater sequence number thereafter. The assigned sequence order changes continuously as more objects are added to the drawing and their relative comparison with other objects drawn on the drawing area. The position sequence maps the identified objects relative to the center reference point on the xy axis. Thus, when drawing and drawing each object, their relative positions are relatively compared and the center reference point is calculated, wherein the center reference point in turn determines the relative position of each object relative to the center position on the xy axis. Thus, a relative value is assigned to each object that will have a perspective-based directional sound in the synthesized music track. Thus, an object drawn at position sequence 4 will have a more prominent output from the right channel of the sound output device compared to an object with position sequence 0, and an object from position sequence -4 will eventually have a prominent sound on the left channel, wherein an object with position sequence 0 will have an equal output at both the left and right channels. The assigned sequence order keeps changing as more objects are added to the drawing and their relative comparison to other objects drawn on the drawing area. Position sequences are assigned relative to a reference point at the center of the captured frame and the relative position of each identified object relative to the reference point. The storage module stores the generated music corresponding to each user and also stores the profile data of each user for future caching. For multi-user, it stores the sampled music from each client.

[0110] In an embodiment of the present disclosure, a user-drawn pattern on a surface will be detected by an intermediate object recognizer device, which may include a head-mounted device with a camera sensor, a wrist-mounted device with motion detection, a camera, a pen, etc. The drawn image is then mapped with one of a predefined set of musical instruments or specific object sounds (such as a flowing river, a chirping bird, or a background soundtrack) according to the drawn pattern. All these sounds are generated in real time. Therefore, the user will have a real-life experience while drawing and listening to the mapped generated sounds. The user can also delete or replace the drawing to remove the generated sounds. The server (116) with all the predefined objects and their corresponding sounds will communicate with the user's device in real time. Therefore, the instrument is mapped to the middle octave, and if the user wants to generate sounds from lower notes, he must draw the lower part of the instrument. When the user draws the right octave, the right octave will be mapped on the server 116. The keys pressed and played by the user will be mapped to one of the keys or strings of the actual size instrument on the server 116 side in the background. The user listening to the sound from the server 116 will adjust his fingers by pressing accordingly and the notes will be calibrated accordingly. Any further extension of the mapping should include other octaves / keys / strings of the instrument.

[0111] Figure 2 An object multiplexing architecture according to an embodiment of the present disclosure is shown.

[0112] Reference Figure 2 , an object multiplexing architecture 200 is shown, wherein each input given to an instrument is mapped to a single instrument / multiple instruments simultaneously. For example, if a user has drawn 3 instruments identified as piano, flute and drums, and all instruments are enabled, a single interaction with the piano should result in output generated by both the flute and drums. In addition, if the piano is disabled, the sounds of the enabled instruments (such as drums and flutes) will be generated based on the input notes given to the piano. Each input to an instrument is mapped one-to-one to the octave keys of all instruments. In the note mapper module 204, each input to an instrument is mapped to one or more instruments based on the current mode of the instrument. Therefore, a single input can generate outputs from multiple instruments that are being played for all input key notes. The input mapper sends the input note to each enabled instrument, and accordingly, the instrument key note information of each instrument is sent to the sound mixer 210.

[0113] The sound mixer 210 generates note sounds based on the input keys of each instrument. Each sound mapped with the input is mixed by the sound mixer 210 to generate a single track of music. The synthesizer 124 fuses the sound key notes of each instrument and generates a single music track played at the output device of the client.

[0114] Figure 3is a flow chart illustrating the creation and synthesis of music according to an embodiment of the present disclosure.

[0115] Reference Figure 3 , flowchart 300 shows various processes that illustrate the operation of the device. Process 1 includes drawing an image, capturing a printed image, etc. at operation 304. Predefined objects are linked to the printed image or hand-drawn pattern according to the user's preference. Process 2 includes object recognition, object position recognition module 306 and object mapping module 308, wherein process 2 involves sending a trigger 310 along with the pre-processed image to the server 116 through the object position recognition module 306. For object recognition, the server 116 identifies each object in the received image through pattern recognition. Upon successful matching, the server 116 sends back the identified object and all its attribute information to the client. The object position recognition module 306 identifies the relative position of each object and maps it for perspective sound generation. The object mapping module 308 identifies objects that are mapped to unique entities (e.g., musical instruments, animals, birds, or physical objects such as rivers) based on the input.

[0116] According to an embodiment of the present disclosure, further processing includes processing 3, wherein processing 3 includes user interaction and sound generation based on user interaction input 138, and sound generation based on interactive input on enabled musical instruments. Sound generation also involves processing 3a for input interaction 312 and instrument mapping 314, that is, after successful recognition and mapping of a hand-drawn pattern or printed object, the input is mapped to a single or multiple musical instruments. Based on the current state of the musical instrument (i.e., enabled / disabled) and the current interactive object, each input key can be mapped to a single or more musical instruments, and processing 3b includes multiplexing inputs sent to the server 116 for sound generation (sent to the server 116 for mixed interactive output 332).

[0117] According to another embodiment of the present disclosure, process 4 shows that the server 116 receives the interaction input and the user position input, synthesizes the music with all the input instrument / object sounds, and outputs the synthesized music to the user device (e.g., speaker or headphones 206). In addition, process 5 shows the user relative position detection including user relative position update and mapping information. The user relative position update identifies the perspective input from the user to the server 116 based on the user's head movement and the relative position of the drawn object. In addition, the user relative position update and mapping information update the user position when any change in the user position is detected, and synthesizes the perspective-based music sound and sends it back to the user.

[0118] Figure 4 A system architecture of a digital device for detecting any object on a surface according to an embodiment of the present disclosure is shown.

[0119] Reference Figure 4, the block diagram 400 of the device includes: a processor 412 for running system instructions; a memory 414 for storing executable applications, APIs, middleware, and kernels; an application control module for managing running applications; an input / output interface for interacting with a user; a communication module 402 for communicating with other devices (paired or connected devices) or remote servers; a display module 406 for displaying visual information; an interface 408 for connecting with other devices; a virtual assistant (VA) module 426 for receiving input according to commands given through a microphone and processing the input to recognize object drawing requests. In the device, there are multiple sensors in the sensor module 410, wherein the sensor module 410 sends a trigger to the device when various inputs such as touch, motion detection, gesture recognition, etc. are detected. The power module 430 keeps checking the power management. The camera module 424 captures images even under a trigger from the sensor. If necessary, the interface module pairs the device with other inputs.

[0120] According to an embodiment of the present disclosure, the communication module 402 is an interface between a user device and a remote server. The user device communicates with the server 116 in real time. For each trigger sent by the sensor module 410 on the user side, the communication module 402 sends the pre-processed image data and the user's position data to the server 116 for pattern recognition, object mapping and perspective sound synthesis. Upon successful mapping, the communication module 402 receives the sound data stored in the memory 414 from the server 116. For any input received by the input device 404, if the input is completely within the unlocked portion of the mapped object, it uses the music data stored in the memory 414 and does not need to be connected to the server 116, or it communicates with the server 116 to send other music data that is currently unavailable to the user device. The various communication means used include Wi-Fi, cellular, etc.

[0121] The sensor module 410 receives the device position and orientation from various sources such as gyro sensors, acceleration sensors, etc. The device position depends on the user's head position, and therefore as the user's head moves, the device's position parameters also change. Therefore, the position parameters are updated on the server 116 side when they are changed. The server 116 synthesizes the output sound with the user's perspective parameters added to the sound of the musical instrument based on the position parameters. For example, a person is playing a piano, and a guitar is drawn to the right of the piano. Therefore, based on the position, the perspective sound should be heard from the speaker or headphones 206 in the same manner. When the person moves his head toward the right, the perspective sound makes the sound of the guitar stand out more than the sound of the piano.

[0122] The audio module 422 connected to the speaker 416, the receiver 418 and the microphone 420 receives the perspective sound from the server 116 based on the relative position and size of each object in the mapped objects drawn on the surface, wherein the mapped objects are marked with their respective audio streams. Therefore, when the output audio stream is fed to the different channels of the speaker or earphone 206 to produce a surround sound effect, the perspective sound is generated. For example, consider drawing a trumpet on the left side of the piano and drawing a guitar on the right side of the piano. The sound should be heard from the speaker or earphone 206 in the same way. Now, considering that the drawn guitar is smaller than the piano, it will be considered as a relatively farther sound, and the piano drawn larger than the size of the guitar will be heard more prominently in the output on the speaker 416.

[0123] In an embodiment of the present disclosure, the camera module 424 captures an image in front of the device, wherein the image includes a hand-drawn pattern or a predefined template. The object mapping module 110 receives input parameters based on the relative position and size of each mapped object. Therefore, the relative position of each object and its position parameters help to increase perspective sound generation.

[0124] The VA module 426 receives input based on commands given through the microphone 420 and processes the input to identify object drawing requests. Based on the commands given by the user, the VA draws objects on the screen in the form of musical instruments or any background objects. The user also gives input about the position of the drawn object within the frame relative to other objects in multiple instrument scenes. The user can also give a command to stop drawing and can interact with partially drawn objects at any time.

[0125] According to another embodiment of the present disclosure, the memory 414 stores the pre-processed image data until the pre-processed image data is identified by the server 116 and mapped with the object. The mapped object is stored in the memory 414 together with its corresponding music file, and if the stored data exists in the local memory, any future reference to the stored data can be directly accessed. Optionally, the server 116 is referenced. If the user's position data and the object relative position data have not changed, the perspective sound is directly referenced from the stored data. The server 116 triggers the updated music data when it detects a change in the relative size or position of any object or a change in the position / orientation of the user. Each input to the object is mapped with a single object or multiple objects, so the mapping data is also stored in the memory 414. The synthesized music is played on the device and can also be stored when recorded and can be replayed thereafter.

[0126] In an embodiment, the operation associated with the music sampler element includes the detection of hand motion, wherein the detection of hand motion also includes the user wearing a device equipped with a motion sensor, and any motion in front of the user is detected by the device. The proximity sensor and the motion sensor can jointly detect the motion in front of the device. In addition, the element includes the detection of objects drawn by hand, wherein, if the drawing is done on paper or any other non-digital surface, the motion detection signal is sent to the camera module 424 to shoot and pre-process any objects drawn on the surface. Pattern recognition occurs on the server 116 side. Therefore, the camera only sends the pre-processed image to the server 116 for object detection and mapping. The detected object can be a musical instrument or a background environment for atmosphere creation. The properties of the generated ambient sound should be based on the position of the object in the drawing, for example, a closer object will be prominent in the sound compared to a farther object. The object on the left will be more audible on the left hand side of the speaker or earphone 206, and the same is true for the right object. The figure drawn on the digital surface has a predefined pattern stored in the device. Therefore, the image of the pattern can be shared directly with the server 116.

[0127] In addition, the mapping of the drawing pattern to one of the predefined musical instruments includes that the server 116 receives an image from the user. The image includes a hand-drawn pattern of an object. The server 116 checks with its predefined object database whether it matches one of the objects, and completes the mapping of the middle octave of the part of the object identification and the drawn musical instrument. When the musical instrument is successfully detected, the server 116 checks whether a part of the musical instrument is drawn, and in the case where the part is drawn, the server 116 sends the music file corresponding to the middle octave of the drawn musical instrument. In order to map the entire musical instrument, the drawing should contain all octaves, and if the entire musical instrument is detected to be drawn, the entire note file is shared with the user. For any other object (such as a river, a bird, etc.), the corresponding music file is shared. In order to generate one of the mapped notes on the audio device, music is generated corresponding to the drawn musical instrument, and further, the process is continuously repeated each time the user interacts with the drawn pattern.

[0128] Figure 5AA mapping 500 of a drawing pattern to a predefined object is shown. A user draws a partial shape of an object (preferably a musical instrument), and as the user draws the shape of the object, an intermediate object identifier device (including a camera, a smart phone, smart jewelry such as a camera-enabled smart pendant, a smart pen, etc.) sends information of the drawn shape to a server 116, wherein the server 116 is capable of recognizing the drawn shape according to the predefined object. The server 116 sends a confirmation to the user's intermediate object identifier device, wherein the confirmation confirms whether the object is recognized. In the event that the object (e.g., a guitar, a piano, background sounds, etc.) is recognized, the user can interact with the recognized device when the server 116 maps the recognized device to the predefined object. However, in the event that the object is not recognized, the user can continue to draw the shape while the intermediate object identifier device keeps tracking the object being drawn in real time.

[0129] According to an embodiment of the present disclosure, once the intermediate object identifier device identifies the object, the intermediate object identifier device starts sending information of the drawn shape to the server 116, and the server 116 identifies the drawn shape and maps the drawn shape to a predefined object, and unlocks all octaves of the drawn instrument. For example, if the user draws a guitar, the server identifies the object and maps it to a predefined object, such as a guitar. The user starts interacting with the guitar. Subsequently, an object such as a guitar is then mapped to a predefined object, and the server 116 unlocks all octaves of the instrument. The user can interact with the instrument and synthesize music from the instrument. The instrument provides the user with a real-life playing experience.

[0130] Figure 5B The unlocking of the octave according to an embodiment of the present disclosure is shown.

[0131] Reference Figure 5B , the user draws the middle octave of the keyboard / piano on an electronic / non-electronic or digital surface to unlock the musical octave 502. The user partially draws a few keys on the surface, and the server 116 recognizes the drawn object and maps it to a predefined instrument. Then, the middle octave of the keyboard / piano, i.e. (C4-C5) 1gestreept, is unlocked. Once the mapping is complete, the user interacts with the instrument.

[0132] According to an embodiment of the present disclosure, the user then draws the left octave of the musical instrument (electronic keyboard), that is, the left octave of the middle octave C4-C5 (1 gestreept). Once the octave is unlocked, the user can play music and create a music track on the instrument.

[0133] According to an embodiment of the present disclosure, the user also draws the right octave of a musical instrument (e.g., an electronic keyboard), that is, the right octave of the middle octave. The user draws the right octave, and the device is able to recognize the octave in real time. Once the octave is recognized, it is unlocked and mapped to the right octave of a predefined musical instrument. The user can create a complete music track with the entire instrument unlocked.

[0134] Figure 5C A user is shown interacting with multiple musical instruments according to an embodiment of the present disclosure.

[0135] Reference Figure 5C , when multiple musical instruments 504 are displayed, the user draws an electronic keyboard along with a guitar, a flute and a drum. The musical instruments are mapped to predefined objects 130, such as an electronic keyboard, a guitar, a flute and a drum, using a mapper module 126. The octaves of these musical instruments are unlocked in real time by the mapper module 126 in this process. Based on the size and position of these musical instruments, the musical instruments are numbered 1, 2, 3 and 4 accordingly (e.g., based on size, 1: drums, 2: electronic keyboard, 3: guitar and 4: flute), and the mapper module 126 assigns a size sequence and a position sequence based on the size and position of the mapped musical instruments. Once all musical instruments are mapped and the octaves are unlocked in the same way, the user interacts with the musical instruments, and the musical instruments produce sounds based on their size, positioning and position. In the case where the user interacts with the guitar, he will receive the sound from the upper left, that is, the sound on the left will be more prominent, while the flute will produce the sound from the lower left, which will be less prominent than the sound of the flute. Therefore, the sound is based on the perspective position of the device, and the volume is based on the size and position. Therefore, a larger drawn object will produce a louder sound, and a smaller drawn object will produce a lower volume.

[0136] Figure 5D Shown is a mapping of multiple musical instruments according to an embodiment of the present disclosure.

[0137] Reference Figure 5D , the user maps multiple instruments to create a symphony, where he maps an electronic keyboard, drums, and flute. The device labels these instruments as 1, 2, and 3 based on size, and thus the positions of these instruments are also mapped.

[0138] According to an embodiment of the present disclosure, the user knows how to play the electronic keyboard, but does not know how to play drums and flute. Therefore, he can enable all controls to multiple musical instruments 506, wherein multiple musical instruments 506 include drums and flute on the electronic keyboard. Therefore, the electronic keyboard will be an interactive object, and drums and flute will be enabled. The note mapper module in the server 116 maps all notes of drums and flute to the electronic keyboard, and unlocks all octaves of drums and flute on the electronic keyboard according to the position of the musical instrument. The enabled musical instrument can also be disabled according to the user's wishes. With the help of the intermediate object identifier device, the user can input interaction to the placed musical instrument. For example, the user can input interaction in the middle octave to play the sound of the electronic keyboard, input interaction in the left octave to generate the sound of drums, and input interaction in the right octave to generate the sound of flute. Therefore, based on the position and size of the musical instrument, a perspective sound is generated, and the user can generate the sound of both drums and flute only by interacting with the electronic keyboard.

[0139] Figure 5E Octave mappings for multiple musical instruments are shown according to embodiments of the present disclosure.

[0140] Reference Figure 5E , showing octave mapping on multiple musical instruments 508. That is, when the user does not know how to play drums and flute and can only play the electronic keyboard, the user can provide all controls for drums and flute on the electronic keyboard.

[0141] In an embodiment of the present disclosure, the user marks "Tag 1 object (electronic keyboard)" as an "interactive object", and then marks "Tag 2 and Tag 3 objects (drums and flute)" as "enabled instruments". The note mapper module 204 in the server 116 maps all octaves of drums and flute on the electronic keyboard according to their positions and unlocks all octaves. Similarly, the left octave is unlocked and mapped to the drum, the right octave is unlocked and mapped to the flute, and the middle octave is unlocked for the electronic keyboard. When an interactive sound of the corresponding note in the enabled object should be generated by using the interactive object or instrument, the enabled instruments (drums and flute) have an enable / disable mode.

[0142] According to an embodiment of the present disclosure, a user can play / interact with "Tag 1 object (electronic keyboard)", and generate the sound of "Tag 1 object (electronic keyboard)" by interacting with the middle octave, and generate the sound of "Tag 2 object (drum)" by interacting with the left octave of the electronic keyboard, and generate the sound of "Tag 3 object (flute)" by interacting with the right octave of the electronic keyboard. Although the user only interacts with the electronic keyboard drawn in the center of the page, due to the mapping of its octave notes with the notes of multiple instruments, such as the left octave mapping with the drum, the right octave mapping with the flute, and the middle octave being unlocked for the electronic keyboard, when the user interacts with the keys of the electronic keyboard, the application generates the sounds of the drum, the electronic keyboard, and the flute, and based on the positions and sizes of the drum, the electronic keyboard, and the flute, a perspective sound effect can be generated. The drum is drawn on the left side of the page, so the user gets the sound of the drum from the left. The flute is drawn on the right side of the page and has the smallest size, so the sound is generated accordingly. The electronic keyboard is drawn in the center of the page and is larger in size, and the app generates sounds based on the position and size. Thus, users can create a live symphony by using multiple instruments.

[0143] Fig. 5F A mapping of notes to shapes for a musical instrument according to an embodiment of the present disclosure is shown.

[0144] Reference Fig. 5F , when the user does not know how to play a musical instrument, the user can map the musical instrument's notes to shapes 510 and can interact with them to play and learn the instrument. The user can draw a guitar and shapes (i.e., the guitar's notes are loaded as shapes). In this way, the user can touch the shapes that have been mapped to the guitar's notes, so when the user touches the shape, the output sound is the sound of the guitar, allowing the user to learn and play the guitar.

[0145] Figure 5G A mapping of notes of an instrument to loaded shapes is shown according to an embodiment of the present disclosure.

[0146] Reference Figure 5G When the user does not know how to play the electronic keyboard, the user can load some shapes 512 to be mapped to the electronic keyboard notes and unlock the octaves of the mapped shapes. After mapping, the user starts playing the electronic keyboard by touching the loaded shapes. Since the loaded shapes are mapped to the electronic keyboard notes, when the user touches the mapped shapes, the electronic keyboard sounds are generated.

[0147] Fig. 6A Perspective-based sound generation according to an embodiment of the present disclosure is shown.

[0148] Reference Fig. 6A, the size sequence shows the order of the identified objects for perspective-based sound generation 600 in descending order of their relative size. Thus, as the various objects are drawn, their sizes are relatively compared and a sequence number is assigned to each instrument. Thus, sequence number 1 will have a prominent sound in the composite music track compared to sequence number 2 object, which in turn will have more prominence than instruments with larger sequence numbers thereafter. The assigned sequence order continues to change as more objects are added to the drawing and their relative comparison to other objects drawn on the drawing area.

[0149] According to an embodiment of the present disclosure, the position sequence maps the identified objects relative to the center reference point of the identified objects in the xy axis. Therefore, when drawing the various objects, their relative positions are relatively compared and the center reference point is calculated, which in turn determines the relative position of each object relative to the center position on the xy axis. Therefore, a relative value is assigned to each object that will have a perspective-based directional sound in the synthesized music track. Therefore, compared to the position sequence 0 object, a flute drawn at position sequence 4 will have a more prominent output from the right channel of the sound output device, and the object from position sequence -4 will eventually have a prominent sound on the left channel, where the position sequence 0 object will have an equal output at both the left and right channels. The assigned sequence order continues to change as more objects are added to the drawing and their relative comparison with other objects drawn.

[0150] Figure 6B An example of perspective sound generation based on the size and position of a musical instrument according to an embodiment of the present disclosure is shown.

[0151] Reference Figure 6B Once the musical instruments 602 (e.g., violin, saxophone, and keyboard) are mapped using the mapper module 126, the user interacts with them and the user generates a perspective sound effect based on their size and position, which is also assigned by the mapper module 126. For example, based on the position and size of the object / instrument, if the user plays a violin, the sound appears to be generated from the upper left side of the device, which means that the sound on the left side of the device will be more prominent; and if the user plays a saxophone, the sound appears to be generated from the upper right corner, which means that the sound on the right side of the device will be more prominent. When the user interacts with the keyboard placed in the center of the device, the sound received is louder than the other instruments due to its larger size. Therefore, the instrument plays a perspective sound effect based on its size and position.

[0152] Figure 6C The diagram shows the mapping of multiple objects to predefined objects on a server according to an embodiment of the present disclosure.

[0153] Reference Figure 6C , mapping multiple objects 604 based on the drawing. For example, the user wants to create a symphony using different objects such as a river, a blowing wind, a peacock sound, and a tambourine sound, where the tambourine is a membranous percussion instrument. The user draws a rainy scene using paper and a camera-enabled pen 606, and in the scene, the user also draws an image of a river flowing from the right to the left. In addition, the user draws a tree on the right side of the page, and the tree looks like it is bent to the right due to the strong wind. The user also draws a tambourine on the right side of the page. The camera-enabled pen 606 sends the information of the drawn object to the server 116, where the server 116 recognizes the drawn object and maps the object to a predefined object such as rain, cloud, river, tree in the wind, and tambourine.

[0154] Fig.6D Perspective sound generation based on user position according to an embodiment of the present disclosure is shown.

[0155] Reference Fig.6D Once the mapping process 608 of the user's position is completed, the user starts listening to the sound of rain in his ear-worn device, and at the same time, the river starts making water perspective sound effects according to the direction in the drawing. As such, the sound effect is perceived as going from far to near as shown in the image, and as such, the user perceives sound effects in his ear-worn device like strong wind blowing from left to right and the sound of leaves.

[0156] According to an embodiment of the present disclosure, after the mapping process, the octaves of the hand drum are unlocked, so it is now ready to be used as an actual hand drum. Now, the user starts playing / interacting with the hand drum through his hands / fingers, and its sound starts to merge with the sounds of rain, wind, trees, and river. When the user starts playing the hand drum, the user receives the perspective-based sound of the hand drum, where the hand drum is drawn on the right side of the page. In this example, the user receives directional perspective sound from the hand drum from the right side of his ear-worn device. The user records and saves the perspective music effects and beats of the rain, river, wind, and hand drum.

[0157] Fig. 7A Perspective sound generation based on user relative position according to an embodiment of the present disclosure is shown.

[0158] Reference Fig. 7A, a user wears a head mounted device and listens to music from multiple instruments based on perspective sound generation 700. If the user wants to listen to the perspective sounds of multiple instruments (e.g., piano and saxophone) relative to the relative position of his head, the user uses a virtual reality (VR) device or a head mounted device, etc., wherein the virtual reality (VR) device or the head mounted device, etc. provides virtual object mapping and 3D positioning of the instruments (e.g., saxophone and piano). Then, the user starts to interact with the piano and the saxophone on the left side of the piano, and thus the perspective sound will be heard from the speaker according to the interaction input.

[0159] Figure 7B An example of perspective sound generation based on the relative position of a user according to an embodiment of the present disclosure is shown.

[0160] Reference Figure 7B , example 702 shows that a user wears a head mounted device and is able to detect the relative position of the user with the aid of sensors when the user moves his head in the direction of a piano. When the head mounted device detects such movement, the relative position of the user to the device is detected with the aid of the sensors. Thus, the perspective sound makes the piano sound stand out more than the saxophone sound.

[0161] Figure 7C An example of perspective sound generation based on the relative position of the user's head and the head mounted device according to an embodiment of the present disclosure is shown.

[0162] Reference Figure 7C , example 704 shows that the head mounted device is able to detect motion with the aid of sensors and identify the relative position of the user relative to the musical instruments on the device. When the user turns his head from the left side to the right side, the device detects and identifies the relative position of the user with the aid of sensors. Thus, the perspective sound makes the sound of the saxophone stand out more than the sound of the piano.

[0163] Fig. 8A Mapping of printed images of musical instruments to predefined musical instruments according to an embodiment of the present disclosure is shown.

[0164] Reference Fig. 8A , the user holds a printed template of a musical instrument (e.g., an electronic keyboard on paper) 800, and an intermediate object identifier device (e.g., a head-mounted augmented reality device) sends the captured image / information to the server 116. The server 116 is configured to recognize the printed template of the musical instrument and map it with a predefined object (such as an electronic keyboard), and also unlock all its octaves. Once the octave unlocking process is completed, the user starts interacting / playing the musical instrument.

[0165] Figure 8B A user is shown interacting with a printed template of a musical instrument according to an embodiment of the present disclosure.

[0166] Reference Figure 8B Once the mapping of the printed template to the instrument is completed by the server 116 and the octave is unlocked, the user can interact with the printed template of the instrument 802. The interaction with the printed template will provide the user with a truly immersive experience of playing the instrument.

[0167] Fig. 9A A mapping of printed images of musical instruments according to an embodiment of the present disclosure is shown.

[0168] Reference Fig. 9A , the user prints the image 900 of the musical instrument on paper. An intermediate object identifier device including a head mounted augmented reality (AR) device using an object mapping module 110 sends information of the printed image of the musical instrument to a server 116. The server 116 identifies the device and maps it with a predefined object using a mapper in a management module 122. The mapper unlocks the octave of the musical instrument according to the user's requirements after mapping the instrument. The user interacts with the musical instrument mapped on the device using a user interaction input 138 in a client module 132, and for each input, a corresponding sound is generated. When the user interacts with the mapped musical instrument, the sound generator module 112 generates a sound based on the user's input.

[0169] Fig. 9B Shown is the mapping of multiple musical instruments on a device according to an embodiment of the present disclosure.

[0170] Reference Fig. 9B , multiple musical instruments 902 can be played. According to an embodiment of the present disclosure, a user using an intermediate object identifier device (e.g., a head-mounted AR device) recognizes a printed image of an electronic keyboard on the device. The electronic keyboard is mapped on the device and is capable of generating music based on the user's input. The user is also able to combine another device (e.g., a saxophone) with the electronic keyboard to generate a symphony using multiple instruments. The user initiates by drawing a saxophone on paper, and the motion detection module 108 (i.e., the head-mounted AR device) sends the scene information to the object mapping module 110. The object mapping module 110 sends the information of the pre-processed image to the server 116, which in turn recognizes the object and sends the information to the object mapping module 110 that maps the object. All octaves of the saxophone are unlocked, and the user can now interact with the saxophone and will generate sounds from this instrument. The recording and playback module 104 within the device is capable of recording and replaying sounds / symphonies that have been played. Since the user has played the sound of the keyboard and also played the sound of the saxophone, the two sounds of the instruments can now be fused to form a single symphony.

[0171] According to an embodiment of the present disclosure, users can also add objects such as background objects (including flowing rivers, chirping birds, wind, etc.). Users can also add musical instruments with printed images, text, drawn images, etc. The music generated from all these instruments and objects will be fused to create a single music track / symphony. The music creation technology from multiple instruments or objects provides users with perspective sound effects and immersive experience.

[0172] Fig. 10A A user is shown interacting with a VA to map an instrument in accordance with an embodiment of the present disclosure.

[0173] Reference Fig. 10A , the user provides a voice command to the VA to draw a violin on the device. The VA draws the violin by sending the user's request to the server 116 and maps the instrument to a predefined object. The octave of the instrument is also unlocked in real time.

[0174] According to an embodiment of the present disclosure, the VA module is configured to receive voice commands given through a microphone and process the input to recognize object / instrument requests. The user can also give a command to stop drawing the entire instrument / object, and can interact with a partially drawn instrument.

[0175] According to an embodiment of the present disclosure, the user may reduce or increase the size of the musical instrument mapped on the device, and may also rearrange the position and location of the device which will affect the position sequence and size sequence of the device.

[0176] Fig. 10B A user is shown interacting with a VA to map another instrument in accordance with an embodiment of the present disclosure.

[0177] Reference Fig. 10B According to an embodiment of the present disclosure, the user provides a voice command to the VA 1002 to map another instrument, for example, a saxophone. The VA draws the saxophone by sending the user's request to the server 116 and maps the instrument to a predefined object. The octave of the instrument is also unlocked in real time.

[0178] According to an embodiment of the present disclosure, users can adjust and rearrange musical instruments mapped on the device according to their requirements and preferences.

[0179] Fig. 10C A user is shown positioning and scaling / resizing multiple musical instruments mapped on a device according to an embodiment of the present disclosure.

[0180] Reference Fig. 10C, once the musical instrument 1004 is mapped, the user can reposition and rescale the mapped musical instrument. For example, the user has mapped the violin and saxophone on the same device, so the user can reduce the two instruments and reposition them on the same device. The user positions the violin in the upper left corner of the device based on the requirements and reduces it to a smaller size. In addition, the user repositions the saxophone in the upper right corner of the device and repositions it to present it smaller than the violin on the device. The mapper module 126 can assign a position and size sequence to each identified object, that is, the identified musical instrument, (violin and saxophone). Based on size and position, the violin is marked as 1, and the saxophone is marked as 2.

[0181] Fig. 10D A user is shown interacting with a VA to map another object according to an embodiment of the present disclosure.

[0182] Reference Fig. 10D , after mapping 1006 the violin and saxophone on the device, the user also interacts with the VA to add the electronic keyboard. To initiate the mapping of the electronic keyboard, the user provides a voice command to the virtual assistant to add the electronic keyboard. The VA draws the electronic keyboard by sending the user's request to the server 116 and maps the instrument to the predefined object. The octave of the instrument is also unlocked in real time.

[0183] According to an embodiment of the present disclosure, users may reposition and rescale / resize mapped objects / instruments on a device according to their requirements and preferences.

[0184] Fig. 10E A user is shown repositioning and interacting with three mapped instruments in accordance with an embodiment of the present disclosure.

[0185] Reference Fig. 10E , the user maps three objects (e.g., three musical instruments) to the same device, and the user can reposition and resize the mapped musical instruments according to their preferences. The user repositions 1008 the electronic keyboard in the middle of the device to maximize its size. The violin and saxophone are repositioned in the upper left and upper right corners, respectively, and the size of the violin is larger than the size of the saxophone. Therefore, based on the size, the musical instruments are numbered, that is, the electronic keyboard is 1, the violin is 2, and the smallest saxophone is marked as 3.

[0186] According to another embodiment of the present disclosure, when a user interacts with a mapped object (i.e., an electronic keyboard, a violin, and a saxophone), one by one, or two objects, or together, the generated sound is based on perspective. Perspective sound is generated based on the size and position of the instrument. For example, when a violin sound is generated, the sound on the left will be more prominent than the sound on the right. However, in the case where the user interacts with both the violin and the saxophone, the sound from the violin on the left will be louder and more prominent than the sound of the saxophone. Therefore, if the user is interacting with the violin and the electronic keyboard, the sound from the electronic keyboard will be prominent in the middle and will also be louder than the sound of the violin.

[0187] According to an embodiment of the present disclosure, the instruments are labeled 1, 2, 3, ..., etc. by the mapper module 126. The mapper module 126 assigns a position and size sequence to the mapped objects. In addition, the mapper module 126 is also responsible for perspective sound input.

[0188] While the present disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.

Claims

1. A method for generating sound by an electronic device, include: Obtaining at least one image, wherein the at least one image includes a plurality of objects corresponding to a plurality of musical instruments, respectively, the plurality of musical instruments including a first musical instrument and a second musical instrument, wherein the at least one image obtained includes at least one of a hand-drawn image, a printed image, an image template, a digital surface pattern, a digital format image, or at least one text; mapping the plurality of objects to the plurality of musical instruments, respectively; displaying the plurality of objects on a display of the electronic device; identifying a user input associated with a first object of the plurality of objects corresponding to a first musical instrument, wherein the user input is mapped to an octave key of the plurality of musical instruments based on the plurality of musical instruments being enabled; and A sound is generated based on the user input, wherein the sound includes a first sound of a first instrument and a second sound of a second instrument.

2. The method according to claim 1, in, The at least one image further includes at least one non-instrumental instrument object, and the sound further includes a third sound of the at least one non-instrumental instrument object.

3. The method according to claim 1, in, The sound is generated based on at least one of a position, an orientation, or a size of the plurality of objects.

4. The method according to claim 1, further comprising: include: preprocessing the at least one image; sending the at least one preprocessed image to a server; and Information about the plurality of objects in the at least one image is received from a server.

5. The method according to claim 1, further comprising: include: receiving a second input for adjusting at least one of a size or a position of the first object, Wherein the sound is also generated based on at least one of a size or a position of the first object.

6. The method according to claim 1, further comprising: include: receiving position data from a head mounted display; and determining an orientation of a head mounted display relative to the electronic device, The sound is also generated based on the orientation of the head mounted display.

7. The method of claim 1, further comprising: include: receiving a voice command for adding an object, The sound further includes a third sound of at least one third musical instrument associated with the added object.

8. An electronic device for generating sound, include: monitor; Transceiver; at least one processor, and A memory storing instructions, wherein when the instructions are executed by the at least one processor, the electronic device performs the following operations: obtaining at least one image, wherein the at least one image includes a plurality of objects corresponding to a plurality of musical instruments, respectively, the plurality of musical instruments including a first musical instrument and a second musical instrument, wherein the at least one image obtained includes at least one of a hand-drawn image, a printed image, an image template, a digital surface pattern, a digital format image, or at least one text; mapping the plurality of objects to the plurality of musical instruments respectively; displaying the plurality of objects on a display of the electronic device; identifying a user input associated with a first object of the plurality of objects corresponding to a first musical instrument, wherein the user input is mapped to an octave key of the plurality of musical instruments based on the plurality of musical instruments being enabled; and Sounds are generated based on the user input, the sounds comprising a first sound of a first instrument and a second sound of a second instrument.

9. The electronic device as claimed in claim 8, in, The at least one processor is further configured to be operated according to one of the methods of claims 2 to 7.